UNA
BxDolCacheFileHtml Class Reference
Inheritance diagram for BxDolCacheFileHtml:
BxDolCacheFile BxDolCache BxDol

Public Member Functions

 getData ($sKey, $iTTL=false)
 
 getDataFilePath ($sKey, $iTTL=false)
 
 setData ($sKey, $mixedData, $iTTL=false)
 
- Public Member Functions inherited from BxDolCacheFile
 __construct ()
 
 getData ($sKey, $iTTL=false)
 
 setData ($sKey, $mixedData, $iTTL=false)
 
 delData ($sKey)
 
 removeAllByPrefix ($s)
 
 getSizeByPrefix ($s)
 
 _removeFileIfTtlExpired ($sFile, $iTTL)
 
- Public Member Functions inherited from BxDolCache
 isAvailable ()
 
 isInstalled ()
 

Member Function Documentation

◆ getData()

BxDolCacheFileHtml::getData (   $sKey,
  $iTTL = false 
)

Get all data from the cache file.

Parameters
string$sKey- file name
int$iTTL- time to live
Returns
the data is got from cache.

◆ getDataFilePath()

BxDolCacheFileHtml::getDataFilePath (   $sKey,
  $iTTL = false 
)

Get full path to cache file

◆ setData()

BxDolCacheFileHtml::setData (   $sKey,
  $mixedData,
  $iTTL = false 
)

Save all data in cache file.

Parameters
string$sKey- file name
mixed$mixedData- the data to be cached in the file
int$iTTL- time to live
Returns
boolean result of operation.

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