HashBagOStuff Class Reference
[Cache]

Functional versions! This is a test of the interface, mainly. More...

Inherits BagOStuff.

List of all members.

Public Member Functions

 __construct ()
 _expire ($key)
 get ($key)
 set ($key, $value, $exptime=0)
 delete ($key, $time=0)
 keys ()

Public Attributes

 $bag


Detailed Description

Functional versions! This is a test of the interface, mainly.

It stores things in an associative array, which is not going to persist between program runs.

Definition at line 178 of file BagOStuff.php.


Constructor & Destructor Documentation

HashBagOStuff::__construct (  ) 

Reimplemented from BagOStuff.

Definition at line 181 of file BagOStuff.php.


Member Function Documentation

HashBagOStuff::_expire ( key  ) 

Definition at line 185 of file BagOStuff.php.

References $key.

Referenced by get().

HashBagOStuff::delete ( key,
time = 0 
)

Reimplemented from BagOStuff.

Definition at line 205 of file BagOStuff.php.

References $key.

HashBagOStuff::get ( key  ) 

Reimplemented from BagOStuff.

Definition at line 193 of file BagOStuff.php.

References $key, and _expire().

HashBagOStuff::keys (  ) 

Reimplemented from BagOStuff.

Definition at line 212 of file BagOStuff.php.

HashBagOStuff::set ( key,
value,
exptime = 0 
)

Reimplemented from BagOStuff.

Definition at line 201 of file BagOStuff.php.

References $key, and BagOStuff::convertExpiry().


Member Data Documentation

HashBagOStuff::$bag

Definition at line 179 of file BagOStuff.php.


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

Generated on Sat Sep 5 02:08:38 2009 for MediaWiki by  doxygen 1.5.9