Function Hook_Health_Check->get_comcode_page_content
Definitions
sources/health_check.php
- Get a Comcode page-link's Comcode and HTML.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $page_link | string | No | No | required parameter | N/A | N/A | Page-link |
Returns
- A tuple: Comcode, HTML, Zone name, Page name (null: not a Comcode page or not a page at all)
- Type: ?array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a Comcode page-link's Comcode and HTML.
*
* @param string $page_link Page-link
* @return ?array A tuple: Comcode, HTML, Zone name, Page name (null: not a Comcode page or not a page at all)
*/
protected function get_comcode_page_content(string $page_link) : ?array
* Get a Comcode page-link's Comcode and HTML.
*
* @param string $page_link Page-link
* @return ?array A tuple: Comcode, HTML, Zone name, Page name (null: not a Comcode page or not a page at all)
*/
protected function get_comcode_page_content(string $page_link) : ?array

