Cache
class Cache implements FileTextCache, Flushable (View source)
Uses SS_Cache with a lifetime to cache extracted content
Traits
Provides extensions to this object to integrate it with standard config API methods.
Config options
lifetime | int|null | Lifetime of cache in seconds Null defaults to 3600 (1 hour) |
Properties
Methods
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
Gets the uninherited value for the given config option
Details
static Config_ForClass
config()
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
mixed
stat(string $name)
deprecated
deprecated
Get inherited config value
mixed
uninherited(string $name)
Gets the uninherited value for the given config option
$this
set_stat(string $name, mixed $value)
deprecated
deprecated
Update the config value for a given property
static protected CacheInterface
get_cache()
No description
protected string
getKey(File $file)
No description
load(File $file)
No description
save(File $file, string $content)
No description
static
flush()
No description
static void
clear()
Alias for $this->flush()
invalidate(File $file)
No description