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

Details

at line 34
__construct($p, $u)

Parameters

$p
$u

at line 41
__isset($k)

Parameters

$k

at line 46
__get($k)

Parameters

$k

at line 68
__call($f, $v)

Parameters

$f
$v

at line 126
icon()

at line 144
string()

at line 149
__toString()

at line 165
__sleep()