Function __global->find_regions_by_country
Definitions
sources/locations.php
- Find list of regions.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $iso | ID_TEXT | No | No | required parameter | N/A | N/A | The country code for which to get regions |
Returns
- List of regions
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find list of regions.
*
* @param ID_TEXT $iso The country code for which to get regions
* @return array List of regions
*/
function find_regions_by_country(string $iso) : array
* Find list of regions.
*
* @param ID_TEXT $iso The country code for which to get regions
* @return array List of regions
*/
function find_regions_by_country(string $iso) : array

