Back to Joomla project (class list)

Class CacheController - list of methods

Public cache handler

Direct known subclasses

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

Method Summary

public
(mixed $options)

Constructor
Parameters
  • array $options Array of options
Since
  • 1.7.0
Show source code of this method: __construct Source Code

public mixed
(mixed $name, mixed $arguments)

Magic method to proxy CacheController method calls to Cache
Parameters
  • string $name Name of the function
  • array $arguments Array of arguments for the function
Returns
  • mixed
Since
  • 1.7.0
Show source code of this method: __call Source Code

public static \Joomla\CMS\Cache\CacheController
(mixed $type = 'output', mixed $options = array())

Returns a reference to a cache adapter object, always creating it
Parameters
  • string $type The cache object type to instantiate; default is output.
  • array $options Array of options
Returns
  • \Joomla\CMS\Cache\CacheController
Since
  • 1.7.0
Deprecated
  • 5.0
-
  • \RuntimeException
Show source code of this method: getInstance Source Code

public static array
(mixed $path = '')

Add a directory where Cache should search for controllers. You may either pass a string or an array of directories.
Parameters
  • array|string $path A path to search.
Returns
  • array An array with directory elements
Since
  • 1.7.0
Deprecated
  • 5.0
Show source code of this method: addIncludePath Source Code

Properties Summary

public \Joomla\CMS\Cache\Cache
$cache
Cache object
Since
  • 1.7.0
public array
$options
Array of options
Since
  • 1.7.0

Tags Summary

Since
1.7.0