JTableExtension
Extension table Replaces plugins table
Located in /libraries/joomla/table/extension.php (line 20)
JObject (Subpackage Object)
![]()
JTable
![]()
JTableExtension (Subpackage Table)
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.
Overloaded bind function
- array $array: Named array
- mixed $ignore: An optional array or space separated list of properties to ignore while binding.
- 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.
Overloaded check function
- 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 create and execute a SELECT WHERE query.
- array $options: Array of options
Method to set the publishing state for a row or list of rows in the database table. The method respects checked out rows by other users and will attempt to checkin rows that it can after adjustments are made.
- mixed $pks: An optional array of primary key values to update. If not set the instance property value is used.
- integer $state: The publishing state. eg. [0 = unpublished, 1 = published]
- integer $userId: The user id of the user performing the operation.
- JTable::publish()
- Method to set the publishing state for a row or list of rows in the database table. The method respects checked out rows by other users and will attempt to checkin rows that it can after adjustments are made.
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()
