eAccelBagOStuff Class Reference
[Cache]

This is a wrapper for eAccelerator's shared memory functions. More...

Inherits BagOStuff.

List of all members.

Public Member Functions

 get ($key)
 Get an item with the given key.
 set ($key, $value, $exptime=0)
 Set an item.
 delete ($key, $time=0)
 lock ($key, $waitTimeout=0)
 unlock ($key)


Detailed Description

This is a wrapper for eAccelerator's shared memory functions.

This is basically identical to the deceased Turck MMCache version, mostly because eAccelerator is based on Turck MMCache.

Definition at line 507 of file BagOStuff.php.


Member Function Documentation

eAccelBagOStuff::delete ( key,
time = 0 
)

Reimplemented from BagOStuff.

Definition at line 521 of file BagOStuff.php.

eAccelBagOStuff::get ( key  ) 

Get an item with the given key.

Returns false if it does not exist.

Parameters:
$key string

Reimplemented from BagOStuff.

Definition at line 508 of file BagOStuff.php.

eAccelBagOStuff::lock ( key,
waitTimeout = 0 
)

Reimplemented from BagOStuff.

Definition at line 526 of file BagOStuff.php.

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

Set an item.

Parameters:
$key string
$value mixed
$exptime int Either an interval in seconds or a unix timestamp for expiry

Reimplemented from BagOStuff.

Definition at line 516 of file BagOStuff.php.

eAccelBagOStuff::unlock ( key  ) 

Reimplemented from BagOStuff.

Definition at line 531 of file BagOStuff.php.


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

Generated on Sat Apr 30 22:57:36 2011 for MediaWiki by  doxygen 1.5.9