cache_info |
( |
|
$type = NULL ) | |
|
Cache Info
- Parameters
-
- Returns
- mixed array on success, false on failure
Clean the cache
- Returns
- boolean false on failure/true on success
Delete from Cache
- Parameters
-
mixed | unique identifier of the item in the cache |
boolean | true on success/false on failure |
Get
Look for a value in the cache. If it exists, return the data if not, return FALSE
- Parameters
-
- Returns
- mixed value that is stored/FALSE on failure
Get Cache Metadata
- Parameters
-
mixed | key to get cache metadata on |
- Returns
- mixed array on success/false on failure
is_supported()
Check to see if APC is available on this system, bail if it isn't.
save |
( |
|
$id, |
|
|
|
$data, |
|
|
|
$ttl = 60 |
|
) |
| |
Cache Save
- Parameters
-
string | Unique Key |
mixed | Data to store |
int | Length of time (in seconds) to cache the data |
- Returns
- boolean true on success/false on failure
The documentation for this class was generated from the following file:
- system/libraries/Cache/drivers/Cache_apc.php