API16

Difference between revisions of "JTableUser"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JTableUser}} ===Defined in=== ...)
 
Line 33: Line 33:
 
|Updates last visit time of user
 
|Updates last visit time of user
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.database.table.user' );</source>
 
<source lang="php">jimport( 'joomla.database.table.user' );</source>

Revision as of 05:06, 30 March 2010

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JTableUser

Defined in[edit]

libraries/joomla/database/table/user.php

Methods[edit]

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[edit]

jimport( 'joomla.database.table.user' );

[Edit See Also] Template:SeeAlso:JTableUser

Examples[edit]

<CodeExamplesForm />