Constructor: help.country
Name, ISO code, localized name and phone codes/patterns of a specific country
Attributes:
Name | Type | Required | Description |
---|---|---|---|
hidden | Bool | Optional | Whether this country should not be shown in the list |
iso2 | string | Yes | ISO code of country |
default_name | string | Yes | Name of the country in the country’s language |
name | string | Optional | Name of the country in the user’s language, if different from the original name |
country_codes | Array of help.CountryCode | Yes | Phone codes/patterns |
Type: help.Country
Example:
$help_country = ['_' => 'help.country', 'hidden' => Bool, 'iso2' => 'string', 'default_name' => 'string', 'name' => 'string', 'country_codes' => [help.CountryCode, help.CountryCode]];