MediaWiki
REL1_24
|
This is a test of the interface, mainly. More...
Public Member Functions | |
__construct () | |
cas ($casToken, $key, $value, $exptime=0) | |
delete ($key, $time=0) | |
get ($key, &$casToken=null) | |
set ($key, $value, $exptime=0) | |
Protected Member Functions | |
expire ($key) | |
Protected Attributes | |
array | $bag |
* |
This is a test of the interface, mainly.
It stores things in an associative array, which is not going to persist between program runs.
Definition at line 30 of file HashBagOStuff.php.
Definition at line 33 of file HashBagOStuff.php.
References array().
HashBagOStuff::cas | ( | $ | casToken, |
$ | key, | ||
$ | value, | ||
$ | exptime = 0 |
||
) |
mixed | $casToken | |
string | $key | |
mixed | $value | |
int | $exptime |
Reimplemented from BagOStuff.
Definition at line 90 of file HashBagOStuff.php.
HashBagOStuff::delete | ( | $ | key, |
$ | time = 0 |
||
) |
string | $key | |
int | $time |
Reimplemented from BagOStuff.
Definition at line 103 of file HashBagOStuff.php.
HashBagOStuff::expire | ( | $ | key | ) | [protected] |
HashBagOStuff::get | ( | $ | key, |
&$ | casToken = null |
||
) |
string | $key | |
mixed | $casToken | [optional] |
Reimplemented from BagOStuff.
Definition at line 58 of file HashBagOStuff.php.
HashBagOStuff::set | ( | $ | key, |
$ | value, | ||
$ | exptime = 0 |
||
) |
string | $key | |
mixed | $value | |
int | $exptime |
Reimplemented from BagOStuff.
Definition at line 78 of file HashBagOStuff.php.
array HashBagOStuff::$bag [protected] |
*
Definition at line 31 of file HashBagOStuff.php.