bool clear(
[string
$realm = COT_DEFAULT_REALM]
)
|
|
Clears all cache entries served by current driver
Parameters:
string |
$realm: |
Cache realm name, to clear specific realm only |
API Tags:
bool exists(
string
$id, [string
$realm = COT_DEFAULT_REALM]
)
|
|
Checks if an object is stored in cache
Parameters:
string |
$id: |
Object identifier |
string |
$realm: |
Cache realm |
API Tags:
mixed get(
string
$id, [string
$realm = COT_DEFAULT_REALM]
)
|
|
Returns value of cached image
Parameters:
string |
$id: |
Object identifier |
string |
$realm: |
Realm name |
API Tags:
Return: | Cached item value or NULL if the item was not found in cache |
Abstract: | |
Access: | public |
bool remove(
string
$id, [string
$realm = COT_DEFAULT_REALM]
)
|
|
Removes object image from cache
Parameters:
string |
$id: |
Object identifier |
string |
$realm: |
Realm name |
API Tags: