Hashes::getListVar
Usage
?string Hashes::getListVar(string $list, string $abbr, [ string $column = 'name' ])Description
Get variable from one of the standard lists, country, timezone, languageParameters
Parameter | Required | Type | Description |
---|---|---|---|
$list | Yes | string | Name of the list, supported values are: country, timezone, language, currency |
$abbr | Yes | string | Key / abbreviation of the entry within the list |
$column | No | string | Name of the variable from the list to retrieve |