MediaWiki
REL1_21
|
LCStore implementation which uses PHP accelerator to store data. More...
Public Member Functions | |
__construct () | |
finishWrite () | |
Finish a write transaction. | |
get ($code, $key) | |
Get a value. | |
set ($key, $value) | |
Set a key to a given value. | |
startWrite ($code) | |
Start a write transaction. | |
Public Attributes | |
$currentLang | |
$keys |
LCStore implementation which uses PHP accelerator to store data.
This will work if one of XCache, WinCache or APC cacher is configured. (See ObjectCache.php)
Definition at line 946 of file LocalisationCache.php.
Definition at line 950 of file LocalisationCache.php.
References cache, and wfGetCache().
Finish a write transaction.
Implements LCStore.
Definition at line 972 of file LocalisationCache.php.
References array(), cache, and wfMemcKey().
LCStore_Accel::get | ( | $ | code, |
$ | key | ||
) |
Get a value.
string | $code | Language code |
string | $key | Cache key |
Implements LCStore.
Definition at line 954 of file LocalisationCache.php.
References cache, and wfMemcKey().
LCStore_Accel::set | ( | $ | key, |
$ | value | ||
) |
Set a key to a given value.
startWrite() must be called before this is called, and finishWrite() must be called afterwards.
$key | |
$value |
Implements LCStore.
Definition at line 981 of file LocalisationCache.php.
References $value, cache, and wfMemcKey().
LCStore_Accel::startWrite | ( | $ | code | ) |
Start a write transaction.
$code | Language code |
Implements LCStore.
Definition at line 960 of file LocalisationCache.php.
References $keys, array(), as, cache, and wfMemcKey().
LCStore_Accel::$currentLang |
Definition at line 947 of file LocalisationCache.php.
LCStore_Accel::$keys |
Definition at line 948 of file LocalisationCache.php.
Referenced by startWrite().