Back to Joomla project (class list)

Class PageController - list of methods

Joomla! Cache page type object

Extends

Package: Joomla\CMS\Cache\Controller
Copyright: (C) 2007 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Cache/Controller/PageController.php
Project: Joomla

Method Summary

public mixed
(mixed $id = false, mixed $group = 'page')

Get the cached page data
Parameters
  • bool $id The cache data ID
  • string $group The cache data group
Returns
  • mixed Boolean false on no result, cached object otherwise
Since
  • 1.7.0
Show source code of this method: get Source Code

public bool
(mixed $data, mixed $id, mixed $group = null, mixed $wrkarounds = true)

Stop the cache buffer and store the cached data
Parameters
  • mixed $data The data to store
  • string $id The cache data ID
  • string $group The cache data group
  • bool $wrkarounds True to use workarounds
Returns
  • bool
Since
  • 1.7.0
Show source code of this method: store Source Code

protected string
()

Generate a page cache id
Returns
  • string MD5 Hash
Since
  • 1.7.0
-
  • Discuss whether this should be coupled to a data hash or a request hash ... perhaps hashed with a serialized request
Show source code of this method: _makeId Source Code

protected void
()

There is no change in page data so send an unmodified header and die gracefully
Returns
  • void
Since
  • 1.7.0
Show source code of this method: _noChange Source Code

protected void
(mixed $etag)

Set the ETag header in the response
Parameters
  • string $etag The entity tag (etag) to set
Returns
  • void
Since
  • 1.7.0
Show source code of this method: _setEtag Source Code

Properties Summary

protected int
$_id
ID property for the cache page object.
Since
  • 1.7.0
protected string
$_group
Cache group
Since
  • 1.7.0
protected \stdClass
$_locktest
Cache lock test
Since
  • 1.7.0

Tags Summary

Since
1.7.0