API15

JSessionStorageXcache/test: Difference between revisions

From Joomla! Documentation

m removing red link to edit, no existant pages
m preparing for archive only
 
Line 33: Line 33:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=test
  category=test
  category=JSessionStorageXcache
  category=JSessionStorageXcache
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 01:08, 25 March 2017

Description

Test to see if the SessionHandler 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/session/storage/xcache.php

Importing

jimport( 'joomla.session.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