Function __global->find_cache_on
Definitions
sources/caches.php
- Find the cache-on parameters for 'codename's caching style (prevents us needing to load up extra code to find it).
- 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 what will be checked for caching |
Returns
- The cached result (null: no cached result)
- Type: ?array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find the cache-on parameters for 'codename's caching style (prevents us needing to load up extra code to find it).
*
* @param ID_TEXT $codename The codename of what will be checked for caching
* @return ?array The cached result (null: no cached result)
*/
function find_cache_on(string $codename) : ?array
* Find the cache-on parameters for 'codename's caching style (prevents us needing to load up extra code to find it).
*
* @param ID_TEXT $codename The codename of what will be checked for caching
* @return ?array The cached result (null: no cached result)
*/
function find_cache_on(string $codename) : ?array

