PHP Class Cmfcmf\OpenWeatherMap\WeatherHistory

Inheritance: implements Iterator
Show file Open project: cmfcmf/openweathermap-php-api

Public Properties

Property Type Description
$calctime float The time needed to calculate the request data.
$city Cmfcmf\OpenWeatherMap\Util\City The city object. IMPORTANT: Not all values will be set

Public Methods

Method Description
__construct ( $weatherHistory, $query )
current ( )
key ( )
next ( )
rewind ( )
valid ( )

Method Details

__construct() public method

public __construct ( $weatherHistory, $query )

current() public method

public current ( )

key() public method

public key ( )

next() public method

public next ( )

rewind() public method

public rewind ( )

valid() public method

public valid ( )

Property Details

$calctime public property

The time needed to calculate the request data.
public float $calctime
return float

$city public property

The city object. IMPORTANT: Not all values will be set
public City,Cmfcmf\OpenWeatherMap\Util $city
return Cmfcmf\OpenWeatherMap\Util\City