\Zend_Date_Cities

Additional data for sunset/sunrise calculations

Holds the geographical data for all capital cities and many others worldwide Original data from http://www.fallingrain.com/world/

Summary

Methods
Properties
Constants
City()
getCityList()
$cities
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$cities

$cities : Array

Array Collection of known cities

The array contains 'latitude' and 'longitude' for every known city

Type

Array

Methods

City()

City(string  $city, string  $horizon = false) : array

Returns the location from the selected city

Parameters

string $city

City to get location for

string $horizon

Horizon to use : default: effective others are civil, nautic, astronomic

Throws

\Zend_Date_Exception

When city is unknown

Returns

array

getCityList()

getCityList() : array

Return a list with all known cities

Returns

array