Function __global->persistent_cache_set
Definitions
sources/caches.php
- Put data into the persistent cache.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$key | mixed | required parameter | N/A | N/A | Key |
$data | mixed | required parameter | N/A | N/A | The data |
$server_wide | boolean | False | N/A | N/A | Whether it is server-wide data |
$expire_secs | ?integer | Null | N/A | N/A | The expiration time in seconds. (null: Default expiry in 60 minutes, or never if it is server-wide). |
sources/minikernel.php
- Put data into the persistent cache.(In minikernel, this does nothing).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$key | mixed | required parameter | N/A | N/A | Key |
$data | mixed | required parameter | N/A | N/A | The data |
$server_wide | boolean | False | N/A | N/A | Whether it is server-wide data |
$expire_secs | ?integer | Null | N/A | N/A | The expiration time in seconds. (null: Default expiry in 60 minutes, or never if it is server-wide). |