Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Public Member Functions | |
__construct (Google_Client $client) | |
delete ($key) | |
Removes the key/data pair for the given $key. | |
get ($key, $expiration=false) | |
Retrieves the data for the given key, or false if they key is unknown or expired. | |
set ($key, $value) | |
Store the key => $value set. | |
|
abstract |
Removes the key/data pair for the given $key.
String | $key |
Reimplemented in Google_Cache_Apc, Google_Cache_File, Google_Cache_Memcache, and Google_Cache_Null.
|
abstract |
Retrieves the data for the given key, or false if they key is unknown or expired.
String | $key | The key who's data to retrieve |
boolean | int | $expiration | Expiration time in seconds |
Reimplemented in Google_Cache_Apc, Google_Cache_File, Google_Cache_Memcache, and Google_Cache_Null.
|
abstract |
Store the key => $value set.
The $value is serialized by this function so can be of any type
string | $key | Key of the data |
string | $value | data |
Reimplemented in Google_Cache_Apc, Google_Cache_File, Google_Cache_Memcache, and Google_Cache_Null.