category | OSS |
---|---|
package | OSS_Countries |
copyright | Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland |
license | New BSD License |
createFormSelectElement(string $name, string $label) : \Zend_Form_Element_Select
string
The element name (default country
)
string
The element label and title (default Country
)
\Zend_Form_Element_Select
getCountriesArray() : array
array
getCountriesKeys() : array
array
getCountryName(string $code) : string | null
If code is not in array returns null;
string
The country code
string
null
getDialCode(int $code) : string | null
If code is not in array returns null;
int
The country code
string
null
getDialCodes() : array
array
getTimezones() : array
array
getTimezonesArray() : array
'Europe/Dublin' => 'Europe/Dublin' ).
array
$_countries : array
$_dial_codes : array
$_timezones : array