API17:JTableUser
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
m (→User contributed notes: bad link repair) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JTableUser== | ||
| + | ===Description=== | ||
| + | {{Description:JTableUser}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JTableUser|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JTableUser|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JTableUser::__construct/11.1|__construct]] | |[[JTableUser::__construct/11.1|__construct]] | ||
| | | | ||
|- | |- | ||
| + | |public | ||
|[[JTableUser::bind/11.1|bind]] | |[[JTableUser::bind/11.1|bind]] | ||
|Method to bind the user, user groups, and any other necessary data. | |Method to bind the user, user groups, and any other necessary data. | ||
|- | |- | ||
| + | |public | ||
|[[JTableUser::check/11.1|check]] | |[[JTableUser::check/11.1|check]] | ||
|Validation and filtering. | |Validation and filtering. | ||
|- | |- | ||
| + | |public | ||
|[[JTableUser::delete/11.1|delete]] | |[[JTableUser::delete/11.1|delete]] | ||
|Method to delete a user, user groups, and any other necessary data from the database. | |Method to delete a user, user groups, and any other necessary data from the database. | ||
|- | |- | ||
| + | |public | ||
|[[JTableUser::load/11.1|load]] | |[[JTableUser::load/11.1|load]] | ||
|Method to load a user, user groups, and any other necessary data from the database so that it can be bound to the user object. | |Method to load a user, user groups, and any other necessary data from the database so that it can be bound to the user object. | ||
|- | |- | ||
| + | |public | ||
|[[JTableUser::setLastVisit/11.1|setLastVisit]] | |[[JTableUser::setLastVisit/11.1|setLastVisit]] | ||
|Updates last visit time of user. | |Updates last visit time of user. | ||
|- | |- | ||
| + | |public | ||
|[[JTableUser::store/11.1|store]] | |[[JTableUser::store/11.1|store]] | ||
|Method to store a row in the database from the instance properties. | |Method to store a row in the database from the instance properties. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/database/table/user.php | ||
| + | * '''Extends''' [[JTable/11.1|JTable]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.database.table.user' );</source> | <source lang="php">jimport( 'joomla.database.table.user' );</source> | ||
===See also=== | ===See also=== | ||
| − | * JTableUser source code | + | * {{JVer|11.1}} '''JTableUser source code''' on [[jplatform:database/table/user.php|BitBucket]] |
| − | * [[JTableUser|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Database/11.1|Database]] |
| + | * [[JTableUser|Other versions of JTableUser]] | ||
{{SeeAlso:JTableUser}} | {{SeeAlso:JTableUser}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JTableUser|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JTableUser|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:JTableUser]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JTableUser]]</noinclude> |
Revision as of 14:05, 29 August 2012
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JTableUser
Description
Description:JTableUser [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | |
| public | bind | Method to bind the user, user groups, and any other necessary data. |
| public | check | Validation and filtering. |
| public | delete | Method to delete a user, user groups, and any other necessary data from the database. |
| public | load | Method to load a user, user groups, and any other necessary data from the database so that it can be bound to the user object. |
| public | setLastVisit | Updates last visit time of user. |
| public | store | Method to store a row in the database from the instance properties. |
- Defined in libraries/joomla/database/table/user.php
- Extends JTable
Importing
jimport( 'joomla.database.table.user' );
See also
-
JTableUser source code on BitBucket
-
Subpackage Database
- Other versions of JTableUser
SeeAlso:JTableUser [Edit See Also]
User contributed notes
<CodeExamplesForm />
