PHP Class TimeObjects_Driver_Weather, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/)
Author: Michael J Rubinsky ([email protected])
Inheritance: extends TimeObjects_Driver_Base
Exibir arquivo Open project: horde/horde

Protected Properties

Property Type Description
$_forecastDays
$_location

Public Methods

Method Description
__construct ( array $params )
ensure ( ) : boolean Ensures that we meet all requirements to use this time object
listTimeObjects ( Horde_Date $start = null, Horde_Date $end = null ) : array

Protected Methods

Method Description
_create ( ) : Horde_Service_Weather_Base Private factory for weather driver.
_findLocation ( )

Method Details

__construct() public method

public __construct ( array $params )
$params array

_create() protected method

Private factory for weather driver.
protected _create ( ) : Horde_Service_Weather_Base
return Horde_Service_Weather_Base

_findLocation() protected method

protected _findLocation ( )

ensure() public method

Ensures that we meet all requirements to use this time object
public ensure ( ) : boolean
return boolean

listTimeObjects() public method

public listTimeObjects ( Horde_Date $start = null, Horde_Date $end = null ) : array
$start Horde_Date The start time of the period
$end Horde_Date The end time of the period
return array of listTimeObjects arrays.

Property Details

$_forecastDays protected_oe property

protected $_forecastDays

$_location protected_oe property

protected $_location