MediaWiki REL1_39
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.
 
 get ( $code, $key)
 Get a value.
 
 set ( $key, $value)
 Set a key to a given value.
 
 startWrite ( $code)
 Start a write transaction.
 

Detailed Description

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

Definition at line 26 of file LCStoreNull.php.

Member Function Documentation

◆ finishWrite()

LCStoreNull::finishWrite ( )

Finish a write transaction.

Implements LCStore.

Definition at line 35 of file LCStoreNull.php.

◆ get()

LCStoreNull::get ( $code,
$key )

Get a value.

Parameters
string$codeLanguage code
string$keyCache key

Implements LCStore.

Definition at line 28 of file LCStoreNull.php.

◆ set()

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 38 of file LCStoreNull.php.

◆ startWrite()

LCStoreNull::startWrite ( $code)

Start a write transaction.

Parameters
string$codeLanguage code

Implements LCStore.

Definition at line 32 of file LCStoreNull.php.


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