Function __global->__request_page
Definitions
sources/site.php
- Take the specified parameters, and try to find the corresponding page.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$codename | ID_TEXT | required parameter | N/A | N/A | The codename of the page to load |
$zone | ID_TEXT | required parameter | N/A | N/A | The zone the page is being loaded in |
$page_type | ?ID_TEXT | Null | N/A | N/A | The type of page - for if you know it (null: don't know it) |
$lang | ?LANGUAGE_NAME | Null | N/A | N/A | Language name (null: user's language) |
$redirect_check | boolean | True | N/A | N/A | Whether to check for redirects (normally you would) |
Return
- A list of details (false: page not found)
- Type: ~array
- Set: N/A
- Range: N/A