ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($redis=null) | |
Initialize the Redis data store. More... | |
__destruct () | |
Deconstruct the Redis data store. More... | |
get ($type, $key) | |
Retrieve a value from the data store. More... | |
set ($type, $key, $value, $expire=null) | |
Save a value in the data store. More... | |
delete ($type, $key) | |
Delete an entry from the data store. More... | |
get ($type, $key) | |
Retrieve a value from the data store. More... | |
set ($type, $key, $value, $expire=null) | |
Save a value to the data store. More... | |
delete ($type, $key) | |
Delete a value from the data store. More... | |
Additional Inherited Members | |
![]() | |
static | getInstance () |
Retrieve our singleton instance. More... | |
SimpleSAML\Store\Redis::__construct | ( | $redis = null | ) |
Initialize the Redis data store.
Definition at line 18 of file Redis.php.
References $config.
SimpleSAML\Store\Redis::__destruct | ( | ) |
SimpleSAML\Store\Redis::delete | ( | $type, | |
$key | |||
) |
Delete an entry from the data store.
string | $type | The type of the data |
string | $key | The key to delete. |
Reimplemented from SimpleSAML\Store.
Definition at line 109 of file Redis.php.
SimpleSAML\Store\Redis::get | ( | $type, | |
$key | |||
) |
Retrieve a value from the data store.
string | $type | The type of the data. |
string | $key | The key to retrieve. |
Reimplemented from SimpleSAML\Store.
Definition at line 66 of file Redis.php.
References $result.
SimpleSAML\Store\Redis::set | ( | $type, | |
$key, | |||
$value, | |||
$expire = null |
|||
) |
Save a value in the data store.
string | $type | The type of the data. |
string | $key | The key to insert. |
mixed | $value | The value itself. |
int | null | $expire | The expiration time (unix timestamp), or null if it never expires. |
Reimplemented from SimpleSAML\Store.
Definition at line 88 of file Redis.php.
References $expire.