JSessionStorageEaccelerator/ construct: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
===Syntax=== | ===Syntax=== | ||
| Line 38: | Line 38: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=__construct | category=__construct | ||
category=JSessionStorageEaccelerator | category=JSessionStorageEaccelerator | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 02:04, 25 March 2017
Description
Constructor
Syntax
__construct($options=array())
| Parameter Name | Default Value | Description |
|---|---|---|
| $options | array() | $options optional parameters |
Defined in
libraries/joomla/session/storage/eaccelerator.php
Importing
jimport( 'joomla.session.storage.eaccelerator' );
Source Body
function __construct($options = array())
{
if (!$this->test()) {
return JError::raiseError(404, "THE_EACCELERATOR_EXTENSION_IS_NOT_AVAILABLE");
}
parent::__construct($options);
}
Examples
Code Examples