JTableUser: Difference between revisions
From Joomla! Documentation
No edit summary |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JTableUser}} | |||
{{Description:JTableUser}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 37: | Line 34: | ||
<source lang="php">jimport( 'joomla.database.table.user' );</source> | <source lang="php">jimport( 'joomla.database.table.user' );</source> | ||
{{subst:SeeAlso:JTableUser}} | |||
{{SeeAlso:JTableUser}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:31, 24 March 2017
{{subst:Description:JTableUser}}
Defined in
libraries/joomla/database/table/user.php
Methods
| Method name | Description |
|---|---|
| __construct | |
| 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. |
| bind | Method to bind the user, user groups, and any other necessary data. |
| check | Validation and filtering |
| store | Method to store a row in the database from the JTable instance properties. If a primary key value is set the row with that primary key value will be updated with the instance property values. If no primary key value is set a new row will be inserted into the database with the properties from the JTable instance. |
| delete | Method to delete a user, user groups, and any other necessary data from the database. |
| setLastVisit | Updates last visit time of user |
Importing
jimport( 'joomla.database.table.user' );
{{subst:SeeAlso:JTableUser}}
Examples
<CodeExamplesForm />