Zend Framework
3.0
|
Public Member Functions | |
__construct ($options=null) | |
Constructor. | |
setCacheByDefault ($cacheByDefault) | |
Set flag indicating whether or not to cache by default. | |
getCacheByDefault () | |
Do we cache by default? | |
setCacheOutput ($cacheOutput) | |
Set whether or not to cache output. | |
getCacheOutput () | |
Will we cache output? | |
setClass ($class) | |
Set class name. | |
getClass () | |
Get class name. | |
setClassCacheMethods (array $classCacheMethods) | |
Set list of method return values to cache. | |
getClassCacheMethods () | |
Get list of methods from which to cache return values. | |
setClassNonCacheMethods (array $classNonCacheMethods) | |
Set list of method return values NOT to cache. | |
getClassNonCacheMethods () | |
Get list of methods from which NOT to cache return values. | |
setDirPermission ($dirPermission) | |
Set directory permission. | |
getDirPermission () | |
Gets directory permission. | |
setUmask ($umask) | |
Set umask. | |
getUmask () | |
Get umask. | |
setFileLocking ($fileLocking) | |
Set whether or not file locking should be used. | |
getFileLocking () | |
Is file locking enabled? | |
setFilePermission ($filePermission) | |
Set file permission. | |
getFilePermission () | |
Gets file permission. | |
setIndexFilename ($indexFilename) | |
Set value for index filename. | |
getIndexFilename () | |
Get value for index filename. | |
setObject ($object) | |
Set object to cache. | |
getObject () | |
Get object to cache. | |
setObjectCacheMagicProperties ($objectCacheMagicProperties) | |
Set flag indicating whether or not to cache magic properties. | |
getObjectCacheMagicProperties () | |
Should we cache magic properties? | |
setObjectCacheMethods (array $objectCacheMethods) | |
Set list of object methods for which to cache return values. | |
getObjectCacheMethods () | |
Get list of object methods for which to cache return values. | |
setObjectKey ($objectKey) | |
Set the object key part. | |
getObjectKey () | |
Get object key. | |
setObjectNonCacheMethods (array $objectNonCacheMethods) | |
Set list of object methods for which NOT to cache return values. | |
getObjectNonCacheMethods () | |
Get list of object methods for which NOT to cache return values. | |
setPublicDir ($publicDir) | |
Set location of public directory. | |
getPublicDir () | |
Get location of public directory. | |
setStorage ($storage) | |
Set storage adapter. | |
getStorage () | |
Get storage adapter. | |
Public Member Functions inherited from AbstractOptions | |
__construct ($options=null) | |
Constructor. | |
setFromArray ($options) | |
Set one or more configuration properties. | |
toArray () | |
Cast to array. | |
__set ($key, $value) | |
Set a configuration property. | |
__get ($key) | |
Get a configuration property. | |
__isset ($key) | |
Test if a configuration property is null. | |
__unset ($key) | |
Set a configuration property to NULL. | |
Protected Member Functions | |
recursiveStrtolower (array $array) | |
Recursively apply strtolower on all values of an array, and return as a list of unique values. | |
normalizeObjectMethods (array $methods) | |
Normalize object methods. | |
storageFactory ($storage) | |
Create a storage object from a given specification. | |
Protected Attributes | |
$cacheByDefault = true | |
$cacheOutput = true | |
$class | |
$classCacheMethods = [] | |
$classNonCacheMethods = [] | |
$umask = false | |
$dirPermission = 0700 | |
$filePermission = 0600 | |
$fileLocking = true | |
$indexFilename = 'index.html' | |
$object | |
$objectCacheMagicProperties = false | |
$objectCacheMethods = [] | |
$objectKey | |
$objectNonCacheMethods = ['__tostring'] | |
$publicDir | |
$storage | |
Protected Attributes inherited from AbstractOptions | |
$__strictMode__ = true | |
__construct | ( | $options = null | ) |
Constructor.
array | Traversable | null | $options |
Exception\InvalidArgumentException |
getCacheByDefault | ( | ) |
getCacheOutput | ( | ) |
getClass | ( | ) |
getClassCacheMethods | ( | ) |
getClassNonCacheMethods | ( | ) |
getDirPermission | ( | ) |
Gets directory permission.
getFileLocking | ( | ) |
getFilePermission | ( | ) |
Gets file permission.
getIndexFilename | ( | ) |
Get value for index filename.
getObject | ( | ) |
Get object to cache.
getObjectCacheMagicProperties | ( | ) |
getObjectCacheMethods | ( | ) |
Get list of object methods for which to cache return values.
getObjectKey | ( | ) |
getObjectNonCacheMethods | ( | ) |
Get list of object methods for which NOT to cache return values.
getPublicDir | ( | ) |
getStorage | ( | ) |
getUmask | ( | ) |
|
protected |
Normalize object methods.
Recursively casts values to lowercase, then determines if any are in a list of methods not handled, raising an exception if so.
array | $methods |
Exception\InvalidArgumentException |
|
protected |
Recursively apply strtolower on all values of an array, and return as a list of unique values.
array | $array |
setCacheByDefault | ( | $cacheByDefault | ) |
Set flag indicating whether or not to cache by default.
Used by:
bool | $cacheByDefault |
setCacheOutput | ( | $cacheOutput | ) |
setClass | ( | $class | ) |
Set class name.
Used by:
string | $class |
Exception\InvalidArgumentException |
setClassCacheMethods | ( | array | $classCacheMethods | ) |
Set list of method return values to cache.
Used by:
array | $classCacheMethods |
setClassNonCacheMethods | ( | array | $classNonCacheMethods | ) |
Set list of method return values NOT to cache.
Used by:
array | $classNonCacheMethods |
setDirPermission | ( | $dirPermission | ) |
Set directory permission.
false | int | $dirPermission |
Exception\InvalidArgumentException |
setFileLocking | ( | $fileLocking | ) |
Set whether or not file locking should be used.
Used by:
bool | $fileLocking |
setFilePermission | ( | $filePermission | ) |
Set file permission.
false | int | $filePermission |
Exception\InvalidArgumentException |
setIndexFilename | ( | $indexFilename | ) |
setObject | ( | $object | ) |
Set object to cache.
mixed | $object |
Exception\InvalidArgumentException |
setObjectCacheMagicProperties | ( | $objectCacheMagicProperties | ) |
Set flag indicating whether or not to cache magic properties.
Used by:
bool | $objectCacheMagicProperties |
setObjectCacheMethods | ( | array | $objectCacheMethods | ) |
Set list of object methods for which to cache return values.
array | $objectCacheMethods |
Exception\InvalidArgumentException |
setObjectKey | ( | $objectKey | ) |
Set the object key part.
Used to generate a callback key in order to speed up key generation.
Used by:
null | string | $objectKey | The object key or NULL to use the objects class name |
setObjectNonCacheMethods | ( | array | $objectNonCacheMethods | ) |
Set list of object methods for which NOT to cache return values.
array | $objectNonCacheMethods |
Exception\InvalidArgumentException |
setPublicDir | ( | $publicDir | ) |
Set location of public directory.
Used by:
string | $publicDir |
Exception\InvalidArgumentException |
setStorage | ( | $storage | ) |
Set storage adapter.
Required for the following Pattern classes:
string | array | Storage | $storage |
setUmask | ( | $umask | ) |
Set umask.
Used by:
false | int | $umask |
Exception\InvalidArgumentException |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |