JSessionStorageEaccelerator/ construct: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Constructor
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</now... |
m clean up |
||
| Line 2: | Line 2: | ||
Constructor | Constructor | ||
{{Description:JSessionStorageEaccelerator/__construct}} | |||
{{subst:Description:JSessionStorageEaccelerator/__construct}} | |||
===Syntax=== | ===Syntax=== | ||
| Line 39: | Line 37: | ||
</source> | </source> | ||
{{subst:SeeAlso:JSessionStorageEaccelerator/__construct}} | |||
{{SeeAlso:JSessionStorageEaccelerator/__construct}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:24, 24 March 2017
Description
Constructor
{{subst:Description:JSessionStorageEaccelerator/__construct}}
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);
}
{{subst:SeeAlso:JSessionStorageEaccelerator/__construct}}
Examples
<CodeExamplesForm />