Class WFXMLProvider

Description

Base class for Weather Forecast providers using XML feeds

Reads XML data and provides an DOMXPath object for querying it

Located in /providers/WeatherForecastProvider.php (line 104)

WFBaseProvider
   |
   --WFXMLProvider
Direct descendents
Class Description
BBCWeather BBC Weather data provider
GoogleWeather Google Weather data provider
YahooWeather Yahoo! Weather data provider
Method Summary
void getXPath ()
void read (string $url)
void __get ( $name)
Methods
getXPath (line 153)

Creates a new XPath object from the XML

void getXPath ()
read (line 131)

Reads the URL and puts the content into $this->xml

  • throws: CException if unable to read the URL
void read (string $url)
  • string $url
__get (line 114)
  • var: XML response
void __get ( $name)
  • $name

Inherited Methods

Inherited From WFBaseProvider

WFBaseProvider::c2f()
WFBaseProvider::f2c()
WFBaseProvider::init()
WFBaseProvider::mph2kph()

Documentation generated on Tue, 13 Oct 2009 14:44:51 +0100 by phpDocumentor 1.4.2