Function __global->get_page_warning_details
Definitions
sources/site2.php
- A page is not validated, so show a warning.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $zone | ID_TEXT | No | No | required parameter | N/A | N/A | The zone the page is being loaded from |
| $codename | ID_TEXT | No | No | required parameter | N/A | N/A | The codename of the page |
| $edit_url | Tempcode | No | No | required parameter | N/A | N/A | The edit URL (blank if no edit access) |
Returns
- The warning
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* A page is not validated, so show a warning.
*
* @param ID_TEXT $zone The zone the page is being loaded from
* @param ID_TEXT $codename The codename of the page
* @param Tempcode $edit_url The edit URL (blank if no edit access)
* @return Tempcode The warning
*/
function get_page_warning_details(string $zone, string $codename, object $edit_url) : object
* A page is not validated, so show a warning.
*
* @param ID_TEXT $zone The zone the page is being loaded from
* @param ID_TEXT $codename The codename of the page
* @param Tempcode $edit_url The edit URL (blank if no edit access)
* @return Tempcode The warning
*/
function get_page_warning_details(string $zone, string $codename, object $edit_url) : object
