JSessionStorage/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:JSessionStorage/test|Edit Descripto... |
m clean up |
||
| Line 2: | Line 2: | ||
Test to see if the SessionHandler is available. | Test to see if the SessionHandler is available. | ||
{{Description:JSessionStorage/test}} | |||
{{subst:Description:JSessionStorage/test}} | |||
===Syntax=== | ===Syntax=== | ||
| Line 28: | Line 26: | ||
</source> | </source> | ||
{{subst:SeeAlso:JSessionStorage/test}} | |||
{{SeeAlso:JSessionStorage/test}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:24, 24 March 2017
Description
Test to see if the SessionHandler is available.
{{subst:Description:JSessionStorage/test}}
Syntax
test()
Returns
boolean True on success, false otherwise.
Defined in
libraries/joomla/session/storage.php
Importing
jimport( 'joomla.session.storage' );
Source Body
function test()
{
return true;
}
{{subst:SeeAlso:JSessionStorage/test}}
Examples
<CodeExamplesForm />