MkFramework
 All Data Structures Functions
Public Member Functions | Protected Attributes
_cacheVar Class Reference

Public Member Functions

 isCached ($sId, $iMinute=null)
 
 getCached ($sId)
 
 setCache ($sId, $uData)
 
 clearCache ($sId)
 

Protected Attributes

 $_oFile =null
 

Detailed Description

_cachevar classe pour gerer le cache de variable (par exemple recordset de requete ORM)

Author
Mika http://mkf.mkdevs.com/

Definition at line 23 of file class_cacheVar.php.

Member Function Documentation

clearCache (   $sId)

supprime l'objet _view $sId en cache public

Parameters
string$sId

Definition at line 81 of file class_cacheVar.php.

getCached (   $sId)

retourne l'objet php $sId en cache public

Returns
mixed uData

Definition at line 59 of file class_cacheVar.php.

isCached (   $sId,
  $iMinute = null 
)

retourne vrai ou faux selon que le cache est rescent public

Parameters
string$sId
int$iMinute
Returns
bool

Definition at line 42 of file class_cacheVar.php.

setCache (   $sId,
  $uData 
)

met l'objet _view $sId en cache public

Parameters
mixed$uData

Definition at line 69 of file class_cacheVar.php.


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