CachedMessageIndex Class Reference

Storage on the object cache. More...

Inheritance diagram for CachedMessageIndex:
Inheritance graph
[legend]
Collaboration diagram for CachedMessageIndex:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 retrieve ()

Protected Member Functions

 __construct (array $params)
 store (array $array)

Protected Attributes

 $key = 'translate-messageindex'
 $cache
 $index

Detailed Description

Storage on the object cache.

This can be faster than DatabaseMessageIndex, but it doesn't provide random access, and the data is not guaranteed to be persistent.

This is unlikely to be the best backend for you, so don't use it.

Definition at line 381 of file MessageIndex.php.


Constructor & Destructor Documentation

CachedMessageIndex::__construct ( array $  params  )  [protected]

Definition at line 388 of file MessageIndex.php.


Member Function Documentation

CachedMessageIndex::retrieve (  ) 
Returns:
array

Reimplemented from MessageIndex.

Definition at line 393 of file MessageIndex.php.

CachedMessageIndex::store ( array $  array  )  [protected]

Reimplemented from MessageIndex.

Definition at line 411 of file MessageIndex.php.


Member Data Documentation

CachedMessageIndex::$cache [protected]

Definition at line 383 of file MessageIndex.php.

CachedMessageIndex::$index [protected]

Definition at line 386 of file MessageIndex.php.

CachedMessageIndex::$key = 'translate-messageindex' [protected]

Definition at line 382 of file MessageIndex.php.

Referenced by retrieve(), and store().


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:43 2013 for MediaWiki Translate Extension by  doxygen 1.6.3