JTableUser
Users table
Located in /libraries/joomla/table/user.php (line 19)
JObject (Subpackage Object)
![]()
JTable
![]()
JTableUser (Subpackage Table)
array
$groups
(line 27)
Associative array of group ids => group ids for the user
Inherited Variables
Inherited from JTable
JTable::$_db
JTable::$_locked
JTable::$_rules
JTable::$_tbl
JTable::$_tbl_key
JTable::$_trackAssets
Inherited from JObject
JObject::$_errors
Constructor
- JDatabaseDriver $db: Database driver object.
- JTable::__construct()
- Object constructor to set table and key fields. In most cases this will be overridden by child classes to explicitly set the table and key fields for a particular database table.
Method to bind the user, user groups, and any other necessary data.
- array $array: The data to bind.
- mixed $ignore: An array or space separated list of fields to ignore.
- JTable::bind()
- Method to bind an associative array or object to the JTable instance.This method only binds properties that are publicly accessible and optionally takes an array of properties to ignore when binding.
Validation and filtering
- JTable::check()
- Method to perform sanity checks on the JTable instance properties to ensure they are safe to store in the database. Child classes should override this method to make sure the data they are storing in the database is safe and as expected before storage.
Method to delete a user, user groups, and any other necessary data from the database.
- integer $userId: An optional user id.
- JTable::delete()
- Method to delete a row from the database table by primary key value.
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.
- integer $userId: An optional user id.
- boolean $reset: False if row not found or on error (internal error state set in that case).
- JTable::load()
- Method to load a row from the database by primary key and bind the fields to the JTable instance properties.
Updates last visit time of user
- integer $timeStamp: The timestamp, defaults to 'now'.
- integer $userId: The user id (optional).
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.
- boolean $updateNulls: True to update fields even if they are null.
- JTable::store()
- Method to store a row in the database from the JTable instance properties.
Inherited Methods
Inherited From JTable
JTable::__construct()
JTable::addIncludePath()
JTable::bind()
JTable::check()
JTable::checkIn()
JTable::checkOut()
JTable::delete()
JTable::getDbo()
JTable::getFields()
JTable::getInstance()
JTable::getKeyName()
JTable::getNextOrder()
JTable::getRules()
JTable::getTableName()
JTable::hit()
JTable::isCheckedOut()
JTable::load()
JTable::move()
JTable::publish()
JTable::reorder()
JTable::reset()
JTable::save()
JTable::setDBO()
JTable::setRules()
JTable::store()
JTable::_getAssetName()
JTable::_getAssetParentId()
JTable::_getAssetTitle()
JTable::_lock()
JTable::_unlock()
Inherited From JObject
JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::__toString()
