API16

API16:JSessionStorageApc/test

From Joomla! Documentation

Revision as of 02:04, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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