JTableSession: Difference between revisions
From Joomla! Documentation
Layout updates |
Updated to r1448:247ba8d88526 |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=={{JVer|11.1}} JTableSession== | |||
===Description=== | |||
{{Description:JTableSession}} | |||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JTableSession|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JTableSession|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
!Visibility | |||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
|public | |||
|[[JTableSession::__construct/11.1|__construct]] | |[[JTableSession::__construct/11.1|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
|public | |||
|[[JTableSession::delete/11.1|delete]] | |[[JTableSession::delete/11.1|delete]] | ||
|Overloaded delete method. | |Overloaded delete method. | ||
|- | |- | ||
|public | |||
|[[JTableSession::destroy/11.1|destroy]] | |[[JTableSession::destroy/11.1|destroy]] | ||
|Destroys the pesisting session. | |Destroys the pesisting session. | ||
|- | |- | ||
|public | |||
|[[JTableSession::exists/11.1|exists]] | |[[JTableSession::exists/11.1|exists]] | ||
|Find out if a user has a one or more active sessions. | |Find out if a user has a one or more active sessions. | ||
|- | |- | ||
|public | |||
|[[JTableSession::insert/11.1|insert]] | |[[JTableSession::insert/11.1|insert]] | ||
| | | | ||
|- | |- | ||
|public | |||
|[[JTableSession::purge/11.1|purge]] | |[[JTableSession::purge/11.1|purge]] | ||
|Purge old sessions. | |Purge old sessions. | ||
|- | |- | ||
|public | |||
|[[JTableSession::update/11.1|update]] | |[[JTableSession::update/11.1|update]] | ||
| | | | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/database/table/session.php | |||
* '''Extends''' [[JTable/11.1|JTable]] | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.database.table.session' );</source> | <source lang="php">jimport( 'joomla.database.table.session' );</source> | ||
===See also=== | ===See also=== | ||
* JTableSession source code | * {{JVer|11.1}} '''JTableSession source code''' on [[jplatform:database/table/session.php|BitBucket]] | ||
* [[JTableSession|Other versions of | * {{JVer|11.1}} Subpackage [[Subpackage Database/11.1|Database]] | ||
* [[JTableSession|Other versions of JTableSession]] | |||
{{SeeAlso:JTableSession}} | {{SeeAlso:JTableSession}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JTableSession|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JTableSession|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 57: | Line 62: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JTableSession]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JTableSession]]</noinclude> | ||
Revision as of 23:09, 27 April 2011
JTableSession
Description
Template:Description:JTableSession [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | delete | Overloaded delete method. |
| public | destroy | Destroys the pesisting session. |
| public | exists | Find out if a user has a one or more active sessions. |
| public | insert | |
| public | purge | Purge old sessions. |
| public | update |
- Defined in libraries/joomla/database/table/session.php
- Extends JTable
Importing
jimport( 'joomla.database.table.session' );
See also
JTableSession source code on BitBucket
Subpackage Database- Other versions of JTableSession
Template:SeeAlso:JTableSession [Edit See Also]
User contributed notes
<CodeExamplesForm />