[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Joomla! Content Management System

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

Defines 1 class

ViewController:: (3 methods):
  get()
  store()
  _makeId()


Class: ViewController  - X-Ref

Joomla! Cache view type object

get($view, $method = 'display', $id = false, $wrkarounds = true)   X-Ref
Get the cached view data

param: object   $view        The view object to cache output for
param: string   $method      The method name of the view method to cache output for
param: mixed    $id          The cache data ID
param: boolean  $wrkarounds  True to enable workarounds.
return: boolean  True if the cache is hit (false else)

store($data, $id, $group = null, $wrkarounds = true)   X-Ref
Store data to cache by ID and group

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 wrkarounds
return: boolean  True if cache stored

_makeId($view, $method)   X-Ref
Generate a view cache ID.

param: object  $view    The view object to cache output for
param: string  $method  The method name to cache for the view object
return: string  MD5 Hash



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