PHP Class Cmfcmf\OpenWeatherMap\CurrentWeather

Afficher le fichier Open project: cmfcmf/openweathermap-php-api

Méthodes publiques

Свойство Type Description
$city Cmfcmf\OpenWeatherMap\Util\City The city object.
$clouds Cmfcmf\OpenWeatherMap\Util\Unit
$humidity Cmfcmf\OpenWeatherMap\Util\Unit
$lastUpdate DateTime
$precipitation Cmfcmf\OpenWeatherMap\Util\Unit
$pressure Cmfcmf\OpenWeatherMap\Util\Unit
$sun Cmfcmf\OpenWeatherMap\Util\Sun
$temperature Cmfcmf\OpenWeatherMap\Util\Temperature The temperature object.
$weather Cmfcmf\OpenWeatherMap\Util\Weather
$wind Cmfcmf\OpenWeatherMap\Util\Wind

Méthodes publiques

Méthode Description
__construct ( mixed $data, string $units ) Create a new weather object.

Method Details

__construct() public méthode

Create a new weather object.
public __construct ( mixed $data, string $units )
$data mixed
$units string

Property Details

$city public_oe property

The city object.
public City,Cmfcmf\OpenWeatherMap\Util $city
Résultat Cmfcmf\OpenWeatherMap\Util\City

$clouds public_oe property

public Unit,Cmfcmf\OpenWeatherMap\Util $clouds
Résultat Cmfcmf\OpenWeatherMap\Util\Unit

$humidity public_oe property

public Unit,Cmfcmf\OpenWeatherMap\Util $humidity
Résultat Cmfcmf\OpenWeatherMap\Util\Unit

$lastUpdate public_oe property

public DateTime $lastUpdate
Résultat DateTime

$precipitation public_oe property

public Unit,Cmfcmf\OpenWeatherMap\Util $precipitation
Résultat Cmfcmf\OpenWeatherMap\Util\Unit

$pressure public_oe property

public Unit,Cmfcmf\OpenWeatherMap\Util $pressure
Résultat Cmfcmf\OpenWeatherMap\Util\Unit

$sun public_oe property

public Sun,Cmfcmf\OpenWeatherMap\Util $sun
Résultat Cmfcmf\OpenWeatherMap\Util\Sun

$temperature public_oe property

The temperature object.
public Temperature,Cmfcmf\OpenWeatherMap\Util $temperature
Résultat Cmfcmf\OpenWeatherMap\Util\Temperature

$weather public_oe property

public Weather,Cmfcmf\OpenWeatherMap\Util $weather
Résultat Cmfcmf\OpenWeatherMap\Util\Weather

$wind public_oe property

public Wind,Cmfcmf\OpenWeatherMap\Util $wind
Résultat Cmfcmf\OpenWeatherMap\Util\Wind