Actions

API17

Difference between revisions of "JSessionStorage"

From Joomla! Documentation

m (JoomlaWikiBot moved page JSessionStorage/11.1 to API17:JSessionStorage without leaving a redirect: Robot: Moved page)
m (moving preparation)
 
(One intermediate revision by one user not shown)
Line 14: Line 14:
 
|-
 
|-
 
|public  
 
|public  
|[[JSessionStorage::__construct/11.1|__construct]]
+
|[[API17:JSessionStorage::__construct|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 
|public  
 
|public  
|[[JSessionStorage::close/11.1|close]]
+
|[[API17:JSessionStorage::close|close]]
 
|Close the SessionHandler backend.  
 
|Close the SessionHandler backend.  
 
|-
 
|-
 
|public  
 
|public  
|[[JSessionStorage::destroy/11.1|destroy]]
+
|[[API17:JSessionStorage::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.  
 
|-
 
|-
 
|public  
 
|public  
|[[JSessionStorage::gc/11.1|gc]]
+
|[[API17:JSessionStorage::gc|gc]]
 
|Garbage collect stale sessions from the SessionHandler backend.  
 
|Garbage collect stale sessions from the SessionHandler backend.  
 
|-
 
|-
 
|public  
 
|public  
|[[JSessionStorage::open/11.1|open]]
+
|[[API17:JSessionStorage::open|open]]
 
|Open the SessionHandler backend.  
 
|Open the SessionHandler backend.  
 
|-
 
|-
 
|public  
 
|public  
|[[JSessionStorage::read/11.1|read]]
+
|[[API17:JSessionStorage::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.  
 
|-
 
|-
 
|public  
 
|public  
|[[JSessionStorage::register/11.1|register]]
+
|[[API17:JSessionStorage::register|register]]
 
|Register the functions of this class with PHP's session handler.  
 
|Register the functions of this class with PHP's session handler.  
 
|-
 
|-
 
|public  
 
|public  
|[[JSessionStorage::write/11.1|write]]
+
|[[API17:JSessionStorage::write|write]]
 
|Write session data to the SessionHandler backend.  
 
|Write session data to the SessionHandler backend.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JSessionStorage::getInstance/11.1|getInstance]]
+
|[[API17:JSessionStorage::getInstance|getInstance]]
 
|Returns a session storage handler object, only creating it if it doesn't already exist.  
 
|Returns a session storage handler object, only creating it if it doesn't already exist.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JSessionStorage::test/11.1|test]]
+
|[[API17:JSessionStorage::test|test]]
 
|Test to see if the SessionHandler is available.  
 
|Test to see if the SessionHandler is available.  
 
|-
 
|-
 
|}
 
|}
 
* '''Defined in''' libraries/joomla/session/storage.php
 
* '''Defined in''' libraries/joomla/session/storage.php
* '''Extends''' [[JObject/11.1|JObject]]
+
* '''Extends''' [[API17:JObject|JObject]]
 
* '''Extended by'''
 
* '''Extended by'''
** [[JSessionStorageApc/11.1|JSessionStorageApc]]
+
** [[API17:JSessionStorageApc|JSessionStorageApc]]
** [[JSessionStorageDatabase/11.1|JSessionStorageDatabase]]
+
** [[API17:JSessionStorageDatabase|JSessionStorageDatabase]]
** [[JSessionStorageEaccelerator/11.1|JSessionStorageEaccelerator]]
+
** [[API17:JSessionStorageEaccelerator|JSessionStorageEaccelerator]]
** [[JSessionStorageMemcache/11.1|JSessionStorageMemcache]]
+
** [[API17:JSessionStorageMemcache|JSessionStorageMemcache]]
** [[JSessionStorageNone/11.1|JSessionStorageNone]]
+
** [[API17:JSessionStorageNone|JSessionStorageNone]]
** [[JSessionStorageWincache/11.1|JSessionStorageWincache]]
+
** [[API17:JSessionStorageWincache|JSessionStorageWincache]]
** [[JSessionStorageXcache/11.1|JSessionStorageXcache]]
+
** [[API17:JSessionStorageXcache|JSessionStorageXcache]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.session.storage' );</source>
 
<source lang="php">jimport( 'joomla.session.storage' );</source>
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JSessionStorage source code''' on [[jplatform:session/storage.php|BitBucket]]
 
* {{JVer|11.1}} '''JSessionStorage source code''' on [[jplatform:session/storage.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Session/11.1|Session]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Session|Session]]
* [[JSessionStorage|Other versions of JSessionStorage]]
+
* [[API17:JSessionStorage|Other versions of JSessionStorage]]
 
{{SeeAlso:JSessionStorage}}
 
{{SeeAlso:JSessionStorage}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 85: Line 85:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JSessionStorage]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:28, 11 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JSessionStorage

Description

Description:JSessionStorage [Edit Descripton]

Methods

Visibility Method name Description
public __construct Constructor.
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 register Register the functions of this class with PHP's session handler.
public write Write session data to the SessionHandler backend.
public static getInstance Returns a session storage handler object, only creating it if it doesn't already exist.
public static test Test to see if the SessionHandler is available.

Importing

jimport( 'joomla.session.storage' );

See also

  • Joomla 11.1 JSessionStorage source code on BitBucket
  • Joomla 11.1 Subpackage Session
  • Other versions of JSessionStorage

SeeAlso:JSessionStorage [Edit See Also]

User contributed notes

<CodeExamplesForm />