APCBagOStuff Class Reference
[Cache]

This is a wrapper for APC'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)
 keys ()


Detailed Description

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

Definition at line 469 of file BagOStuff.php.


Member Function Documentation

APCBagOStuff::delete ( key,
time = 0 
)

Reimplemented from BagOStuff.

Definition at line 483 of file BagOStuff.php.

APCBagOStuff::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 470 of file BagOStuff.php.

APCBagOStuff::keys (  ) 

Reimplemented from BagOStuff.

Definition at line 488 of file BagOStuff.php.

References $keys.

APCBagOStuff::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 478 of file BagOStuff.php.


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

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