Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
StudipNullCache Class Reference
Inheritance diagram for StudipNullCache:
Inheritance graph
Collaboration diagram for StudipNullCache:
Collaboration graph

Public Member Functions

 expire ($key)
 read ($key)
 write ($name, $content, $expire=43200)

Member Function Documentation

expire (   $key)

Expires just a single key.

Parameters
stringthe key
Returns
void

Implements StudipCache.

read (   $key)

Reads just a single key from the cache.

Parameters
stringthe key
Returns
mixed the corresponding value

Implements StudipCache.

write (   $name,
  $content,
  $expire = 43200 
)

Store data at the server.

Parameters
stringthe item's key.
stringthe item's content.
intthe item's expiry time in seconds. Defaults to 12h.
Returns
mixed returns TRUE on success or FALSE on failure.

Implements StudipCache.


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