Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 601) sorted by relevance

12345678910>>...25

/plugin/epub/
H A Dhelper.php7 private $cache; variable in helper_plugin_epub
11 if(!$this->cache) $this->cache = array();
25 if(isset($this->cache[$md5])) return true;
35 unset($this->cache[$md5]);
36 if(isset($this->cache['current_books'][$md5])) {
37 unset($this->cache['current_books'][$md5]);
55 $this->cache[md5($id)] = $id;
63 return $this->cache;
70 $this->cache[$md5] = $id;
72 if(!isset($this->cache['current_books'])) {
[all …]
/plugin/struct/action/
H A Dcache.php47 $cache = $event->data;
48 if ($cache->mode != 'xhtml') return true;
49 if (!$cache->page) return true; // not a page cache
72 $cache = $event->data;
73 if ($cache->mode != 'xhtml') return true;
74 if (!$cache->page) return true; // not a page cache
94 $cache->key .= 'dynamic';
99 $oldage = $cache->depends['age'];
110 $cache->cache = getCacheName($cache->key, $cache->ext);
127 $cache = $event->data;
[all …]
/plugin/poldek/
H A Dhelper.php25 private $cache; variable in helper_plugin_poldek
41 if ($this->cache) {
69 touch($idx_cache->cache);
75 touch($pkg_cache->cache);
90 $this->cache = $pkg_cache->cache;
94 static $cache;
96 if (!$cache) {
97 $cache = array();
103 $cache[$m['name']] = $line;
111 return $cache[$package];
[all …]
/plugin/structat/action/
H A Dcache.php40 $cache = $event->data;
41 if ($cache->mode != 'xhtml') return true;
42 if (!$cache->page) return true; // not a page cache
44 $meta = p_get_metadata($cache->page, 'plugin struct');
57 $cache->key = substr($cache->key, 0, -strlen($user_key));
61 $cache->key .= 'dynamic';
63 $cache->key .= $user_key;
67 $cache->cache = getCacheName($cache->key, $cache->ext);
84 $cache = $event->data;
85 if ($cache->mode != 'xhtml') return true;
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Cache/
H A DExpiringCache.php21 private $cache; variable in Assetic\\Cache\\ExpiringCache
24 public function __construct(CacheInterface $cache, $lifetime) argument
26 $this->cache = $cache;
32 if ($this->cache->has($key)) {
33 if (time() < $this->cache->get($key.'.expires')) {
37 $this->cache->remove($key.'.expires');
38 $this->cache->remove($key);
46 return $this->cache->get($key);
52 $this->cache->set($key, $value);
57 $this->cache->remove($key.'.expires');
[all …]
/plugin/randominc/
H A Daction.php37 $cache =& $event->data;
40 if (!isset($cache->page)) return;
41 if (!isset($cache->mode) || !in_array($cache->mode, $this->supportedModes)) return;
45 $expire = $this->_inclusion_check($cache->page, $key, $depends);
54 $cache->include = true;
57 $cache->key .= $key;
58 $cache->cache = getCacheName($cache->key, $cache->ext);
69 …$cache->depends['files'] = !empty($cache->depends['files']) ? array_merge($cache->depends['files']…
117 $cache =& $event->data;
118 if (empty($cache->include)) return;
/plugin/swiftmail/Swift/Message/
H A DMime.php95 protected $cache; variable in Swift_Message_Mime
143 $this->cache->clear("body");
169 $this->cache->clear("body");
170 $this->cache->clear("append");
171 $this->cache->clear("headers");
172 $this->cache->clear("dbl_le");
208 $this->cache->clear("body");
261 $this->cache->clear("body");
302 if ($this->cache->has("body"))
383 $this->cache->clear("body");
[all …]
/plugin/ghissues/helper/
H A DapiCacheInterface.php68 $cache = new cache_ghissues_api($apiURL);
69 $this->checkCacheFreshness($apiURL, $cache);
70 return ($cache->cache);
76 if ( !isset($cache) ) {
77 $cache = new cache_ghissues_api($apiURL);
90 if ( !isset($cache) ) {
91 $cache = new cache_ghissues_api($apiURL);
109 $lastETag = $cache->retrieveETag();
149 if (!$cache->storeCache($newTable)) {
268 class cache_ghissues_api extends cache {
[all …]
/plugin/webcode/_test/
H A Ddokuwiki.test.php44 $cache = new cache($this->cacheKey, SELF::extension);
45 $cache->storeCache(SELF::storedContent);
46 …$this->assertNotNull($cache->cache, "The cache file name must be not NULL. It was (+".$cache->cach…
47 …ssertTrue(strpos($cache->cache,DOKU_INC) !== false, "The cache file path must contains DOKU_INC ("…
55 $cache = new cache($this->cacheKey, SELF::extension);
57 $content = $cache->retrieveCache();
/plugin/changes/
H A Daction.php32 $cache = $event->data;
33 if (isset($cache->mode) && ($cache->mode == 'xhtml')) {
36 $this->addDependencies($cache, array_keys($depends['rendering']));
44 protected function addDependencies($cache, $depends) argument
47 if (!is_array($cache->depends)) {
48 $cache->depends = array();
50 if (!array_key_exists('files', $cache->depends)) {
51 $cache->depends['files'] = array();
55 if (!in_array($file, $cache->depends['files']) && @file_exists($file)) {
56 $cache->depends['files'][] = $file;
/plugin/pagetitle/
H A Daction.php120 $cache =& $event->data;
123 if (!isset($cache->page)) return;
126 if ($cache->mode == 'xhtml') {
127 $metadata = p_get_metadata($cache->page, 'plugin pagetitle');
136 $cache->depends['files'] = array_merge((array)$cache->depends['files'], $depends);
142 $pageTitled = in_array($cache->page, $pages);
148 switch ($cache->mode) {
150 $request = ($title == $cache->page) ? true : false;
153 $request = ($title == $cache->page) ? true : false;
156 $request = ($title == $cache->page) ? true : false;
[all …]
/plugin/findologicxmlexport/vendor/jms/metadata/src/Cache/
H A DDoctrineCacheAdapter.php22 private $cache; variable in Metadata\\Cache\\DoctrineCacheAdapter
24 public function __construct(string $prefix, Cache $cache) argument
27 $this->cache = $cache;
35 $cache = $this->cache->fetch($this->prefix . $class);
36 return false === $cache ? null : $cache;
44 $this->cache->save($this->prefix . $metadata->name, $metadata);
52 $this->cache->delete($this->prefix . $class);
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Fonts/
H A DFontCache.php12 private $cache; variable in Mpdf\\Fonts\\FontCache
14 public function __construct(Cache $cache) argument
16 $this->cache = $cache;
21 return $this->cache->tempFilename($filename);
26 return $this->cache->has($filename);
36 return $this->cache->load($filename);
51 return $this->cache->write($filename, $data);
56 return $this->cache->write($filename, $data);
61 return $this->cache->write($filename, json_encode($data));
66 return $this->cache->remove($filename);
/plugin/pagequery/
H A Daction.php57 $cache = &$event->data;
59 if(!isset($cache->page)) return;
61 if($cache->mode != "xhtml") return;
76 $cache->key .= "#".$newkey;
77 $cache->cache = getCacheName($cache->key, $cache->ext);
81 if(@filemtime($cache->cache) < @filemtime($conf['cachedir'].'/purgefile')) {
/plugin/mediasyntax/
H A Daction.php122 $cache =& $event->data;
126 if(!isset($cache->page) || ($cache->page != $ID)) return;
127 if(!isset($cache->mode) || !in_array($cache->mode, $this->supportedModes)) return;
150 $cache->depends['purge'] = true; // kill some performance
156 $cache->depends['purge'] = true; // include key not set - request purge
170 $cache->depends['files'][] = dirname(__FILE__) . '/plugin.info.txt';
178 if(!in_array($cache->depends['files'], array($file)) && @file_exists($file))
180 $cache->depends['files'][] = $file;
189 $cache->include = true;
193 $cache->key .= $key;
[all …]
/plugin/notification/action/
H A Dcache.php40 $cache = $event->data;
42 if(!$cache->page) return;
44 if($cache->mode != 'xhtml') return;
47 $notification = p_get_metadata($cache->page, 'plugin notification');
51 $cache->_nocache = true;
63 $cache->depends['files'] = array_merge($cache->depends['files'], $data['dependencies']);
64 $cache->_nocache = $data['_nocache'];
/plugin/quickstats/
H A Dhelper.php13 private $cache; variable in helper_plugin_quickstats
50 $this->cache = unserialize(io_readFile($this->script_file,false));
51 if(!$this->cache) $this->cache = array();
68 if(isset($this->cache[$md5])) return true;
80 unset($this->cache[$del]);
81 io_saveFile($this->script_file,serialize($this->cache));
83 return $this->cache;
89 $this->cache[md5($id)] = $id;
90 io_saveFile($this->script_file,serialize($this->cache));
124 return $this->cache;
/plugin/twitter/
H A Daction.php28 $cache =& $event->data;
31 if (!isset($cache->page)) {
34 if (!isset($cache->mode) || !in_array($cache->mode, array('i', 'metadata'))) {
38 $max_age = $this->_cache_maxage($cache->page);
52 …$cache->depends['age'] = !empty($cache->depends['age']) ? min($cache->depends['age'], $max_age) : …
/plugin/navi/
H A Daction.php27 $cache =& $event->data;
30 if (!isset($cache->page)) return;
31 if ($cache->mode != 'i') return;
34 $depends = p_get_metadata($cache->page, 'relation naviplugin');
36 …$cache->depends['files'] = !empty($cache->depends['files']) ? array_merge($cache->depends['files'],
/plugin/eventum/
H A Dsyntax.php77 function cache($id, $data = null) { function in syntax_plugin_eventum
87 $cache = array();
95 foreach ($cache as $i => $ent) {
97 unset($cache[$i]);
103 return isset($cache[$id]) ? $cache[$id] : null;
107 $cache[$id] = $data;
108 file_put_contents($cachefile, serialize($cache));
139 $cache = $this->cache($id);
140 if ($cache !== null) {
141 return $cache;
[all …]
/plugin/tindexmenu/
H A Daction.php94 $cache = &$event->data;
96 if (!isset($cache->page)) return;
98 if ($cache->mode != "xhtml") return;
113 $cache->key .= "#".$newkey;
114 $cache->cache = getCacheName($cache->key, $cache->ext);
118 if (@filemtime($cache->cache) < @filemtime($conf['cachedir'].'/purgefile')) {
/plugin/footer/
H A Daction.php206 $cache = &$event->data;
209 if(!isset($cache->page)) return;
213 if($cache->mode != "xhtml") return;
243 $cache->key .= "#".$newkey;
245 $cache->cache = getCacheName($cache->key, $cache->ext);
253 if(@filemtime($cache->cache) < @filemtime($conf['cachedir'].'/purgefile')) {
/plugin/src/
H A Daction.php48 $cache =& $event->data;
51 if (!isset($cache->page)) return;
52 if (!isset($cache->mode) || in_array($cache->mode,array('i','metadata'))) return;
54 $max_age = $this->_cache_maxage($cache->page);
65 …$cache->depends['age'] = !empty($cache->depends['age']) ? min($cache->depends['age'],$max_age): $…
/plugin/source/
H A Daction.php46 $cache =& $event->data;
49 if (!isset($cache->page)) return;
50 if (!isset($cache->mode) || in_array($cache->mode,array('i','metadata'))) return;
52 $max_age = $this->_cache_maxage($cache->page);
63 …$cache->depends['age'] = !empty($cache->depends['age']) ? min($cache->depends['age'],$max_age): $…
/plugin/datatemplate/
H A Daction.php46 $cache =& $event->data;
49 if (!isset($cache->page)) return;
50 if (!isset($cache->mode) || $cache->mode != 'metadata') return;
52 $files = $this->_get_dependencies($cache->page);
53 $cache->depends['files'] = array_merge($cache->depends['files'], $files);

12345678910>>...25