Lines Matching refs:depends
219 $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['pages']);
242 dbglog($this->helper->_get_included_pages_from_meta_instructions($depends['instructions']));
247 // add plugin.info.txt to depends for nicer upgrades
248 $cache->depends['files'][] = dirname(__FILE__) . '/plugin.info.txt';
249 foreach ($depends['pages'] as $page) {
252 if (!in_array($file, $cache->depends['files'])) {
253 $cache->depends['files'][] = $file;