MediaWiki  REL1_19
LCStore_Accel Class Reference

LCStore implementation which uses PHP accelerator to store data. More...

Inheritance diagram for LCStore_Accel:
Collaboration diagram for LCStore_Accel:

List of all members.

Public Member Functions

 __construct ()
 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.

Public Attributes

 $currentLang
 $keys

Detailed Description

LCStore implementation which uses PHP accelerator to store data.

This will work if one of XCache, WinCache or APC cacher is configured. (See ObjectCache.php)

Definition at line 826 of file LocalisationCache.php.


Constructor & Destructor Documentation

Definition at line 830 of file LocalisationCache.php.

References wfGetCache().

Here is the call graph for this function:


Member Function Documentation

Finish a write transaction.

Implements LCStore.

Definition at line 852 of file LocalisationCache.php.

References wfMemcKey().

Here is the call graph for this function:

LCStore_Accel::get ( code,
key 
)

Get a value.

Parameters:
$codeLanguage code
$keyCache key

Implements LCStore.

Definition at line 834 of file LocalisationCache.php.

References wfMemcKey().

Here is the call graph for this function:

LCStore_Accel::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:
$key
$value

Implements LCStore.

Definition at line 861 of file LocalisationCache.php.

References wfMemcKey().

Here is the call graph for this function:

Start a write transaction.

Parameters:
$codeLanguage code

Implements LCStore.

Definition at line 840 of file LocalisationCache.php.

References $keys, and wfMemcKey().

Here is the call graph for this function:


Member Data Documentation

LCStore_Accel::$currentLang

Definition at line 827 of file LocalisationCache.php.

LCStore_Accel::$keys

Definition at line 828 of file LocalisationCache.php.

Referenced by startWrite().


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