API16

JSessionStorageXcache/ construct

< API16:JSessionStorageXcache

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



Syntax

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

Defined in

libraries/joomla/session/storage/xcache.php

Importing

jimport( 'joomla.session.storage.xcache' );

Source Body

function __construct($options = array())
{
        if (!$this->test()) {
                return JError::raiseError(404, "The xcache extension isn't available");
        }

        parent::__construct($options);
}



Examples

Code Examples


Advertisement