프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$city | Cmfcmf\OpenWeatherMap\Util\City | A city object. | |
$lastUpdate | DateTime | The time of the last update of this weather data. | |
$sun | Cmfcmf\OpenWeatherMap\Util\Sun | A sun object |
메소드 | 설명 | |
---|---|---|
__construct ( $xml, string $units, integer $days ) | Create a new Forecast object. | |
current ( ) | ||
key ( ) | ||
next ( ) | ||
rewind ( ) | ||
valid ( ) |
public __construct ( $xml, string $units, integer $days ) | ||
$xml | ||
$units | string | |
$days | integer | How many days of forecast to receive. |
public City,Cmfcmf\OpenWeatherMap\Util $city | ||
리턴 | Cmfcmf\OpenWeatherMap\Util\City |
public DateTime $lastUpdate | ||
리턴 | DateTime |