Class JCachePage

Description

Class to support page caching

  • since: 1.1

Located in /cache/adapters/page.php (line 21)

Cache_Lite
   |
   --JCache
      |
      --JCachePage
Method Summary
 void end ()
 void generateId (mixed $data)
 void sendEtagHttpHeader (mixed $md5)
 void setCaching (boolean $enable)
 boolean start (string $id, [string $group = 'default'])
 void _construct (array $options)
Variables

Inherited Variables

Inherited from JCache

JCache::$_defaultGroup
JCache::$_validateCache
Methods
end (line 79)

Stop the cache

  • access: public
void end ()
generateId (line 88)
void generateId (mixed $data)

Redefinition of:
JCache::generateId()
Make a control key with the string containing datas
sendEtagHttpHeader (line 96)
void sendEtagHttpHeader (mixed $md5)
sendNoChangeHttpHeader (line 92)
void sendNoChangeHttpHeader ()
setCaching (line 39)

Enable/disbale caching

  • access: public
void setCaching (boolean $enable)
  • boolean $enable: If true enable caching.

Redefinition of:
JCache::setCaching()
Enable/disbale caching, if caching is enabled
start (line 51)

Start the cache

  • return: true if the cache is hit (false else)
  • access: public
boolean start (string $id, [string $group = 'default'])
  • string $id: cache id
  • string $group: name of the cache group
_construct (line 29)

Constructor

  • access: protected
void _construct (array $options)
  • array $options: options

Redefinition of:
JCache::_construct()
Constructor

Inherited Methods

Inherited From JCache

 JCache::JCache()
 JCache::cleanCache()
 JCache::generateId()
 JCache::getCache()
 JCache::getInstance()
 JCache::setCacheValidation()
 JCache::setCaching()
 JCache::_construct()

Documentation generated on Sat, 4 Feb 2006 14:24:58 +0100 by phpDocumentor 1.3.0RC4