Home
last modified time | relevance | path

Searched refs:depends (Results 1 – 25 of 521) sorted by relevance

12345678910>>...21

/plugin/changes/
H A Daction.php38 $depends = p_get_metadata($ID, 'relation depends');
39 if (!empty($depends) && isset($depends['rendering'])) {
40 $this->addDependencies($cache, array_keys($depends['rendering']));
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->depends['file
44 addDependencies($cache, $depends) global() argument
[all...]
/plugin/jplayer/vendor/james-heinrich/getid3/
H A Ddependencies.txt13 lyrics3 depends on apetag (optional)
14 ogg depends on flac
15 id3v2 depends on id3v1
17 bonk depends on id3v2 (optional)
18 riff depends on mp3
19 mpeg depends on mp3
20 quicktime depends on mp3
21 flac depends on ogg
22 optimfrog depends on riff
23 la depends on riff
[all …]
/plugin/navi/
H A Daction.php28 $depends = p_get_metadata($cache->page, 'relation naviplugin');
29 if (!is_array($depends) || !count($depends)) return; // nothing to do
30 …$cache->depends['files'] = !empty($cache->depends['files']) ? array_merge($cache->depends['files'],
31 $depends) : $depends;
/plugin/randominc/
H A Daction.php44 $depends = array();
45 $expire = $this->_inclusion_check($cache->page, $key, $depends);
69 …$cache->depends['files'] = !empty($cache->depends['files']) ? array_merge($cache->depends['files']…
79 * @param array $depends array of include file dependencies
83 function _inclusion_check($id, &$key, &$depends) { argument
99 if ($this->_inclusion_check($page, $key, $depends)) { $expire = true; }
100 if (($acl = $this->_acl_read_check($page)) != 'NONE') { $depends[] = $file; }
/plugin/include/
H A Daction.php219 $depends = p_get_metadata($cache->page, 'plugin_include');
223 dbglog($depends);
227 if (!is_array($depends)) return; // nothing to do for us
229 if (!is_array($depends['pages']) ||
230 !is_array($depends['instructions']) ||
231 $depends['pages'] != $this->helper->_get_included_pages_from_meta_instructions($depends['instructions']) ||
233 $depends['include_content'] != isset($_REQUEST['include_content'])) {
235 $cache->depends['purge'] = true; // included pages changed or old metadata - request purge.
239 dbglog($depends['page
[all...]
/plugin/mediasyntax/
H A Daction.php134 $depends = p_get_metadata($ID, 'plugin_mediasyntax');
142 dbglog($depends);
146 $cache->depends['purge'] = true; // kill some performance
147 if(is_array($depends))
150 if(!isset($depends['keys'][$include_key]))
152 $cache->depends['purge'] = true; // include key not set - request purge
156 $pages = $depends['pages'];
165 // add plugin.info.txt to depends for nicer upgrades
166 $cache->depends['files'][] = dirname(__FILE__) . '/plugin.info.txt';
174 if(!in_array($cache->depends['file
[all...]
/plugin/pagetitle/
H A Daction.php132 $depends = [];
134 $depends[] = wikiFN($id, '', false);
136 $cache->depends['files'] = array_merge((array)$cache->depends['files'], $depends);
160 $cache->depends['purge'] = $request;
/plugin/odt/action/
H A Dexport.php189 $depends = array();
190 $cache = $this->prepareCache($title, $depends);
193 if(!$this->getConf('usecache') || !$cache->useCache($depends)) {
369 * @param array $depends (reference) array with dependencies
372 protected function prepareCache($title, &$depends) { argument
412 $depends['files'] = array_map('wikiFN', $this->list);
413 $depends['files'][] = __FILE__;
414 $depends['files'][] = dirname(__FILE__) . '/../renderer/page.php';
416 $depends['files'][] = dirname(__FILE__) . '/../plugin.info.txt';
417 $depends['files'] = array_merge(
[all …]
/plugin/toctweak/action/
H A Drendertoc.php98 $depends = p_get_metadata($cache->page, 'relation toctweak');
99 if (!$depends) break;
100 $cache->depends['files'] = ($cache->depends['files'])
101 ? array_merge($cache->depends['files'], $depends)
102 : $depends;
/plugin/twitter/
H A Daction.php52 …$cache->depends['age'] = !empty($cache->depends['age']) ? min($cache->depends['age'], $max_age) : …
/plugin/tagfilter/syntax/
H A Dfilter.php167 $depends = [
173 $depends['files'] = array_merge($depends['files'], getConfigFiles('main'));
176 $depends['age'] = $flags['cache'];
186 $depends['files'] = array_merge($depends['files'], $data);
188 $depends['purge'] = true;
194 if (!$filterDataCache->useCache($depends)) {
/plugin/qna/
H A Daction.php187 $depends = p_get_metadata($ID, 'relation depends');
189 if (!empty($depends) && isset($depends['rendering'])) {
190 $this->addDependencies($cache, array_keys($depends['rendering']));
199 private function addDependencies($cache, $depends) { argument
200 foreach ($depends as $file) {
201 if (!in_array($file, $cache->depends['files']) && file_exists($file)) {
202 $cache->depends['files'][] = $file;
/plugin/struct/action/
H A Dcache.php57 $cache->depends['files'][] = self::getSchemaRefreshFile();
83 // cache depends on last database save
86 $cache->depends['files'][] = $sqlite->getDbFile();
100 // cache depends on today's date
102 $oldage = $cache->depends['age'];
104 $cache->depends['age'] = min($oldage, $newage);
107 // cache depends on current user
/plugin/src/
H A Daction.php65 …$cache->depends['age'] = !empty($cache->depends['age']) ? min($cache->depends['age'],$max_age): $…
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/TextUI/
H A Ddependencies.phpt32 This test depends on "DependencyFailureTest::testOne" to pass.
35 This test depends on "DependencyFailureTest::testTwo" to pass.
38 This test depends on "DependencyFailureTest::testOne" to pass.
H A Ddependencies-isolation.phpt33 This test depends on "DependencyFailureTest::testOne" to pass.
36 This test depends on "DependencyFailureTest::testTwo" to pass.
39 This test depends on "DependencyFailureTest::testOne" to pass.
/plugin/source/
H A Daction.php63 …$cache->depends['age'] = !empty($cache->depends['age']) ? min($cache->depends['age'],$max_age): $…
/plugin/siteexport/inc/
H A Dfilewriter.php149 public function hasValidCacheFile($requestData, $depends = array()) argument
152 return $this->hasValidCacheFileForPattern($pattern, $depends);
155 private function hasValidCacheFileForPattern($pattern, $depends = array()) argument
172 if (!empty($depends))
174 $this->functions->debug->message("Checking dependencies: ", $depends, 1);
175 foreach ($depends as $site) {
/plugin/externalembed/
H A Daction.php125 … $page_cache->depends['files'][] = $new_cache->cache; //add cache file to the 'depends' array
128 …$page_cache->depends['files'][] = $cacheHelper->getCacheFile($video_id); // adds the file path to …
152 …$page_cache->depends['files'][] = $new_cache->cache; //add new playlist cache file to the depends …
157 … $page_cache->depends['files'][] = $cacheHelper->getExistingCache($playlist_id)->cache;
/plugin/htmlokay/
H A Daction.php60 $depends = p_get_metadata($cache->page, 'relation htmlokay');
62 if(isset($depends)) {
63 if(!empty($cache->depends['files'])) {
64 $cache->depends['files'][] = $meta_file;
68 else $cache->depends['files'] = array($meta_file);
/plugin/abbrlist/
H A Daction.php24 $cache->depends['files'][] = DOKU_INC + 'conf/acronyms.conf';
25 $cache->depends['files'][] = DOKU_INC + 'conf/acronyms.local.conf';
/plugin/notification/action/
H A Dcache.php62 $cache->depends['files'] = array_merge($cache->depends['files'], $data['dependencies']);
/plugin/blog/
H A Daction.php244 $cache->depends['files'][] = $conf['cachedir'].'/purgefile';
245 $cache->depends['files'][] = $conf['metadir'].'/_comments.changes';
246 $cache->depends['files'][] = $conf['metadir'].'/_linkbacks.changes';
253 $cache->depends['purge'] = true;
/plugin/datatemplate/
H A Daction.php53 $cache->depends['files'] = array_merge($cache->depends['files'], $files);
/plugin/redirect2/
H A Dhelper.php35 $depends = array('files' => array($this->ConfFile));
37 if ($cache->useCache($depends)) {

12345678910>>...21