JSessionStorageEaccelerator/test: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Test to see if the SessionHandler is available.
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JSessionStorageEaccelerator/test|Ed... |
m clean up |
||
| Line 2: | Line 2: | ||
Test to see if the SessionHandler is available. | Test to see if the SessionHandler is available. | ||
{{Description:JSessionStorageEaccelerator/test}} | |||
{{subst:Description:JSessionStorageEaccelerator/test}} | |||
===Syntax=== | ===Syntax=== | ||
| Line 27: | Line 25: | ||
</source> | </source> | ||
{{subst:SeeAlso:JSessionStorageEaccelerator/test}} | |||
{{SeeAlso:JSessionStorageEaccelerator/test}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:24, 24 March 2017
Description
Test to see if the SessionHandler is available.
{{subst:Description:JSessionStorageEaccelerator/test}}
Syntax
test()
Returns
boolean True on success, false otherwise.
Defined in
libraries/joomla/session/storage/eaccelerator.php
Importing
jimport( 'joomla.session.storage.eaccelerator' );
Source Body
function test() {
return (extension_loaded('eaccelerator') && function_exists('eaccelerator_get'));
}
{{subst:SeeAlso:JSessionStorageEaccelerator/test}}
Examples
<CodeExamplesForm />