PHP Class Infusionsoft_SmartCache, infusionsoft-php-sdk

Afficher le fichier Open project: novaksolutions/infusionsoft-php-sdk Class Usage Examples

Protected Properties

Свойство Type Description
$dir
$name
$staticExternalCacheClass
$ttl

Méthodes publiques

Méthode Description
__construct ( $name, $ttl = 300, $dir = 'cache' )
cacheData ( $data )
expireCache ( )
getCacheFileName ( )
getData ( )
getDataFromCache ( )
getDataFromCacheIfNotStale ( )
getDataFromSource ( )
isDataNotStale ( $data )
setExternalCacheClassName ( $className )

Method Details

__construct() public méthode

public __construct ( $name, $ttl = 300, $dir = 'cache' )

cacheData() public méthode

public cacheData ( $data )

expireCache() public méthode

public expireCache ( )

getCacheFileName() public méthode

public getCacheFileName ( )

getData() public méthode

public getData ( )

getDataFromCache() public méthode

public getDataFromCache ( )

getDataFromCacheIfNotStale() public méthode

getDataFromSource() public méthode

public getDataFromSource ( )

isDataNotStale() public méthode

public isDataNotStale ( $data )

setExternalCacheClassName() public static méthode

public static setExternalCacheClassName ( $className )

Property Details

$dir protected_oe property

protected $dir

$name protected_oe property

protected $name

$staticExternalCacheClass protected_oe static_oe property

protected static $staticExternalCacheClass

$ttl protected_oe property

protected $ttl