18 import(
'lib.pkp.classes.cache.GenericCache');
33 if (function_exists(
'xcache_unset_by_prefix')) {
35 xcache_unset_by_prefix(prefix);
38 for ($i = 0; $i < xcache_count(XC_TYPE_VAR); $i++) {
39 $cache = xcache_list(XC_TYPE_VAR, $i);
40 foreach ($cache[
'cache_list'] as $entry) {
41 if (substr($entry[
'name'], 0, strlen($prefix)) == $prefix) xcache_unset($entry[
'name']);
54 $returner = unserialize(xcache_get($key));
81 foreach ($contents as $id => $value) {