/plugin/externalembed/helper/ |
H A D | cacheInterface.php | 17 * @param $cache_id string the id of the cache 27 * @param $cache_id string the id of the cache 31 $cache->storeETag(md5(time())); 36 * @param $cache_id string the cache id 82 $cache->storeETag($timestamp); 83 return $cache; 158 * @param $page_cache mixed the page cache used in the PARSER CACHE USE event 162 if(($key = array_search($cache->cache, $page_cache->depends['files'])) !== false) { 190 return $cache->cache; 195 * Class that handles cache files, file locking and cache expiry [all …]
|
/plugin/diagramsnet/lib/WEB-INF/lib/ |
H A D | cache-api-1.1.1.jar | ... integration/
javax/cache/processor/
javax/cache/management/
javax/cache/annotation/
javax ... |
/plugin/structat/action/ |
H A D | cache.php | 28 * to the cache dependencies 39 /** @var \cache_parser $cache */ 40 $cache = $event->data; 42 if (!$cache->page) return true; // not a page cache 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); 83 /** @var \cache_parser $cache */ 84 $cache = $event->data; [all …]
|
/plugin/poldek/ |
H A D | helper.php | 23 * @var string $cache 25 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(); 111 return $cache[$package]; [all …]
|
/plugin/struct/action/ |
H A D | cache.php | 39 * 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/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Cache/ |
H A D | FilesystemTest.php | 12 use Twig\Cache\FilesystemCache; 20 private $cache; variable in Twig_Tests_Cache_FilesystemTest 49 $this->cache->load($key); 60 $this->cache->load($key); 73 $this->cache->write($key, $content); 99 $this->cache->write($key, $content); 120 @mkdir($this->directory.'/cache', 0555); 123 $this->cache->write($key, $content); 141 $this->cache->write($key, $content); 165 * Test file cache is tolerant towards trailing (back)slashes on the configured cache directory. [all …]
|
/plugin/randominc/ |
H A D | action.php | 6 * Action plugin component, for cache validity determination 37 $cache =& $event->data; 40 if (!isset($cache->page)) return; 41 if (!isset($cache->mode) || !in_array($cache->mode, $this->supportedModes)) return; 54 $cache->include = true; 56 …// set new cache key & cache name - now also dependent on included page ids and their ACL_READ sta… 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; [all …]
|
/plugin/findologicxmlexport/vendor/jms/metadata/src/Cache/ |
H A D | DoctrineCacheAdapter.php | 5 namespace Metadata\Cache; 7 use Doctrine\Common\Cache\Cache; alias 20 * @var Cache 22 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/ghissues/helper/ |
H A D | apiCacheInterface.php | 66 …// Master cache checker. First checks if the cache expired, then checks if the page is older than… 68 $cache = new cache_ghissues_api($apiURL); 70 return ($cache->cache); 76 if ( !isset($cache) ) { 77 $cache = new cache_ghissues_api($apiURL); 83 // Old cache, time to check in with GH. 90 if ( !isset($cache) ) { 91 $cache = new cache_ghissues_api($apiURL); 109 $lastETag = $cache->retrieveETag(); 268 class cache_ghissues_api extends cache { [all …]
|
/plugin/webcode/_test/ |
H A D | dokuwiki.test.php | 6 * Most of the test are cache test that are no more used 25 // The cache system is change unfortunately 28 $conf['cachedir']=DOKU_INC.'/data/cache'; 39 * Dokuwiki Test to see if I can cache and get cached data 44 $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/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Cache/ |
H A D | ExpiringCache.php | 12 namespace Assetic\Cache; 15 * Adds expiration to a cache backend. 21 private $cache; variable in Assetic\\Cache\\ExpiringCache 26 $this->cache = $cache; 32 if ($this->cache->has($key)) { 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/authgooglesheets/vendor/psr/cache/src/ |
H A D | CacheItemPoolInterface.php | 3 namespace Psr\Cache; 20 * a cache miss. It MUST NOT return null. 30 * The corresponding Cache Item. 35 * Returns a traversable set of cache items. 45 * A traversable collection of Cache Items keyed by the cache keys of 53 * Confirms if the cache contains specified cache item. 110 * Persists a cache item immediately. 113 * The cache item to save. 121 * Sets a cache item to be persisted later. 124 * The cache item to save. [all …]
|
/dokuwiki/inc/ |
H A D | cache.php | 3 use dokuwiki\Cache\Cache as NewCache; 4 use dokuwiki\Cache\CacheParser; 5 use dokuwiki\Cache\CacheInstructions; 6 use dokuwiki\Cache\CacheRenderer; 10 * @deprecated since 2019-02-02 use \dokuwiki\Cache\Cache instead! 12 class cache extends NewCache 22 * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheParser instead! 36 * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheRendere 11 class cache extends \dokuwiki\Cache\Cache global() class [all...] |
/plugin/combo/vendor/salesforce/handlebars-php/src/Handlebars/Cache/ |
H A D | Dummy.php | 3 * A dummy array cache 15 namespace Handlebars\Cache; 16 use Handlebars\Cache; alias 18 class Dummy implements Cache 20 private $cache = []; variable in Handlebars\\Cache\\Dummy 23 * Get cache for $name if exist. 25 * @param string $name Cache id 27 * @return mixed data on hit, boolean false on cache not found 31 if (array_key_exists($name, $this->cache)) { 32 return $this->cache[ [all...] |
H A D | Disk.php | 3 * A flat-file filesystem cache. 17 namespace Handlebars\Cache; 18 use Handlebars\Cache; alias 22 class Disk implements Cache 30 * Construct the disk cache. 32 * @param string $path Filesystem path to the disk cache location 42 throw new InvalidArgumentException('Must specify disk cache path'); 47 throw new RuntimeException('Could not create cache file path'); 57 * Gets the full disk path for a given cache item's file, 58 * taking into account the cache pat [all...] |
/dokuwiki/inc/Cache/ |
H A D | Cache.php | 3 namespace dokuwiki\Cache; 11 class Cache class 16 public $ext = ''; // file ext for cache data, secondary identifier for this item 17 public $cache = ''; // cache file name variable in dokuwiki\\Cache\\Cache 18 public $depends = []; // array containing cache dependency information, 19 // used by makeDefaultCacheDecision to determine cache validity 27 protected $_nocache = false; // if set to true, cache will not be used or stored 38 $this->cache = getCacheName($key, $ext); 64 * public method to determine whether the cache ca [all...] |
/plugin/epub/ |
H A D | helper.php | 7 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/combo/ComboStrap/ |
H A D | IFetcherAbs.php | 14 * This is why there is a cache attribute - this is the cache of the generated file 26 * Cache 28 * * cache 32 public const CACHE_KEY = 'cache'; 33 public const CACHE_DEFAULT_VALUE = "cache"; 57 * The cache 113 $cache = $tagAttributes->getValueAndRemove(self::CACHE_KEY); 114 if ($cache !== null) { 115 $this->setRequestedCache($cache); [all...] |
H A D | MarkupCacheDependencies.php | 6 use dokuwiki\Cache\CacheParser; 7 use dokuwiki\Cache\CacheRenderer; 14 * Manage the cache dependencies for a slot level (not instructions cache). 18 * Cache dependencies are used: 19 * * to generate the cache key output 20 * * to add cache validity dependency such as requested page, 22 * For cache key generation, this is mostly used on 23 * * side slots to have several output of a list {@link \syntax_plugin_combo_pageexplorer navigation pane} for different namespace (ie there is one cache by namespace) 35 * The real scope value is then calculated before retrieving the cache 335 rerouteCacheDestination(CacheParser& $cache) global() argument [all...] |
/plugin/structpublish/action/ |
H A D | cache.php | 23 * 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 [all...] |
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/Cache/ |
H A D | FilesystemCache.php | 13 * Mustache Cache filesystem implementation. 17 * $cache = new Mustache_Cache_FilesystemCache(dirname(__FILE__).'/cache'); 18 * $cache->cache($className, $compiledSource); 28 * Filesystem cache constructor. 40 * Load the class from cache using `require_once`. 59 * Cache and load the compiled class. 64 public function cache($key, $value) function in Mustache_Cache_FilesystemCache 70 'Writing to template cache: "{fileName}"', 79 * Build the cache filename. 92 * Create cache directory. [all …]
|
/plugin/externalembed/ |
H A D | action.php | 39 * Checks the currently used cache files and then invalidates the cache if it is out of date 54 echo 'Could not load cache interface helper'; 62 //cache is not fresh time to update 73 //cache is not fresh time to update 84 * Handles the parser cache use event. 85 * Checks the cache files created using the metadata 103 echo 'Could not load cache interface helper'; 121 …eHelper->getExistingCache($video_id)) { //check if the current cache is the same as the "new" cache 125 … $page_cache->depends['files'][] = $new_cache->cache; //add cache file to the 'depends' array 138 … if($latest_playlist === $existing_cache) { //check if current cache is the same as the "new" cache [all …]
|
/plugin/twitter/ |
H A D | action.php | 25 * prepare the cache object for default _useCache action 28 $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); 45 // expire the cache 46 //no cache for twitter! 52 …$cache->depends['age'] = !empty($cache->depends['age']) ? min($cache->depends['age'], $max_age) : … 56 * determine the max allowable age of the cache 60 * @return int max allowable age of the cache null means not applicable [all …]
|
/plugin/pagetitle/ |
H A D | action.php | 116 * prepare the cache object for default _useCache action 120 $cache =& $event->data; 123 if (!isset($cache->page)) return; 126 if ($cache->mode == 'xhtml') { 136 $cache->depends['files'] = array_merge((array)$cache->depends['files'], $depends); 142 $pageTitled = in_array($cache->page, $pages); 148 switch ($cache->mode) { 149 case 'i': // instruction cache 152 case 'metadata': // metadata cache? 155 case 'xhtml': // xhtml cache [all …]
|
/dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
H A D | Redis.php | 46 namespace SimplePie\Cache; 71 protected $cache; variable in SimplePie\\Cache\\Redis 81 * Cache name 88 * Create a new cache object 91 * @param string $name Unique ID for the cache 96 //$this->cache = \flow\simple\cache\Redis::getRedisClientInstance(); 97 $parsed = \SimplePie\Cache::parse_URL($location); 106 $this->cache = $redis; 121 * @param NativeRedis $cache 123 setRedisClient(NativeRedis $cache) global() argument [all...] |