Свойство | Тип | Описание | |
---|---|---|---|
$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. |
public __construct ( mixed $data, string $units ) | ||
$data | mixed | |
$units | string |
public City,Cmfcmf\OpenWeatherMap\Util $city | ||
Результат | Cmfcmf\OpenWeatherMap\Util\City |
public Unit,Cmfcmf\OpenWeatherMap\Util $clouds | ||
Результат | Cmfcmf\OpenWeatherMap\Util\Unit |
public Unit,Cmfcmf\OpenWeatherMap\Util $humidity | ||
Результат | Cmfcmf\OpenWeatherMap\Util\Unit |
public Unit,Cmfcmf\OpenWeatherMap\Util $precipitation | ||
Результат | Cmfcmf\OpenWeatherMap\Util\Unit |
public Unit,Cmfcmf\OpenWeatherMap\Util $pressure | ||
Результат | Cmfcmf\OpenWeatherMap\Util\Unit |
public Sun,Cmfcmf\OpenWeatherMap\Util $sun | ||
Результат | Cmfcmf\OpenWeatherMap\Util\Sun |
public Temperature,Cmfcmf\OpenWeatherMap\Util $temperature | ||
Результат | Cmfcmf\OpenWeatherMap\Util\Temperature |
public Weather,Cmfcmf\OpenWeatherMap\Util $weather | ||
Результат | Cmfcmf\OpenWeatherMap\Util\Weather |