MediaWiki  1.28.1
LCStoreNull Class Reference

Null store backend, used to avoid DB errors during install. More...

Inheritance diagram for LCStoreNull:
Collaboration diagram for LCStoreNull:

Public Member Functions

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

Detailed Description

Null store backend, used to avoid DB errors during install.

Definition at line 24 of file LCStoreNull.php.

Member Function Documentation

LCStoreNull::finishWrite ( )

Finish a write transaction.

Implements LCStore.

Definition at line 33 of file LCStoreNull.php.

LCStoreNull::get (   $code,
  $key 
)

Get a value.

Parameters
string$codeLanguage code
string$keyCache key

Implements LCStore.

Definition at line 26 of file LCStoreNull.php.

LCStoreNull::set (   $key,
  $value 
)

Set a key to a given value.

startWrite() must be called before this is called, and finishWrite() must be called afterwards.

Parameters
string$key
mixed$value

Implements LCStore.

Definition at line 36 of file LCStoreNull.php.

LCStoreNull::startWrite (   $code)

Start a write transaction.

Parameters
string$codeLanguage code

Implements LCStore.

Definition at line 30 of file LCStoreNull.php.


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