MediaWiki REL1_41
LCStoreNull Class Reference

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

Inherits LCStore.

Collaboration diagram for LCStoreNull:

Public Member Functions

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

Detailed Description

Null store backend, used to avoid DB errors during MediaWiki installation.

Definition at line 26 of file LCStoreNull.php.

Member Function Documentation

◆ finishWrite()

LCStoreNull::finishWrite ( )

Finish a cache 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 after.

Parameters
string$key
mixed$value

Implements LCStore.

Definition at line 38 of file LCStoreNull.php.

◆ startWrite()

LCStoreNull::startWrite ( $code)

Start a cache 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: