JTableImplements interfaces:
Abstract Table class
Parent class to all tables.
Located in /libraries/joomla/table/table.php (line 25)
JObject | --JTable
| Class | Description |
|---|---|
BannersTableBanner
|
Banner table |
BannersTableClient
|
Client table |
ContactTableContact
|
|
ContentTableFeatured
|
|
FinderTableFilter
|
Filter table class for the Finder package. |
FinderTableLink
|
Link table class for the Finder package. |
FinderTableMap
|
Map table class for the Finder package. |
MessagesTableMessage
|
Message Table class |
NewsfeedsTableNewsfeed
|
|
RedirectTableLink
|
Link Table for Redirect. |
TemplatesTableStyle
|
Template style table class. |
UsersTableNote
|
User notes table class |
WeblinksTableWeblink
|
Weblink Table class |
JTableContenthistory
|
Content History table. |
JTableContenttype
|
Tags table |
JTableCorecontent
|
Core content table |
JTableUcm
|
UCM map table |
JTableExtension
|
Extension table Replaces plugins table |
JTableLanguage
|
Languages table. |
JTableNested
|
Table class supporting modified pre-order tree traversal behavior. |
JTableUpdate
|
Update table Stores updates temporarily |
JTableUser
|
Users table |
JTableUsergroup
|
Usergroup table class. |
JTableViewlevel
|
Viewlevels table class. |
JTableContent
|
Content table |
JTableMenuType
|
Menu Types table |
JTableModule
|
Module table |
JTableSession
|
Session table |
boolean
$_autoincrement
= true (line 97)
Indicates that the primary keys autoincrement.
JDatabaseDriver
$_db
(line 65)
JDatabaseDriver object.
boolean
$_locked
= false (line 89)
Indicator that the tables have been locked.
JObserverUpdater
$_observers
(line 105)
Generic observers for this JTable (Used e.g. for tags Processing)
JAccessRules
$_rules
(line 81)
The rules associated with this record.
string
$_tbl
= '' (line 41)
Name of the database table to model.
string
$_tbl_key
= '' (line 49)
Name of the primary key field in the table.
array
$_tbl_keys
= array() (line 57)
Name of the primary key fields in the table.
boolean
$_trackAssets
= false (line 73)
Should rows be tracked as ACL assets?
Inherited from JObject
JObject::$_errors
Add a filesystem path where JTable should search for table class files.
You may either pass a string or an array of paths.
Static method to get an instance of a JTable class if it can be found in the table include paths. To add include paths for searching for JTable classes see JTable::addIncludePath().
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 append the primary keys for this table to a query.
Implement JObservableInterface: Adds an observer to this instance.
This method will be called fron the constructor of classes implementing JObserverInterface which is instanciated by the constructor of $this with JObserverMapper::attachAllObservers($this)
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.
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 check a row in if the necessary properties/fields exist. Checking a row in will allow other users the ability to edit the row.
Method to check a row out if the necessary properties/fields exist. To prevent race conditions while editing rows in a database, a row can be checked out if the fields 'checked_out' and 'checked_out_time' are available.
While a row is checked out, any attempt to store the row by a user other than the one who checked the row out should be held until the row is checked in again.
Method to delete a row from the database table by primary key value.
Method to get the primary key field name for the table.
Method to get the next ordering value for a group of rows defined by an SQL WHERE clause.
This is useful for placing a new item last in a group of items in the table.
Gets the instance of the observer of class $observerClass
Get the primary key values for this table using passed in values as a default.
Method to increment the hits for a row if the necessary property/field exists.
Method to determine if a row is checked out and therefore uneditable by a user. If the row is checked out by the same user, then it is considered not checked out -- as the user can still edit it.
Method to load a row from the database by primary key and bind the fields to the JTable instance properties.
Method to move a row in the ordering sequence of a group of rows defined by an SQL WHERE clause.
Negative numbers move the row up in the sequence and positive numbers move it down.
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.
Method to compact the ordering values of rows in a group of rows defined by an SQL WHERE clause.
Method to reset class properties to the defaults set in the class definition. It will ignore the primary key as well as any private class properties (except $_errors).
Method to provide a shortcut to binding, checking and storing a JTable
instance to the database table. The method will check a row in once the data has been stored and if an ordering filter is present will attempt to reorder the table rows based on the filter. The ordering filter is an instance property name. The rows that will be reordered are those whose value matches the JTable instance for the property specified.
Method to set the JDatabaseDriver object.
Method to set rules for the record.
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.
Method to compute the default name of the asset.
The default name is in the form table_name.id where id is the value of the primary key of the table.
Method to get the parent asset under which to register this one.
By default, all assets are registered to the ROOT node with ID, which will default to 1 if none exists. The extended class can define a table and id to lookup. If the asset does not exist it will be created.
Method to return the title to use for the asset table. In
tracking the assets a title is kept for each asset so that there is some context available in a unified access manager. Usually this would just return $this->title or $this->name or whatever is being used for the primary name of the row. If this method is not overridden, the asset name is used.
Inherited From JObject
JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::__toString()
Documentation generated on Tue, 19 Nov 2013 15:14:51 +0100 by phpDocumentor 1.4.3