MediaWiki
REL1_19
|
LCStore implementation which uses the standard DB functions to store data. More...
Public Member Functions | |
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 | |
$batch | |
$currentLang | |
$dbw | |
$readOnly = false | |
$writesDone = false |
LCStore implementation which uses the standard DB functions to store data.
This will work on any MediaWiki installation.
Definition at line 874 of file LocalisationCache.php.
Finish a write transaction.
Implements LCStore.
Definition at line 928 of file LocalisationCache.php.
LCStore_DB::get | ( | $ | code, |
$ | key | ||
) |
Get a value.
$code | Language code |
$key | Cache key |
Implements LCStore.
Definition at line 885 of file LocalisationCache.php.
References wfGetDB().
LCStore_DB::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 944 of file LocalisationCache.php.
LCStore_DB::startWrite | ( | $ | code | ) |
Start a write transaction.
$code | Language code |
Implements LCStore.
Definition at line 900 of file LocalisationCache.php.
References wfGetDB().
LCStore_DB::$batch |
Definition at line 882 of file LocalisationCache.php.
LCStore_DB::$currentLang |
Definition at line 875 of file LocalisationCache.php.
LCStore_DB::$dbw |
Definition at line 881 of file LocalisationCache.php.
LCStore_DB::$readOnly = false |
Definition at line 883 of file LocalisationCache.php.
LCStore_DB::$writesDone = false |
Definition at line 876 of file LocalisationCache.php.