Function __global->page_not_found
Definitions
sources/site2.php
- Render that the page wasn't found. Show alternate likely candidates based on misspellings.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $page | ID_TEXT | No | No | required parameter | N/A | N/A | The codename of the page to load |
| $zone | ID_TEXT | No | No | required parameter | N/A | N/A | The zone the page is being loaded in |
Returns
- Message
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Render that the page wasn't found. Show alternate likely candidates based on misspellings.
*
* @param ID_TEXT $page The codename of the page to load
* @param ID_TEXT $zone The zone the page is being loaded in
* @return Tempcode Message
*/
function page_not_found(string $page, string $zone) : object
* Render that the page wasn't found. Show alternate likely candidates based on misspellings.
*
* @param ID_TEXT $page The codename of the page to load
* @param ID_TEXT $zone The zone the page is being loaded in
* @return Tempcode Message
*/
function page_not_found(string $page, string $zone) : object

