JTableSession: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=={{JVer|11.1}} JTableSession== | |||
===Description=== | |||
{{ | |||
=== | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
!Visibility | |||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
|[[JTableSession::__construct | |public | ||
|[[API17:JTableSession::__construct|__construct]] | |||
|Constructor. | |Constructor. | ||
|- | |- | ||
|[[JTableSession::delete | |public | ||
|[[API17:JTableSession::delete|delete]] | |||
|Overloaded delete method. | |Overloaded delete method. | ||
|- | |- | ||
|[[JTableSession::destroy | |public | ||
|[[API17:JTableSession::destroy|destroy]] | |||
|Destroys the pesisting session. | |Destroys the pesisting session. | ||
|- | |- | ||
|[[JTableSession::exists | |public | ||
|[[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. | ||
|- | |- | ||
|[[JTableSession::insert | |public | ||
|[[API17:JTableSession::insert|insert]] | |||
| | | | ||
|- | |- | ||
|[[JTableSession::purge | |public | ||
|[[API17:JTableSession::purge|purge]] | |||
|Purge old sessions. | |Purge old sessions. | ||
|- | |- | ||
|[[JTableSession::update | |public | ||
|[[API17:JTableSession::update|update]] | |||
| | | | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/database/table/session.php | |||
* '''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}} Subpackage [[API17:Subpackage Database|Database]] | ||
* [[API17:JTableSession|Other versions of JTableSession]] | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JTableSession | category=JTableSession | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
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