|
| $iTTL = 3600 |
|
| $iStoreFlag = 0 |
|
| $oMemcache = null |
|
◆ __construct()
BxDolCacheMemcache::__construct |
( |
| ) |
|
constructor
Reimplemented from BxDol.
◆ delData()
BxDolCacheMemcache::delData |
( |
| $sKey | ) |
|
Delete cache from cache server
- Parameters
-
- Returns
- result of the operation
Reimplemented from BxDolCache.
◆ getData()
BxDolCacheMemcache::getData |
( |
| $sKey, |
|
|
| $iTTL = false ) |
Get data from cache server
- Parameters
-
string | $sKey | - file name |
int | $iTTL | - time to live |
- Returns
- the data is got from cache.
Reimplemented from BxDolCache.
◆ isAvailable()
BxDolCacheMemcache::isAvailable |
( |
| ) |
|
Check if memcache is available
- Returns
- boolean
Reimplemented from BxDolCache.
◆ isInstalled()
BxDolCacheMemcache::isInstalled |
( |
| ) |
|
Check if memcache extension is loaded
- Returns
- boolean
Reimplemented from BxDolCache.
◆ removeAllByPrefix()
BxDolCacheMemcache::removeAllByPrefix |
( |
| $s | ) |
|
It always removes all data, regardless the prefix param
- Returns
- true on success
Reimplemented from BxDolCache.
◆ setData()
BxDolCacheMemcache::setData |
( |
| $sKey, |
|
|
| $mixedData, |
|
|
| $iTTL = false ) |
Save data in cache server
- 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.
Reimplemented from BxDolCache.
The documentation for this class was generated from the following file:
- inc/classes/BxDolCacheMemcache.php