Cheetah
Public Member Functions | List of all members
ChWsbCacheFileHtml Class Reference
Inheritance diagram for ChWsbCacheFileHtml:

Public Member Functions

 __construct ()
 
 getData ($sKey, $iTTL=false)
 
 getDataFilePath ($sKey, $iTTL=false)
 
 setData ($sKey, $mixedData, $iTTL=false)
 

Detailed Description

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 10 of file ChWsbCacheFileHtml.php.

Constructor & Destructor Documentation

◆ __construct()

ChWsbCacheFileHtml::__construct ( )

constructor

Definition at line 15 of file ChWsbCacheFileHtml.php.

Member Function Documentation

◆ getData()

ChWsbCacheFileHtml::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.

Definition at line 27 of file ChWsbCacheFileHtml.php.

◆ getDataFilePath()

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

Get full path to cache file

Definition at line 41 of file ChWsbCacheFileHtml.php.

◆ setData()

ChWsbCacheFileHtml::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.

Definition at line 60 of file ChWsbCacheFileHtml.php.


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