Function __global->load_comcode_page_from_cache
Definitions
sources/site.php
- Get a Comcode page from the cache.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $codename | ID_TEXT | No | No | required parameter | N/A | N/A | The codename of the page |
| $zone | ID_TEXT | No | No | required parameter | N/A | N/A | The zone the page is being loaded from |
| $theme | ID_TEXT | No | No | required parameter | N/A | N/A | The theme |
Returns
- The page row (null: none found)
- Type: ?array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a Comcode page from the cache.
*
* @param ID_TEXT $codename The codename of the page
* @param ID_TEXT $zone The zone the page is being loaded from
* @param ID_TEXT $theme The theme
* @return ?array The page row (null: none found)
*/
function load_comcode_page_from_cache(string $codename, string $zone, string $theme) : ?array
* Get a Comcode page from the cache.
*
* @param ID_TEXT $codename The codename of the page
* @param ID_TEXT $zone The zone the page is being loaded from
* @param ID_TEXT $theme The theme
* @return ?array The page row (null: none found)
*/
function load_comcode_page_from_cache(string $codename, string $zone, string $theme) : ?array

