Function __global->request_via_cron
Definitions
sources/caches2.php
- Request that the system scheduler loads up a block's caching in the background.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
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 block |
| $map | array | No | No | required parameter | N/A | N/A | Parameters to call up block with if we have to defer caching |
| $special_cache_flags | integer | No | No | required parameter | N/A | N/A | Flags representing how we should cache |
| $tempcode | boolean | No | No | required parameter | N/A | N/A | Whether we are caching Tempcode (needs special care) |
Preview
Code (PHP)
/**
* Request that the system scheduler loads up a block's caching in the background.
*
* @param ID_TEXT $codename The codename of the block
* @param array $map Parameters to call up block with if we have to defer caching
* @param integer $special_cache_flags Flags representing how we should cache
* @param boolean $tempcode Whether we are caching Tempcode (needs special care)
*/
function request_via_cron(string $codename, array $map, int $special_cache_flags, bool $tempcode)
* Request that the system scheduler loads up a block's caching in the background.
*
* @param ID_TEXT $codename The codename of the block
* @param array $map Parameters to call up block with if we have to defer caching
* @param integer $special_cache_flags Flags representing how we should cache
* @param boolean $tempcode Whether we are caching Tempcode (needs special care)
*/
function request_via_cron(string $codename, array $map, int $special_cache_flags, bool $tempcode)

