Function __global->get_page_zone
Definitions
sources/zones.php
- Find the zone a page is in.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$page_name | ID_TEXT | required parameter | N/A | N/A | The page name to find |
$error | boolean | True | N/A | N/A | Whether the software should bomb out if the page was not found |
$first_zone_to_check | ?ID_TEXT | Null | N/A | N/A | First zone to check (used for an optimisation) (null: current zone) |
$type | ?ID_TEXT | Null | N/A | N/A | Page type (null: check all) |
Return
- The zone the page is in (null: missing)
- Type: ?ID_TEXT
- Set: N/A
- Range: N/A