Back to Joomla project (class list)

Class ViewController - list of methods

Joomla! Cache view type object

Extends

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

Method Summary

public bool
(mixed $view, mixed $method = 'display', mixed $id = false, mixed $wrkarounds = true)

Get the cached view data
Parameters
  • object $view The view object to cache output for
  • string $method The method name of the view method to cache output for
  • mixed $id The cache data ID
  • bool $wrkarounds True to enable workarounds.
Returns
  • bool True if the cache is hit (false else)
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)

Store data to cache by ID and group
Parameters
  • mixed $data The data to store
  • string $id The cache data ID
  • string $group The cache data group
  • bool $wrkarounds True to use wrkarounds
Returns
  • bool True if cache stored
Since
  • 4.0.0
Show source code of this method: store Source Code

protected string
(mixed $view, mixed $method)

Generate a view cache ID.
Parameters
  • object $view The view object to cache output for
  • string $method The method name to cache for the view object
Returns
  • string MD5 Hash
Since
  • 1.7.0
Show source code of this method: _makeId Source Code

Tags Summary

Since
1.7.0