API15

API15:JCacheStorageXCache/test

From Joomla! Documentation

Revision as of 00:23, 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 cache storage is available.

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

test()


Returns

boolean True on success, false otherwise.

Defined in

libraries/joomla/cache/storage/xcache.php

Importing

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

Source Body

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

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples