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