LCStore_DB Class Reference

LCStore implementation which uses the standard DB functions to store data. More...

Inherits LCStore.

List of all members.

Public Member Functions

 get ($code, $key)
 Get a value.
 startWrite ($code)
 Start a write transaction.
 finishWrite ()
 Finish a write transaction.
 set ($key, $value)
 Set a key to a given value.

Public Attributes

 $currentLang
 $writesDone = false
 $dbw
 $batch
 $readOnly = false


Detailed Description

LCStore implementation which uses the standard DB functions to store data.

This will work on any MediaWiki installation.

Definition at line 750 of file LocalisationCache.php.


Member Function Documentation

LCStore_DB::finishWrite (  ) 

Finish a write transaction.

Implements LCStore.

Definition at line 796 of file LocalisationCache.php.

LCStore_DB::get ( code,
key 
)

Get a value.

Parameters:
$code Language code
$key Cache key

Implements LCStore.

Definition at line 756 of file LocalisationCache.php.

References $code, and 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.

Implements LCStore.

Definition at line 810 of file LocalisationCache.php.

LCStore_DB::startWrite ( code  ) 

Start a write transaction.

Parameters:
$code Language code

Implements LCStore.

Definition at line 771 of file LocalisationCache.php.

References $code, and wfGetDB().


Member Data Documentation

LCStore_DB::$batch

Definition at line 753 of file LocalisationCache.php.

LCStore_DB::$currentLang

Definition at line 751 of file LocalisationCache.php.

LCStore_DB::$dbw

Definition at line 753 of file LocalisationCache.php.

LCStore_DB::$readOnly = false

Definition at line 754 of file LocalisationCache.php.

LCStore_DB::$writesDone = false

Definition at line 752 of file LocalisationCache.php.


The documentation for this class was generated from the following file:

Generated on Sat Apr 30 22:57:41 2011 for MediaWiki by  doxygen 1.5.9