API15

JSessionStorageEaccelerator/test

From Joomla! Documentation

< API15:JSessionStorageEaccelerator
Revision as of 17:12, 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)

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description[edit]

Test to see if the SessionHandler is available.

[Edit Descripton]

Template:Description:JSessionStorageEaccelerator/test

Syntax[edit]

test()


Returns[edit]

boolean True on success, false otherwise.

Defined in[edit]

libraries/joomla/session/storage/eaccelerator.php

Importing[edit]

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

Source Body[edit]

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

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

Examples[edit]

<CodeExamplesForm />