API16

API16:JSessionStorageEaccelerator/test

From Joomla! Documentation

Revision as of 22:38, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Test to see if the SessionHandler is available. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JSessionStorageEaccelerator/test|Ed...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Test to see if the SessionHandler is available.

[Edit Descripton]

Template:Description:JSessionStorageEaccelerator/test

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'));
}

[Edit See Also] Template:SeeAlso:JSessionStorageEaccelerator/test

Examples

<CodeExamplesForm />