JSessionStorageApc/test: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
===Syntax=== | ===Syntax=== | ||
| Line 26: | Line 26: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=test | category=test | ||
category=JSessionStorageApc | category=JSessionStorageApc | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 02:04, 25 March 2017
Description
Test to see if the SessionHandler is available.
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');
}
Examples
Code Examples