UNA
BxDolCacheXCache Class Reference
Inheritance diagram for BxDolCacheXCache:
BxDolCache BxDol

Public Member Functions

 getData ($sKey, $iTTL=false)
 
 setData ($sKey, $mixedData, $iTTL=false)
 
 delData ($sKey)
 
 isAvailable ()
 
 isInstalled ()
 
 removeAllByPrefix ($s)
 
- Public Member Functions inherited from BxDolCache
 isAvailable ()
 
 isInstalled ()
 

Member Function Documentation

◆ delData()

BxDolCacheXCache::delData (   $sKey)

Delete cache from shared memory

Parameters
string$sKey- file name
Returns
result of the operation

◆ getData()

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

Get data from shared memory cache

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

◆ isAvailable()

BxDolCacheXCache::isAvailable ( )

Check if xcache functions are available

Returns
boolean

◆ isInstalled()

BxDolCacheXCache::isInstalled ( )

Check if xcache extension is loaded

Returns
boolean

◆ removeAllByPrefix()

BxDolCacheXCache::removeAllByPrefix (   $s)

remove all data from cache by key prefix

Returns
true on success

◆ setData()

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

Save data in shared memory cache

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: