Function __global->log_stats
Definitions
sources/site.php
- Log statistics for the page view.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $page_link | ?string | No | No | required parameter | N/A | N/A | Page link being viewed (null: work it out) |
| $pg_time | integer | No | No | required parameter | N/A | N/A | The time taken for page loading in milliseconds |
Preview
Code (PHP)
/**
* Log statistics for the page view.
*
* @param ?string $page_link Page link being viewed (null: work it out)
* @param integer $pg_time The time taken for page loading in milliseconds
*/
function log_stats(?string $page_link, int $pg_time)
* Log statistics for the page view.
*
* @param ?string $page_link Page link being viewed (null: work it out)
* @param integer $pg_time The time taken for page loading in milliseconds
*/
function log_stats(?string $page_link, int $pg_time)

