Function __global->create_region_selection_list
Definitions
sources/locations.php
- Get a nice, formatted HTML list of regions.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $iso | ID_TEXT | No | No | required parameter | N/A | N/A | The country ISO code |
| $selected_regions | array | No | No | [] | N/A | N/A | The currently selected regions |
Returns
- The list of regions
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a nice, formatted HTML list of regions.
*
* @param ID_TEXT $iso The country ISO code
* @param array $selected_regions The currently selected regions
* @return Tempcode The list of regions
*/
function create_region_selection_list(string $iso, array $selected_regions = []) : object
* Get a nice, formatted HTML list of regions.
*
* @param ID_TEXT $iso The country ISO code
* @param array $selected_regions The currently selected regions
* @return Tempcode The list of regions
*/
function create_region_selection_list(string $iso, array $selected_regions = []) : object

