JTableUser: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/database/table/user.php | libraries/joomla/database/table/user.php | ||
Line 35: | Line 33: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JTableUser | category=JTableUser | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> |
Latest revision as of 02:12, 25 March 2017
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' );
Examples
Code Examples