Home
last modified time | relevance | path

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

12345678910>>...27

/plugin/diagramsnet/lib/WEB-INF/lib/
H A Dcache-api-1.1.1.jar ... integration/ javax/cache/processor/ javax/cache/management/ javax/cache/annotation/ javax ...
/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/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/struct/action/
H A Dcache.php39 * For pages potentially containing schema data, refresh the cache when schema data has been
49 /** @var \cache_parser $cache */
50 $cache = $event->data;
51 if ($cache->mode != 'xhtml') return true;
52 if (!$cache->page) return true; // not a page cache
55 if (!$assignments->getPageAssignments($cache->page)) return true; // no struct here
57 $cache->depends['files'][] = self::getSchemaRefreshFile();
63 * to the cache dependencies
74 /** @var \cache_parser $cache */
[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/changes/
H A Daction.php36 $cache = $event->data;
37 if (isset($cache->mode) && ($cache->mode == 'xhtml')) {
40 $this->addDependencies($cache, array_keys($depends['rendering']));
46 * Add extra dependencies to the cache
48 protected function addDependencies($cache, $depends)
51 if (!is_array($cache->depends)) {
52 $cache->depends = [];
54 if (!array_key_exists('files', $cache->depends)) {
55 $cache
44 addDependencies($cache, $depends) global() argument
[all...]
/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/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/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/structpublish/action/
H A Dcache.php23 * For pages containing an aggregation, add structpublish flag to cache key
31 /** @var \dokuwiki\Cache\CacheParser $cache */
32 $cache = $event->data;
33 if ($cache->mode != 'xhtml') return true;
34 if (!$cache->page) return true; // not a page cache
36 $meta = p_get_metadata($cache->page, 'plugin struct');
39 $cache->key .= ';' . helper_plugin_structpublish_db::userHasRole($cache->page, '', []);
41 // rebuild cache nam
[all...]
/plugin/authgooglesheets/vendor/google/auth/src/
H A DApplicationDefaultCredentials.php85 * @param CacheItemPoolInterface $cache A cache implementation, may be
94 CacheItemPoolInterface $cache = null argument
124 CacheItemPoolInterface $cache = null, argument
155 CacheItemPoolInterface $cache = null, argument
184 } elseif (self::onGce($httpHandler, $cacheConfig, $cache)) {
191 if (!is_null($cache)) {
217 CacheItemPoolInterface $cache = null argument
244 CacheItemPoolInterface $cache = null argument
269 CacheItemPoolInterface $cache = null argument
298 } elseif (self::onGce($httpHandler, $cacheConfig, $cache)) {
[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/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/pagequery/
H A Daction.php19 * Check for pages changes and eventually purge cache.
29 /** @var cache_parser $cache */
30 $cache = $event->data;
32 if (!isset($cache->page)) {
35 //purge only xhtml cache
36 if ($cache->mode !== "xhtml") {
59 $cache->key .= "#" . $newkey;
60 $cache->cache = getCacheName($cache
[all...]
/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
[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/mediasyntax/
H A Daction.php110 * prepare the cache object for default _useCache action
118 $cache =& $event->data;
121 // without the ID check we'd get the cache objects for included pages as well
122 if(!isset($cache->page) || ($cache->page != $ID)) return;
123 if(!isset($cache->mode) || !in_array($cache->mode, $this->supportedModes)) return;
146 $cache->depends['purge'] = true; // kill some performance
152 $cache->depends['purge'] = true; // include key not set - request purge
166 $cache
[all...]
/plugin/navi/
H A Daction.php21 $cache =& $event->data;
24 if (!isset($cache->page)) return;
25 if ($cache->mode != 'i') return;
28 $depends = p_get_metadata($cache->page, 'relation naviplugin');
30 …$cache->depends['files'] = !empty($cache->depends['files']) ? array_merge($cache->depends['files'],
/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/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/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);
/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): $…

12345678910>>...27