Zend\Cache\Pattern\PatternOptions
Synopsis
class PatternOptions
extends AbstractOptions
{
- // members
- protected bool $cacheByDefault;
- protected bool $cacheOutput;
- protected null|string $class;
- protected array $classCacheMethods;
- protected array $classNonCacheMethods;
- protected false|int $umask;
- protected false|int $dirPermission;
- protected false|int $filePermission;
- protected bool $fileLocking;
- protected string $indexFilename;
- protected null|object $object;
- protected bool $objectCacheMagicProperties;
- protected array $objectCacheMethods;
- protected null|string $objectKey;
- protected array $objectNonCacheMethods;
- protected null|string $publicDir;
- protected null|Storage $storage;
- // Inherited members from AbstractOptions
- protected bool $__strictMode__;
- // methods
- public PatternOptions __construct()
- public PatternOptions setCacheByDefault()
- public bool getCacheByDefault()
- public PatternOptions setCacheOutput()
- public bool getCacheOutput()
- public PatternOptions setClass()
- public null|string getClass()
- public PatternOptions setClassCacheMethods()
- public array getClassCacheMethods()
- public PatternOptions setClassNonCacheMethods()
- public array getClassNonCacheMethods()
- public PatternOptions setDirPermission()
- public false|int getDirPermission()
- public PatternOptions setUmask()
- public false|int getUmask()
- public PatternOptions setFileLocking()
- public bool getFileLocking()
- public PatternOptions setFilePermission()
- public false|int getFilePermission()
- public PatternOptions setIndexFilename()
- public string getIndexFilename()
- public PatternOptions setObject()
- public null|object getObject()
- public PatternOptions setObjectCacheMagicProperties()
- public bool getObjectCacheMagicProperties()
- public PatternOptions setObjectCacheMethods()
- public array getObjectCacheMethods()
- public PatternOptions setObjectKey()
- public mixed getObjectKey()
- public PatternOptions setObjectNonCacheMethods()
- public array getObjectNonCacheMethods()
- public PatternOptions setPublicDir()
- public null|string getPublicDir()
- public PatternOptions setStorage()
- public null|Storage getStorage()
- protected array recursiveStrtolower()
- protected array normalizeObjectMethods()
- protected StorageInterface storageFactory()
- // Inherited methods from AbstractOptions
- public void __construct()
- public AbstractOptions setFromArray()
- public array toArray()
- public void __set()
- public mixed __get()
- public bool __isset()
- public void __unset()
Hierarchy
Extends
Members
protected
- $__strictMode__
—
Zend\Stdlib\bool
We use the __ prefix to avoid collisions with properties in user-implementations. - $cacheByDefault
—
Zend\Cache\Pattern\bool
Used by: - ClassCache - ObjectCache - $cacheOutput
—
Zend\Cache\Pattern\bool
Used by: - CallbackCache - ClassCache - ObjectCache - $class
—
Zend\Cache\Pattern\null|string
Used by: - ClassCache - $classCacheMethods
—
array
Used by: - ClassCache - $classNonCacheMethods
—
array
Used by: - ClassCache - $dirPermission
—
Zend\Cache\Pattern\false|int
Used by: - CaptureCache - $fileLocking
—
Zend\Cache\Pattern\bool
Used by: - CaptureCache - $filePermission
—
Zend\Cache\Pattern\false|int
Used by: - CaptureCache - $indexFilename
—
string
Used by: - CaptureCache - $object
—
Zend\Cache\Pattern\null|object
Used by: - ObjectCache - $objectCacheMagicProperties
—
Zend\Cache\Pattern\bool
Used by: - ObjectCache - $objectCacheMethods
—
array
Used by: - ObjectCache - $objectKey
—
Zend\Cache\Pattern\null|string
Used by: - ObjectCache - $objectNonCacheMethods
—
array
Used by: - ObjectCache - $publicDir
—
Zend\Cache\Pattern\null|string
Used by: - CaptureCache - $storage
—
Zend\Cache\Pattern\null|Storage
Used by: - CallbackCache - ClassCache - ObjectCache - OutputCache - $umask
—
Zend\Cache\Pattern\false|int
Used by: - CaptureCache
Methods
protected
- normalizeObjectMethods() — Normalize object methods
- recursiveStrtolower() — Recursively apply strtolower on all values of an array, and return as a list of unique values
- storageFactory() — Create a storage object from a given specification
public
- __construct() — Constructor
- getCacheByDefault() — Do we cache by default?
- getCacheOutput() — Will we cache output?
- getClass() — Get class name
- getClassCacheMethods() — Get list of methods from which to cache return values
- getClassNonCacheMethods() — Get list of methods from which NOT to cache return values
- getDirPermission() — Gets directory permission
- getFileLocking() — Is file locking enabled?
- getFilePermission() — Gets file permission
- getIndexFilename() — Get value for index filename
- getObject() — Get object to cache
- getObjectCacheMagicProperties() — Should we cache magic properties?
- getObjectCacheMethods() — Get list of object methods for which to cache return values
- getObjectKey() — Get object key
- getObjectNonCacheMethods() — Get list of object methods for which NOT to cache return values
- getPublicDir() — Get location of public directory
- getStorage() — Get storage adapter
- getUmask() — Get umask
- setCacheByDefault() — Set flag indicating whether or not to cache by default
- setCacheOutput() — Set whether or not to cache output
- setClass() — Set class name
- setClassCacheMethods() — Set list of method return values to cache
- setClassNonCacheMethods() — Set list of method return values NOT to cache
- setDirPermission() — Set directory permission
- setFileLocking() — Set whether or not file locking should be used
- setFilePermission() — Set file permission
- setIndexFilename() — Set value for index filename
- setObject() — Set object to cache
- setObjectCacheMagicProperties() — Set flag indicating whether or not to cache magic properties
- setObjectCacheMethods() — Set list of object methods for which to cache return values
- setObjectKey() — Set the object key part.
- setObjectNonCacheMethods() — Set list of object methods for which NOT to cache return values
- setPublicDir() — Set location of public directory
- setStorage() — Set storage adapter
- setUmask() — Set umask