JSessionStorageNone: Difference between revisions
From Joomla! Documentation
Layout updates |
Updated to r1448:247ba8d88526 |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=={{JVer|11.1}} JSessionStorageNone== | |||
===Description=== | |||
{{Description:JSessionStorageNone}} | |||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JSessionStorageNone|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JSessionStorageNone|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
!Visibility | |||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
|public | |||
|[[JSessionStorageNone::close/11.1|close]] | |||
|Close the SessionHandler backend. | |||
|- | |||
|public | |||
|[[JSessionStorageNone::destroy/11.1|destroy]] | |||
|Destroy the data for a particular session identifier in the SessionHandler backend. | |||
|- | |||
|public | |||
|[[JSessionStorageNone::gc/11.1|gc]] | |||
|Garbage collect stale sessions from the SessionHandler backend. | |||
|- | |||
|public | |||
|[[JSessionStorageNone::open/11.1|open]] | |||
|Open the SessionHandler backend. | |||
|- | |||
|public | |||
|[[JSessionStorageNone::read/11.1|read]] | |||
|Read the data for a particular session identifier from the SessionHandler backend. | |||
|- | |||
|public | |||
|[[JSessionStorageNone::register/11.1|register]] | |[[JSessionStorageNone::register/11.1|register]] | ||
|Register the functions of this class with PHP's session handler. | |Register the functions of this class with PHP's session handler. | ||
|- | |||
|public | |||
|[[JSessionStorageNone::write/11.1|write]] | |||
|Write session data to the SessionHandler backend. | |||
|- | |||
|public static | |||
|[[JSessionStorageNone::test/11.1|test]] | |||
|Test to see if the SessionHandler is available. | |||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/session/storage/none.php | |||
* '''Extends''' [[JSessionStorage/11.1|JSessionStorage]] | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.session.storage.none' );</source> | <source lang="php">jimport( 'joomla.session.storage.none' );</source> | ||
===See also=== | ===See also=== | ||
* JSessionStorageNone source code | * {{JVer|11.1}} '''JSessionStorageNone source code''' on [[jplatform:session/storage/none.php|BitBucket]] | ||
* [[JSessionStorageNone|Other versions of | * {{JVer|11.1}} Subpackage [[Subpackage Session/11.1|Session]] | ||
* [[JSessionStorageNone|Other versions of JSessionStorageNone]] | |||
{{SeeAlso:JSessionStorageNone}} | {{SeeAlso:JSessionStorageNone}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageNone|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JSessionStorageNone|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 39: | Line 66: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JSessionStorageNone]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JSessionStorageNone]]</noinclude> | ||
Revision as of 23:08, 27 April 2011
JSessionStorageNone
Description
Template:Description:JSessionStorageNone [Edit Descripton]
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 | register | Register the functions of this class with PHP's session handler. |
| public | write | Write session data to the SessionHandler backend. |
| public static | test | Test to see if the SessionHandler is available. |
- Defined in libraries/joomla/session/storage/none.php
- Extends JSessionStorage
Importing
jimport( 'joomla.session.storage.none' );
See also
JSessionStorageNone source code on BitBucket
Subpackage Session- Other versions of JSessionStorageNone
Template:SeeAlso:JSessionStorageNone [Edit See Also]
User contributed notes
<CodeExamplesForm />