Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
array $_caching = 'array'Indexed map of Actions to attempt Page caching on by Controller
Detailsarray $_extensions = 'array'Indexed map of Extensions by Controller and Action
DetailsZend_Cache_Manager $_manager = 'null'Local Cache Manager object used by Helper
Details $_obStarted = 'false'Track output buffering condition
Detailsarray $_tags = 'array'Indexed map of Tags by Controller and Action
Details__call(
string $method, array $args
)
:
mixedProxy non-matched methods back to Zend_Cache_Manager where appropriate
Details_encodeCacheId(
string $requestUri
)
:
stringEncode a Cache ID as hexadecimal. This is a workaround because Backend ID validation is trapped in the Frontend classes. Will try to get this reversed for ZF 2.0 because it's a major annoyance to have IDs so restricted!
Detailsdirect(
array $actions, array $tags
=
array, $extension
=
null
)
:
voidTell the helper which actions are cacheable and under which tags (if applicable) they should be recorded with
DetailsgetCacheableActions(
)
:
arrayReturn a list of actions for the current Controller marked for caching
DetailsgetCacheableTags(
)
:
arrayReturn a list of tags set for all cacheable actions
DetailsgetManager(
)
:
Zend_Cache_ManagerGet the Cache Manager instance or instantiate the object if not exists. Attempts to load from bootstrap if available.
DetailspreDispatch(
)
:
voidCommence page caching for any cacheable actions
DetailsremovePage(
string $relativeUrl, bool $recursive
=
false
)
:
mixedRemove a specific page cache static file based on its relative URL from the application's public directory.
The file extension is not required here; usually matches the original REQUEST_URI that was cached.
DetailsremovePagesTagged(
array $tags
)
:
mixedRemove a specific page cache static file based on its relative URL from the application's public directory.
The file extension is not required here; usually matches the original REQUEST_URI that was cached.
DetailssetManager(
Zend_Cache_Manager $manager
)
:
voidSet an instance of the Cache Manager for this helper
Details