API17

JSessionStorageXcache: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Layout updates
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<span class="editsection" style="font-size:76%;">
=={{JVer|11.1}} JSessionStorageXcache==
<nowiki>[</nowiki>[[Description:JSessionStorageXcache|Edit Descripton]]<nowiki>]</nowiki>
===Description===
</span>
 
{{Description:JSessionStorageXcache}}
 
===Defined in===
libraries/joomla/session/storage/xcache.php
* see source code in [[jplatform:session/storage/xcache.php|BitBucket]]
===Subpackage===
[[Subpackage Session/11.1|Session]]
===Extends===
[[JSessionStorage/11.1|JSessionStorage]]
===Extended by===
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
!Visibility
!Method name
!Method name
!Description
!Description
|-
|-
|[[JSessionStorageXcache::__construct/11.1|__construct]]
|public
|Constructor.
|[[API17:JSessionStorageXcache::close|close]]
|-
|[[JSessionStorageXcache::close/11.1|close]]
|Close the SessionHandler backend.  
|Close the SessionHandler backend.  
|-
|-
|[[JSessionStorageXcache::destroy/11.1|destroy]]
|public
|[[API17:JSessionStorageXcache::destroy|destroy]]
|Destroy the data for a particular session identifier in the SessionHandler backend.  
|Destroy the data for a particular session identifier in the SessionHandler backend.  
|-
|-
|[[JSessionStorageXcache::gc/11.1|gc]]
|public
|[[API17:JSessionStorageXcache::gc|gc]]
|Garbage collect stale sessions from the SessionHandler backend.  
|Garbage collect stale sessions from the SessionHandler backend.  
|-
|-
|[[JSessionStorageXcache::open/11.1|open]]
|public
|[[API17:JSessionStorageXcache::open|open]]
|Open the SessionHandler backend.  
|Open the SessionHandler backend.  
|-
|-
|[[JSessionStorageXcache::read/11.1|read]]
|public
|[[API17:JSessionStorageXcache::read|read]]
|Read the data for a particular session identifier from the SessionHandler backend.  
|Read the data for a particular session identifier from the SessionHandler backend.  
|-
|-
|[[JSessionStorageXcache::write/11.1|write]]
|public
|[[API17:JSessionStorageXcache::write|write]]
|Write session data to the SessionHandler backend.  
|Write session data to the SessionHandler backend.  
|-
|-
|[[JSessionStorageXcache::test/11.1|test]]
|public static
|[[API17:JSessionStorageXcache::test|test]]
|Test to see if the SessionHandler is available.  
|Test to see if the SessionHandler is available.  
|-
|protected
|[[API17:JSessionStorageXcache::__construct|__construct]]
|Constructor.
|-
|-
|}
|}
* '''Defined in''' libraries/joomla/session/storage/xcache.php
* '''Extends''' [[API17:JSessionStorage|JSessionStorage]]
===Importing===
===Importing===
<source lang="php">jimport( 'joomla.session.storage.xcache' );</source>
<source lang="php">jimport( 'joomla.session.storage.xcache' );</source>
===See also===
===See also===
* JSessionStorageXcache source code in [[jplatform:session/storage/xcache.php|BitBucket]]
* {{JVer|11.1}} '''JSessionStorageXcache source code''' on [[jplatform:session/storage/xcache.php|BitBucket]]
* [[JSessionStorageXcache|Other versions of this class]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage Session|Session]]
{{SeeAlso:JSessionStorageXcache}}
* [[API17:JSessionStorageXcache|Other versions of JSessionStorageXcache]]
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageXcache|Edit See Also]]<nowiki>]</nowiki>
 
</span>
===User contributed notes===
===Examples===
=== Code Examples ===
<CodeExamplesForm />
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JSessionStorageXcache
category=JSessionStorageXcache
category=CodeExample
namespace=CodeExample
category=ClassExample
category=ClassExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JSessionStorageXcache]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:42, 25 March 2017

Joomla 11.1 JSessionStorageXcache

Description

Methods

Visibility Method name Description
public close Close the SessionHandler backend.
public destroy Destroy the data for a particular session identifier in the SessionHandler backend.
public gc Garbage collect stale sessions from the SessionHandler backend.
public open Open the SessionHandler backend.
public read Read the data for a particular session identifier from the SessionHandler backend.
public write Write session data to the SessionHandler backend.
public static test Test to see if the SessionHandler is available.
protected __construct Constructor.
  • Defined in libraries/joomla/session/storage/xcache.php
  • Extends JSessionStorage

Importing

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

See also


User contributed notes

Code Examples