Function __global->create_selection_list_zones
Definitions
sources/zones3.php
- Get a list of zones.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $sel | ?ID_TEXT | No | No | Null | N/A | N/A | The zone in the list to select by default (null: use first) |
| $no_go | array | No | No | [] | N/A | N/A | A list of zone to not put into the list |
| $reorder | ?array | No | No | Null | N/A | N/A | A reordering (null: no reordering) |
| $updated_since | ?TIME | No | No | Null | N/A | N/A | Time from which content must be updated (null: no limit) |
Returns
- The list
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a list of zones.
*
* @param ?ID_TEXT $sel The zone in the list to select by default (null: use first)
* @param array $no_go A list of zone to not put into the list
* @param ?array $reorder A reordering (null: no reordering)
* @param ?TIME $updated_since Time from which content must be updated (null: no limit)
* @return Tempcode The list
*/
function create_selection_list_zones(?string $sel = null, array $no_go = [], ?array $reorder = null, ?int $updated_since = null) : object
* Get a list of zones.
*
* @param ?ID_TEXT $sel The zone in the list to select by default (null: use first)
* @param array $no_go A list of zone to not put into the list
* @param ?array $reorder A reordering (null: no reordering)
* @param ?TIME $updated_since Time from which content must be updated (null: no limit)
* @return Tempcode The list
*/
function create_selection_list_zones(?string $sel = null, array $no_go = [], ?array $reorder = null, ?int $updated_since = null) : object
