API16

API16:JSessionStorageXcache/test

From Joomla! Documentation

Description

Test to see if the SessionHandler is available.



Syntax

test()


Returns

boolean True on success, false otherwise.

Defined in

libraries/joomla/session/storage/xcache.php

Importing

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

Source Body

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



Examples

Code Examples