Static Public Member Functions | Private Member Functions | Static Private Attributes

cache Class Reference

Static Public Member Functions

static getInstance (array $cfg=array())
static idRequest (array $prm=array())

Private Member Functions

 __construct ()

Static Private Attributes

static $cfg

Detailed Description

Final class for cache

Definition at line 10 of file cache.class.php.


Constructor & Destructor Documentation

__construct (  )  [private]

No instanciation for this class

Definition at line 22 of file cache.class.php.


Member Function Documentation

static getInstance ( array $  cfg = array()  )  [static]

Get the unique cache instance

Parameters:
array $cfg Config for the cache instance
Returns:
cache_abstract The instance

Definition at line 30 of file cache.class.php.

static idRequest ( array $  prm = array()  )  [static]

Create an id depending on the request and options get, post, session or cookie

Parameters:
array $prm Configuration array with keys:

  • boolean uri Indicate if the uri should be used (default true)
  • array meth Which method used for creating the id (default array('get','post','session'))
Returns:
string The id

Definition at line 45 of file cache.class.php.


Field Documentation

$cfg [static, private]

Definition at line 17 of file cache.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations
Generated on Tue May 8 2012 16:02:25 for nyroFwk by doxygen 1.7.1