CurrentWeather
class CurrentWeather
Provides simple interface for reading and generating information on current weather conditions.
Current valid properties are: - temp, temperature, temperatureF - int the temerature in Fahrenheit - tempC, temperatureC - int the current temperature in Celsius - url - string forecast link (back to weather.gov) - icon - string simple icon name
Current valid methods are: - isRaining() - bool - isStorming() - bool - isSnowing() - bool - isCloudy() - bool
The class also supports 'toString', so you can echo the class to get a text representation of the current conditions:
echo $currentWeather; \ 'Clear'
Properties
protected | $properties | ||
protected | $url | ||
$created_at |
Methods
__construct($p, $u)
No description
__isset($k)
No description
__get($k)
No description
__call($f, $v)
No description
icon()
No description
string()
No description
__toString()
No description
__sleep()
No description