Lines Matching refs:cache
127 * The cache has to be rebuilt in order to apply this option.
148 public $cacheFilename = 'cache.php';
158 * Path to the cache directory
165 * Flag to be set to true after loading the cache
172 * Where to store the value of the included PHP cache file
205 * Constructor class, checks for the existence of (and loads) the cache and
218 'You have to provide a path to read/store the browscap cache file'
227 sprintf('The cache path %s is invalid. Are you sure that it exists and that you have permission to access it?', $old_cache_dir)
231 // Is the cache dir really the directory or is it directly the file?
260 // Load the cache at the first request
301 throw new Exception("Cannot load this cache version - the cache format is not compatible.");
481 * Parses the ini file and updates the cache files
594 $cache = $this->_buildCache();
597 return (bool) file_put_contents($cache_path, $cache, LOCK_EX);
714 * Loads the cache into object's properties
741 * Parses the array to cache and creates the PHP string to write to disk
743 * @return string the PHP string to save into the cache file