[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Cache/Controller/ -> PageController.php (summary)

Joomla! Content Management System

Copyright: (C) 2007 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 229 lines (5 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

PageController:: (5 methods):
  get()
  store()
  _makeId()
  _noChange()
  _setEtag()


Class: PageController  - X-Ref

Joomla! Cache page type object

get($id = false, $group = 'page')   X-Ref
Get the cached page data

param: boolean  $id     The cache data ID
param: string   $group  The cache data group
return: mixed  Boolean false on no result, cached object otherwise

store($data, $id, $group = null, $wrkarounds = true)   X-Ref
Stop the cache buffer and store the cached data

param: mixed    $data        The data to store
param: string   $id          The cache data ID
param: string   $group       The cache data group
param: boolean  $wrkarounds  True to use workarounds
return: boolean

_makeId()   X-Ref
Generate a page cache id

return: string  MD5 Hash

_noChange()   X-Ref
There is no change in page data so send an unmodified header and die gracefully

return: void

_setEtag($etag)   X-Ref
Set the ETag header in the response

param: string  $etag  The entity tag (etag) to set
return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer