API16

JCacheStorageFile/ construct

< API16:JCacheStorageFile

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

Constructor


<! removed transcluded page call, red link never existed >

Syntax

__construct($options=array())
Parameter Name Default Value Description
$options array() $options optional parameters

Defined in

libraries/joomla/cache/storage/file.php

Importing

jimport( 'joomla.cache.storage.file' );

Source Body

function __construct($options = array())
{
        parent::__construct($options);

        $config                 = &JFactory::getConfig();
        $this->_root    = $options['cachebase'];
        $this->_hash    = $config->getValue('config.secret');
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples


Advertisement