|
CaMykS
1.0-20250801
|
Functions | |
| countries_getCodeList ($params=array()) | |
| Countries specific methods. More... | |
| countries_getList () | |
| countries_getTitleList ($params=array()) | |
| countries_loadLocales ($language=null) | |
| countries_getTranslation ($country='') | |
| countries_getCode ($lang='', $key='') | |
| countries_loadData () | |
| countries_getSingleDataValue ($country, $data) | |
| countries_getDataList ($data) | |
| countries_getPhonePrefixes () | |
| countries_getPhonePrefix ($country) | |
| countries_getCodeList | ( | $params = array() | ) |
Countries specific methods.
Country codes defined by ISO 3166-2 list
Engine / Tool Library
| array | $params |
| countries_getList | ( | ) |
Return generic country list.
| countries_getTitleList | ( | $params = array() | ) |
Return custom country list.
| array | $params |
| countries_loadLocales | ( | $language = null | ) |
Load countries locales.
| string | $language |
| countries_getTranslation | ( | $country = '' | ) |
Return country localised name.
| string | $country |
| countries_getCode | ( | $lang = '', |
|
$key = '' |
|||
| ) |
Return country code from name.
| string | $lang | |
| string | $key |
| countries_loadData | ( | ) |
Load countries data.
| countries_getSingleDataValue | ( | $country, | |
| $data | |||
| ) |
Return countries single data value.
| string | $country | |
| string | $data |
| countries_getDataList | ( | $data | ) |
Return countries data list.
| string | $data |
| countries_getPhonePrefixes | ( | ) |
Return country phone prefixes list.
| countries_getPhonePrefix | ( | $country | ) |
Return phone prefix value for given country.
| string | $country |