Class ilXcache.
More...
◆ delete()
◆ exists()
◆ flush()
- Returns
- bool
Definition at line 60 of file class.ilXcache.php.
61 $_SERVER[
"PHP_AUTH_USER"] =
"xcache";
62 $_SERVER[
"PHP_AUTH_PW"] =
"xcache";
64 xcache_clear_cache(XC_TYPE_VAR, 0);
◆ get()
◆ getActive()
- Returns
- bool
Definition at line 93 of file class.ilXcache.php.
References ilGlobalCacheService\$active.
94 $function_exists = function_exists(
'xcache_set');
95 $var_size = ini_get(
'xcache.var_size') !=
'0M';
96 $var_count = ini_get(
'xcache.var_count') > 0;
97 $api = (php_sapi_name() !==
'cli');
99 $active = $function_exists AND $var_size AND $var_count AND $api;
◆ getInfo()
◆ getInstallable()
ilXcache::getInstallable |
( |
| ) |
|
|
protected |
◆ getMemoryLimit()
ilXcache::getMemoryLimit |
( |
| ) |
|
|
protected |
- Returns
- int|string
Definition at line 126 of file class.ilXcache.php.
127 return ini_get(
'xcache.var_size');
◆ getMinMemory()
ilXcache::getMinMemory |
( |
| ) |
|
|
protected |
◆ serialize()
ilXcache::serialize |
( |
|
$value | ) |
|
◆ set()
ilXcache::set |
( |
|
$key, |
|
|
|
$serialized_value, |
|
|
|
$ttl = NULL |
|
) |
| |
◆ unserialize()
ilXcache::unserialize |
( |
|
$serialized_value | ) |
|
- Parameters
-
- Returns
- mixed
Definition at line 85 of file class.ilXcache.php.
unserialize($serialized_value)
◆ MIN_MEMORY
const ilXcache::MIN_MEMORY = 32 |
The documentation for this class was generated from the following file: