API16

JSessionStorageApc/test: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Test to see if the SessionHandler is available. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JSessionStorageApc/test|Edit Descri...
 
m clean up
Line 2: Line 2:
Test to see if the SessionHandler is available.
Test to see if the SessionHandler is available.


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JSessionStorageApc/test|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JSessionStorageApc/test}}
 
{{subst:Description:JSessionStorageApc/test}}


===Syntax===
===Syntax===
Line 27: Line 25:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageApc/test|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JSessionStorageApc/test}}
</span>
{{SeeAlso:JSessionStorageApc/test}}


===Examples===
===Examples===

Revision as of 14:24, 24 March 2017

Description

Test to see if the SessionHandler is available.


{{subst:Description:JSessionStorageApc/test}}

Syntax

test()


Returns

boolean True on success, false otherwise.

Defined in

libraries/joomla/session/storage/apc.php

Importing

jimport( 'joomla.session.storage.apc' );

Source Body

function test() {
        return extension_loaded('apc');
}


{{subst:SeeAlso:JSessionStorageApc/test}}

Examples

<CodeExamplesForm />