MediaWiki
REL1_23
|
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. | |
Private Attributes | |
$batch | |
$currentLang | |
DatabaseBase | $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 1143 of file LocalisationCache.php.
Finish a write transaction.
Implements LCStore.
Definition at line 1196 of file LocalisationCache.php.
LCStoreDB::get | ( | $ | code, |
$ | key | ||
) |
LCStoreDB::set | ( | $ | key, |
$ | value | ||
) |
Set a key to a given value.
startWrite() must be called before this is called, and finishWrite() must be called afterwards.
string | $key | |
mixed | $value |
Implements LCStore.
Definition at line 1212 of file LocalisationCache.php.
LCStoreDB::startWrite | ( | $ | code | ) |
Start a write transaction.
string | $code | Language code |
Implements LCStore.
Definition at line 1168 of file LocalisationCache.php.
LCStoreDB::$batch [private] |
Definition at line 1150 of file LocalisationCache.php.
LCStoreDB::$currentLang [private] |
Definition at line 1144 of file LocalisationCache.php.
DatabaseBase LCStoreDB::$dbw [private] |
Definition at line 1149 of file LocalisationCache.php.
LCStoreDB::$readOnly = false [private] |
Definition at line 1151 of file LocalisationCache.php.
LCStoreDB::$writesDone = false [private] |
Definition at line 1145 of file LocalisationCache.php.