Lines Matching refs:cache
25 private $cache; variable in helper_plugin_poldek
41 if ($this->cache) {
47 $idx_cache = new cache($this->getPluginName(), '.idx');
48 $pkg_cache = new cache($this->getPluginName(), '.txt');
49 $cache_exists = file_exists($pkg_cache->cache);
55 …ache_ok = $cache_exists && filesize($pkg_cache->cache) && !preg_grep('/^error:/', file($pkg_cache-…
69 touch($idx_cache->cache);
75 touch($pkg_cache->cache);
82 …if (($force || !$cache_exists) && !$pkg_cache->useCache(array('files' => array($idx_cache->cache))…
90 $this->cache = $pkg_cache->cache;
94 static $cache;
96 if (!$cache) {
97 $cache = array();
103 $cache[$m['name']] = $line;
105 $cache[$m['name']] = $line;
110 if (isset($cache[$package])) {
111 return $cache[$package];
123 return $this->cache;