Function __global->save_static_caching
Definitions
sources/site.php
- Do any static cache saving that we want to do.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $out | mixed | No | No | required parameter | N/A | N/A | Output to cache (string or Tempcode) |
| $mime_type | string | No | No | text/html | N/A | N/A | Mime type to use |
Returns
- Whether saving could have happened
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Do any static cache saving that we want to do.
*
* @param mixed $out Output to cache (string or Tempcode)
* @param string $mime_type Mime type to use
* @return boolean Whether saving could have happened
*/
function save_static_caching($out, string $mime_type = 'text/html') : bool
* Do any static cache saving that we want to do.
*
* @param mixed $out Output to cache (string or Tempcode)
* @param string $mime_type Mime type to use
* @return boolean Whether saving could have happened
*/
function save_static_caching($out, string $mime_type = 'text/html') : bool

