| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Cache |
JCache |
__construct |
__construct() |
Never | Work in Progress |
This is the class constructor. The constructor sets up the default group to use for function caching and builds the cache directory.
void __construct ( $options )
| $options | array | is an associative array of options. |
The following are the available options:
Further information on the options array can be obtained from the Cache_Lite website.
Since this is an abstract class, the constructor is not called directly. The class is instantiated by calling the JFactory::getCache method. This method will instantiate the appropriate child class. This constructor is called by the child class using:
Example
parent::_construct( $options );