JSessionStorageDatabase/1.5
From Joomla! Documentation
< JSessionStorageDatabase(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→See also: fixing link to API) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|1.5}} JSessionStorageDatabase== | ||
| + | ===Description=== | ||
| + | {{Description:JSessionStorageDatabase}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JSessionStorageDatabase|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JSessionStorageDatabase|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JSessionStorageDatabase::close/1.5|close]] | |[[JSessionStorageDatabase::close/1.5|close]] | ||
|Close the SessionHandler backend. | |Close the SessionHandler backend. | ||
|- | |- | ||
| + | |public | ||
|[[JSessionStorageDatabase::destroy/1.5|destroy]] | |[[JSessionStorageDatabase::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 | ||
|[[JSessionStorageDatabase::gc/1.5|gc]] | |[[JSessionStorageDatabase::gc/1.5|gc]] | ||
|Garbage collect stale sessions from the SessionHandler backend. | |Garbage collect stale sessions from the SessionHandler backend. | ||
|- | |- | ||
| + | |public | ||
|[[JSessionStorageDatabase::open/1.5|open]] | |[[JSessionStorageDatabase::open/1.5|open]] | ||
|Open the SessionHandler backend. | |Open the SessionHandler backend. | ||
|- | |- | ||
| + | |public | ||
|[[JSessionStorageDatabase::read/1.5|read]] | |[[JSessionStorageDatabase::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 | ||
|[[JSessionStorageDatabase::write/1.5|write]] | |[[JSessionStorageDatabase::write/1.5|write]] | ||
|Write session data to the SessionHandler backend. | |Write session data to the SessionHandler backend. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/session/storage/database.php | ||
| + | * '''Extends''' [[JSessionStorage/1.5|JSessionStorage]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.session.storage.database' );</source> | <source lang="php">jimport( 'joomla.session.storage.database' );</source> | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|1.5}} '''JSessionStorageDatabase''' on [http://api.joomla.org/1.5/Joomla-Framework/Session/JSessionStorageDatabase.html api.joomla.org] | ||
| + | * {{JVer|1.5}} '''JSessionStorageDatabase source code''' on [[jframework15:session/storage/database.php|JoomlaCode]] | ||
| + | * {{JVer|1.5}} Subpackage [[Subpackage Session/1.5|Session]] | ||
| + | * [[JSessionStorageDatabase|Other versions of JSessionStorageDatabase]] | ||
| + | {{SeeAlso:JSessionStorageDatabase}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageDatabase|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JSessionStorageDatabase|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 53: | Line 59: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JSessionStorageDatabase]]</noinclude> | <noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JSessionStorageDatabase]]</noinclude> | ||
Latest revision as of 16:05, 13 February 2013
[edit]
JSessionStorageDatabase
[edit] Description
Description:JSessionStorageDatabase [Edit Descripton]
[edit] 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. |
- Defined in libraries/joomla/session/storage/database.php
- Extends JSessionStorage
[edit] Importing
jimport( 'joomla.session.storage.database' );
[edit] See also
-
JSessionStorageDatabase on api.joomla.org
-
JSessionStorageDatabase source code on JoomlaCode
-
Subpackage Session
- Other versions of JSessionStorageDatabase
SeeAlso:JSessionStorageDatabase [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />