JTableSession: Difference between revisions
From Joomla! Documentation
Updated to r1448:247ba8d88526 |
m preparing for archive only |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JTableSession== | =={{JVer|11.1}} JTableSession== | ||
===Description=== | ===Description=== | ||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| Line 14: | Line 12: | ||
|- | |- | ||
|public | |public | ||
|[[JTableSession::__construct | |[[API17:JTableSession::__construct|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
|public | |public | ||
|[[JTableSession::delete | |[[API17:JTableSession::delete|delete]] | ||
|Overloaded delete method. | |Overloaded delete method. | ||
|- | |- | ||
|public | |public | ||
|[[JTableSession::destroy | |[[API17:JTableSession::destroy|destroy]] | ||
|Destroys the pesisting session. | |Destroys the pesisting session. | ||
|- | |- | ||
|public | |public | ||
|[[JTableSession::exists | |[[API17:JTableSession::exists|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 | |public | ||
|[[JTableSession::insert | |[[API17:JTableSession::insert|insert]] | ||
| | | | ||
|- | |- | ||
|public | |public | ||
|[[JTableSession::purge | |[[API17:JTableSession::purge|purge]] | ||
|Purge old sessions. | |Purge old sessions. | ||
|- | |- | ||
|public | |public | ||
|[[JTableSession::update | |[[API17:JTableSession::update|update]] | ||
| | | | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/database/table/session.php | * '''Defined in''' libraries/joomla/database/table/session.php | ||
* '''Extends''' [[JTable | * '''Extends''' [[API17:JTable|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=== | ||
* {{JVer|11.1}} '''JTableSession source code''' on [[jplatform:database/table/session.php|BitBucket]] | * {{JVer|11.1}} '''JTableSession source code''' on [[jplatform:database/table/session.php|BitBucket]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage Database|Database]] | ||
* [[JTableSession|Other versions of JTableSession]] | * [[API17:JTableSession|Other versions of JTableSession]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JTableSession | category=JTableSession | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| Line 65: | Line 61: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude> | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:50, 25 March 2017
JTableSession
Description
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
User contributed notes
Code Examples