API16

JSessionStorageEaccelerator/test: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:




{{subst:Description:JSessionStorageEaccelerator/test}}
 


===Syntax===
===Syntax===
Line 26: Line 26:




{{subst:SeeAlso:JSessionStorageEaccelerator/test}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=test
  category=test
  category=JSessionStorageEaccelerator
  category=JSessionStorageEaccelerator
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 02:05, 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/eaccelerator.php

Importing

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

Source Body

function test() {
        return (extension_loaded('eaccelerator') && function_exists('eaccelerator_get'));
}



Examples

Code Examples