| [ Index ] |
PHP Cross Reference of Joomla 2.5.4 DE |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. |
| License: | GNU General Public License version 2 or later; see LICENSE |
| File Size: | 482 lines (13 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
JTableUser:: (7 methods):
__construct()
load()
bind()
check()
store()
delete()
setLastVisit()
Class: JTableUser - X-Ref
Users table| __construct(&$db) X-Ref |
| Constructor param: JDatabase &$db A database connector object. |
| load($userId = null, $reset = true) X-Ref |
| 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. param: integer $userId An optional user id. param: boolean $reset False if row not found or on error return: boolean True on success, false on failure. |
| bind($array, $ignore = '') X-Ref |
| Method to bind the user, user groups, and any other necessary data. param: array $array The data to bind. param: mixed $ignore An array or space separated list of fields to ignore. return: boolean True on success, false on failure. |
| check() X-Ref |
| Validation and filtering return: boolean True if satisfactory |
| store($updateNulls = false) X-Ref |
| 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. param: boolean $updateNulls True to update fields even if they are null. return: boolean True on success. |
| delete($userId = null) X-Ref |
| Method to delete a user, user groups, and any other necessary data from the database. param: integer $userId An optional user id. return: boolean True on success, false on failure. |
| setLastVisit($timeStamp = null, $userId = null) X-Ref |
| Updates last visit time of user param: integer $timeStamp The timestamp, defaults to 'now'. param: integer $userId The user id (optional). return: boolean False if an error occurs |
| Generated: Tue Apr 3 11:40:28 2012 | Cross-referenced by PHPXref 0.7.1 |