| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 515 lignes (14 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
sfViewCacheManager:: (22 méthodes):
initialize()
getContext()
getCache()
generateNamespace()
addCache()
registerConfiguration()
withLayout()
getLifeTime()
getClientLifeTime()
isContextual()
getVary()
getCacheConfig()
isCacheable()
get()
has()
ignore()
set()
remove()
lastModified()
start()
stop()
shutdown()
Classe: sfViewCacheManager - X-Ref
Cache class to cache the HTML results for actions and templates.| initialize($context, $cacheClass, $cacheParameters = array() X-Ref |
| Initializes the cache manager. param: sfContext Current application context param: sfCache Type of the cache param: array Cache parameters |
| getContext() X-Ref |
| Retrieves the current cache context. return: sfContext The sfContext instance |
| getCache() X-Ref |
| Retrieves the current cache type. return: sfCache The current cache type |
| generateNamespace($internalUri) X-Ref |
| Generates namespaces for the cache manager param: string Internal unified resource identifier. return: array Path and filename for the current namespace |
| addCache($moduleName, $actionName, $options = array() X-Ref |
| Adds a cache to the manager. param: string Module name param: string Action name param: array Options for the cache |
| registerConfiguration($moduleName) X-Ref |
| Registers configuration options for the cache. param: string Module name |
| withLayout($internalUri) X-Ref |
| Retrieves the layout from the cache option list. param: string Internal uniform resource identifier return: boolean true, if have layout otherwise false |
| getLifeTime($internalUri) X-Ref |
| Retrieves lifetime from the cache option list. param: string Internal uniform resource identifier return: int LifeTime |
| getClientLifeTime($internalUri) X-Ref |
| Retrieves client lifetime from the cache option list param: string Internal uniform resource identifier return: int Client lifetime |
| isContextual($internalUri) X-Ref |
| Retrieves contextual option from the cache option list. param: string Internal uniform resource identifier return: boolean true, if is contextual otherwise false |
| getVary($internalUri) X-Ref |
| Retrieves vary option from the cache option list. param: string Internal uniform resource identifier return: array Vary options for the cache |
| getCacheConfig($internalUri, $key, $defaultValue = null) X-Ref |
| Gets a config option from the cache. param: string Internal uniform resource identifier param: string Option name param: string Default value of the option return: mixed Value of the option |
| isCacheable($internalUri) X-Ref |
| Returns true if the current content is cacheable. param: string Internal uniform resource identifier return: boolean true, if the content is cacheable otherwise false |
| get($internalUri) X-Ref |
| Retrieves namespace for the current cache. param: string Internal uniform resource identifier return: string The data of the cache |
| has($internalUri) X-Ref |
| Returns true if there is a cache. param: string Internal uniform resource identifier return: boolean true, if there is a cache otherwise false |
| ignore() X-Ref |
| Ignores the cache functionality. return: boolean true, if the cache is ignore otherwise false |
| set($data, $internalUri) X-Ref |
| Sets the cache content param: string Data to put in the cache param: string Internal uniform resource identifier return: boolean true, if the data get set successfully otherwise false |
| remove($internalUri) X-Ref |
| Removes the cache for the current namespace. param: string Internal uniform resource identifier return: boolean true, if the remove happend otherwise false |
| lastModified($internalUri) X-Ref |
| Retrieves the last modified time. param: string Internal uniform resource identifier return: string Last modified datetime for the current namespace |
| start($name, $lifeTime, $clientLifeTime = null, $vary = array() X-Ref |
| Starts the fragment cache. param: string Unique fragment name param: string Life time for the cache param: string Client life time for the cache param: array Vary options for the cache return: boolean true, if success otherwise false |
| stop($name) X-Ref |
| Stops the fragment cache. param: string Unique fragment name return: boolean true, if success otherwise false |
| shutdown() X-Ref |
| Executes the shutdown procedure. |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |