API Documentation

Date/Cities.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Date
version
$Id: Cities.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Date_Cities

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Date_Cities

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Date
subpackage
Zend_Date_Cities
Properties
$cities
Methods
City
getCityList

Description

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/

Properties

$cities

Array $cities = 'array'

Array Collection of known cities

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

Details

$cities
Array
visibility
public
default
array
final
false
static
true

Methods

City

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

Returns the location from the selected city

Arguments
$city
string
City to get location for
$horizon
string
Horizon to use : default: effective others are civil, nautic, astronomic
Output
array
Details
visibility
public
final
false
static
true
throws
When city is unknown

getCityList

getCityList( ) : array

Return a list with all known cities

Output
array
Details
visibility
public
final
false
static
true
Documentation was generated by DocBlox.