\Horde_Service_Weather_Station

Horde_Service_Weather_Station class

Summary

Methods
Properties
Constants
__construct()
__get()
__set()
getOffset()
$
$
$
$
$
$
$
$
$
$
No constants found
No protected methods found
$_properties
N/A
No private methods found
No private properties found
N/A

Properties

$

$ : string

name The station's common name.

Type

string

$

$ : string

city The city.

Type

string

$

$ : string

state The state.

Type

string

$

$ : string

country The country's iso3166 name (if available).

Type

string

$

$ : string

country_name The country's common name.

Type

string

$

$ : mixed

tz The timezone name, or offset from UTC depending on the API. @see self::getOffset()

Type

mixed

$

$ : string

lat The lattitude (if available).

Type

string

$

$ : string

lon The longitude (if available).

Type

string

$

$ : string

zip The postal code.

Type

string

$

$ : string

code The internal identifier for the API.

Type

string

$_properties

$_properties : array

Local properties array.

Type

array

Methods

__construct()

__construct(array  $properties = array()) 

Const'r

Parameters

array $properties

The properties for the station.

__get()

__get(string  $property) : mixed

Accessor

Parameters

string $property

The property to return.

Returns

mixed —

The value of requested property.

__set()

__set(string  $property, mixed  $value) 

Setter.

Parameters

string $property

The property name.

mixed $value

The value to set $property to.

getOffset()

getOffset() : integer

Return the CURRENT offset from UTC for this station as provided by the API.

Returns

integer —

The current offset from UTC.