MediaWiki  1.23.2
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 1352 of file LocalisationCache.php.

Member Function Documentation

◆ finishWrite()

LCStoreNull::finishWrite ( )

Finish a write transaction.

Implements LCStore.

Definition at line 1360 of file LocalisationCache.php.

◆ get()

LCStoreNull::get (   $code,
  $key 
)

Get a value.

Parameters
string$codeLanguage code
string$keyCache key

Implements LCStore.

Definition at line 1353 of file LocalisationCache.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 1363 of file LocalisationCache.php.

◆ startWrite()

LCStoreNull::startWrite (   $code)

Start a write transaction.

Parameters
string$codeLanguage code

Implements LCStore.

Definition at line 1357 of file LocalisationCache.php.


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