\JCacheControllerPage
Joomla! Cache page type object
Synopsis
class JCacheControllerPage
extends JCacheController
{
- // members
- protected $_id;
- protected $_group;
- protected $_locktest;
- // methods
- public boolean get()
- public boolean store()
- protected string _makeId()
- protected void _noChange()
- protected void _setEtag()
- // Inherited methods from JCacheController
- public void __construct()
- public mixed __call()
- public static JCache getInstance()
- public void setCaching()
- public void setLifeTime()
- public static array addIncludePath()
- public mixed get()
- public boolean store()
Hierarchy
Extends
Tasks
Tasks
Line | Task |
---|---|
176+ | Discuss whether this should be coupled to a data hash or a request |
Members
Methods
protected
- _makeId() — Generate a page cache id
- _noChange() — There is no change in page data so send an unmodified header and die gracefully
- _setEtag() — Set the ETag header in the response
public
Inherited from JCacheController
public
- __call() — Magic method to proxy JCacheControllerMethods
- addIncludePath() — Add a directory where JCache should search for controllers. You may either pass a string or an array of directories.
- get() — Get stored cached data by id and group
- getInstance() — Returns a reference to a cache adapter object, always creating it
- setCaching() — Set caching enabled state
- setLifeTime() — Set cache lifetime
- store() — Store data to cache by id and group