[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Cache/ -> CacheController.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: 169 lines (4 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

CacheController:: (4 methods):
  __construct()
  __call()
  getInstance()
  addIncludePath()


Class: CacheController  - X-Ref

Public cache handler

__construct($options)   X-Ref
Constructor

param: array  $options  Array of options

__call($name, $arguments)   X-Ref
Magic method to proxy CacheController method calls to Cache

param: string  $name       Name of the function
param: array   $arguments  Array of arguments for the function
return: mixed

getInstance($type = 'output', $options = array()   X-Ref
Returns a reference to a cache adapter object, always creating it

param: string  $type     The cache object type to instantiate; default is output.
param: array   $options  Array of options
return: CacheController

addIncludePath($path = '')   X-Ref
Add a directory where Cache should search for controllers. You may either pass a string or an array of directories.

param: array|string  $path  A path to search.
return: array  An array with directory elements



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