PHP Класс Cmfcmf\OpenWeatherMap\CurrentWeather

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__construct ( mixed $data, string $units ) Create a new weather object.

Описание методов

__construct() публичный Метод

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

Описание свойств

$city публичное свойство

The city object.
public City,Cmfcmf\OpenWeatherMap\Util $city
Результат Cmfcmf\OpenWeatherMap\Util\City

$clouds публичное свойство

public Unit,Cmfcmf\OpenWeatherMap\Util $clouds
Результат Cmfcmf\OpenWeatherMap\Util\Unit

$humidity публичное свойство

public Unit,Cmfcmf\OpenWeatherMap\Util $humidity
Результат Cmfcmf\OpenWeatherMap\Util\Unit

$lastUpdate публичное свойство

public DateTime $lastUpdate
Результат DateTime

$precipitation публичное свойство

public Unit,Cmfcmf\OpenWeatherMap\Util $precipitation
Результат Cmfcmf\OpenWeatherMap\Util\Unit

$pressure публичное свойство

public Unit,Cmfcmf\OpenWeatherMap\Util $pressure
Результат Cmfcmf\OpenWeatherMap\Util\Unit

$sun публичное свойство

public Sun,Cmfcmf\OpenWeatherMap\Util $sun
Результат Cmfcmf\OpenWeatherMap\Util\Sun

$temperature публичное свойство

The temperature object.
public Temperature,Cmfcmf\OpenWeatherMap\Util $temperature
Результат Cmfcmf\OpenWeatherMap\Util\Temperature

$weather публичное свойство

public Weather,Cmfcmf\OpenWeatherMap\Util $weather
Результат Cmfcmf\OpenWeatherMap\Util\Weather

$wind публичное свойство

public Wind,Cmfcmf\OpenWeatherMap\Util $wind
Результат Cmfcmf\OpenWeatherMap\Util\Wind