Class WFBaseProvider

Description

Base class for Weather Forecast providers

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


	
			
Direct descendents
Class Description
WFXMLProvider Base class for Weather Forecast providers using XML feeds
Method Summary
float c2f (float $value, [mixed $precision = 0])
float f2c (float $value, [mixed $precision = 0])
void init ( $params,  $symbols)
float mph2kph (float $value, [mixed $precision = 0])
Methods
c2f (line 68)

Converts degrees Celcius degrees Farenheight to

  • return: The converted value
float c2f (float $value, [mixed $precision = 0])
  • float $value: The value to convert
  • mixed $precision: Precision of the result
f2c (line 80)

Converts degrees Farenheight to degrees Celcius

  • return: The converted value
float f2c (float $value, [mixed $precision = 0])
  • float $value: The value to convert
  • mixed $precision: Precision of the result
init (line 50)
  • var: Units for display. C=metric, F=imperial
void init ( $params,  $symbols)
  • $params
  • $symbols
mph2kph (line 91)

Converts mph to kph

  • return: The converted value
float mph2kph (float $value, [mixed $precision = 0])
  • float $value: The value to convert
  • mixed $precision: Precision of the result

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