JSessionStorage/1.5

From Joomla! Documentation
< JSessionStorage(Difference between revisions)
Jump to: navigation, search
(Bulk upload by Doxiki2)
 
(Layout updates)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|1.5}} JSessionStorage==
 +
===Description===
 +
{{Description:JSessionStorage}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JSessionStorage|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JSessionStorage|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JSessionStorage}}
 
===Defined in===
 
libraries/joomla/session/storage.php
 
===Subpackage===
 
[[Subpackage Session/1.5|Session]]
 
===Extends===
 
[[JObject/1.5|JObject]]
 
===Extended by===
 
* [[JSessionStorageApc/1.5|JSessionStorageApc]]
 
* [[JSessionStorageDatabase/1.5|JSessionStorageDatabase]]
 
* [[JSessionStorageEaccelerator/1.5|JSessionStorageEaccelerator]]
 
* [[JSessionStorageMemcache/1.5|JSessionStorageMemcache]]
 
* [[JSessionStorageNone/1.5|JSessionStorageNone]]
 
* [[JSessionStorageXcache/1.5|JSessionStorageXcache]]
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JSessionStorage::__construct/1.5|__construct]]
 
|[[JSessionStorage::__construct/1.5|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 +
|public
 
|[[JSessionStorage::close/1.5|close]]
 
|[[JSessionStorage::close/1.5|close]]
 
|Close the SessionHandler backend.  
 
|Close the SessionHandler backend.  
 
|-
 
|-
 +
|public
 
|[[JSessionStorage::destroy/1.5|destroy]]
 
|[[JSessionStorage::destroy/1.5|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
 
|[[JSessionStorage::gc/1.5|gc]]
 
|[[JSessionStorage::gc/1.5|gc]]
 
|Garbage collect stale sessions from the SessionHandler backend.  
 
|Garbage collect stale sessions from the SessionHandler backend.  
 
|-
 
|-
 +
|public 
 
|[[JSessionStorage::getInstance/1.5|getInstance]]
 
|[[JSessionStorage::getInstance/1.5|getInstance]]
 
|Returns a reference to a session storage handler object, only creating it if it doesn't already exist.  
 
|Returns a reference to a session storage handler object, only creating it if it doesn't already exist.  
 
|-
 
|-
 +
|public
 
|[[JSessionStorage::open/1.5|open]]
 
|[[JSessionStorage::open/1.5|open]]
 
|Open the SessionHandler backend.  
 
|Open the SessionHandler backend.  
 
|-
 
|-
 +
|public
 
|[[JSessionStorage::read/1.5|read]]
 
|[[JSessionStorage::read/1.5|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
 
|[[JSessionStorage::register/1.5|register]]
 
|[[JSessionStorage::register/1.5|register]]
 
|Register the functions of this class with PHP's session handler.  
 
|Register the functions of this class with PHP's session handler.  
 
|-
 
|-
 +
|public
 
|[[JSessionStorage::write/1.5|write]]
 
|[[JSessionStorage::write/1.5|write]]
 
|Write session data to the SessionHandler backend.  
 
|Write session data to the SessionHandler backend.  
 
|-
 
|-
 +
|public
 
|[[JSessionStorage::test/1.5|test]]
 
|[[JSessionStorage::test/1.5|test]]
 
|Test to see if the SessionHandler is available.  
 
|Test to see if the SessionHandler is available.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/session/storage.php
 +
* '''Extends''' [[JObject/1.5|JObject]]
 +
* '''Extended by'''
 +
** [[JSessionStorageApc/1.5|JSessionStorageApc]]
 +
** [[JSessionStorageDatabase/1.5|JSessionStorageDatabase]]
 +
** [[JSessionStorageEaccelerator/1.5|JSessionStorageEaccelerator]]
 +
** [[JSessionStorageMemcache/1.5|JSessionStorageMemcache]]
 +
** [[JSessionStorageNone/1.5|JSessionStorageNone]]
 +
** [[JSessionStorageXcache/1.5|JSessionStorageXcache]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.session.storage' );</source>
 
<source lang="php">jimport( 'joomla.session.storage' );</source>
 
===See also===
 
===See also===
 +
* {{JVer|1.5}} '''JSessionStorage''' on [http://api.joomla.org/Joomla-Framework/Session/JSessionStorage.html api.joomla.org]
 +
* {{JVer|1.5}} '''JSessionStorage source code''' on [[jframework15:session/storage.php|JoomlaCode]]
 +
* {{JVer|1.5}} Subpackage [[Subpackage Session/1.5|Session]]
 +
* [[JSessionStorage|Other versions of JSessionStorage]]
 +
{{SeeAlso:JSessionStorage}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSessionStorage|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JSessionStorage|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{SeeAlso:JSessionStorage}}
+
===User contributed notes===
* [[JSessionStorage|Other versions of this class]]
+
* [http://api.joomla.org/Joomla-Framework/Session/JSessionStorage.html JSessionStorage on api.joomla.org]
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 71: Line 82:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JSessionStorage]]</noinclude>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JSessionStorage]]</noinclude>

Revision as of 18:12, 25 April 2011

Joomla 1.5 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 getInstance Returns a reference to a session storage handler object, only creating it if it doesn't already exist.
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 test Test to see if the SessionHandler is available.

Importing

jimport( 'joomla.session.storage' );

See also

SeeAlso:JSessionStorage [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox