Documentation

Horde_Service_Weather_Period_Taf extends Horde_Service_Weather_Period_Base
in package

Horde_Service_Weather_Period_Taf

Tags
author

Michael J Rubinsky mrubinsk@horde.org

category

Horde

Table of Contents

$  : wind_gust
$  : low
$  : date
$  : icon
$  : icon_url
$  : conditions
$  : rain_total
$  : snow_total
$  : wind_degrees
$  : wind_direction
$  : wind_speed
$  : humidity
$  : period
$  : precipitation_percent
$  : hour
$  : is_pm
$  : high
$_forecast  : Horde_Service_Weather_Forecast_Base
Reference to parent forecast object.
$_map  : array<string|int, mixed>
Property Map
$_properties  : mixed
Properties for this single peridd, as returned from the forecast request.
__construct()  : Horde_Service_Weather_Current
Const'r
__get()  : mixed
Accessor so we can lazy-parse the results.

Properties

$

public wind_gust $

Wind gust speed, in currently configured units.

$

public low $

Forecast low temp, in configured units.

$

public date $

Date for this period.

$

public icon $

Name of condition icon.

$

public icon_url $

Url to a condition icon.

$

public conditions $

Forecast conditions e.g., "Sunny".

$

public rain_total $

Daily rain totals, in configured units.

$

public snow_total $

Daily snow totals, in configured units.

$

public wind_degrees $

Wind direction, in degrees.

$

public wind_direction $

Cardinal wind direction e.g., NNW.

$

public wind_speed $

Wind speed, in currently configured units.

$

public humidity $

Humidity percent.

$

public period $

The cardinal number of this period.

$

public precipitation_percent $

Change of precipitation percent.

$

public hour $

Indicates if this is for an hourly period.

$

public is_pm $

Indicates if this is for an evening period.

$

public high $

Forecast high temp, in configured units.

$_map

Property Map

protected array<string|int, mixed> $_map = array('wind_speed' => 'wind', 'wind_direction' => 'windDirection', 'wind_degrees' => 'windDegrees', 'wind_gust' => 'windGust', 'high' => 'temperatureHigh', 'low' => 'temperatureLow')

$_properties

Properties for this single peridd, as returned from the forecast request.

protected mixed $_properties

Methods

__construct()

Const'r

public __construct(mixed $properties, Horde_Service_Forecast_Base $forecast) : Horde_Service_Weather_Current
Parameters
$properties : mixed

Current properties.

$forecast : Horde_Service_Forecast_Base

The parent forecast.

Return values
Horde_Service_Weather_Current

__get()

Accessor so we can lazy-parse the results.

public __get(string $property) : mixed
Parameters
$property : string

The property name.

Tags
throws
Horde_Service_Weather_Exception_InvalidProperty
Return values
mixed

The value of requested property

Search results