Table class supporting modified pre-order tree traversal behavior.
Located in /libraries/joomla/table/nested.php (line 20)
JObject | --JTable | --JTableNested
Class | Description |
---|---|
![]() |
Tags table |
![]() |
Table class supporting modified pre-order tree traversal behavior. |
![]() |
Category table |
![]() |
Menu table |
Object property holding the alias of this node used to constuct the full text path, forward-slash delimited.
Object property holding the depth level of the node in the tree.
Object property holding the left value of the node for managing its placement in the nested sets tree.
Object property holding the primary key of the parent node. Provides adjacency list data for nodes.
Object property holding the right value of the node for managing its placement in the nested sets tree.
An array to cache values in recursive processes.
Debug level
Object property to hold the location type to use when storing the row.
Possible values are: ['before', 'after', 'first-child', 'last-child'].
Object property to hold the primary key of the location reference node to use when storing the row. A combination of location type and reference node describes where to store the current node in the tree.
Inherited from JTable
JTable::$_autoincrement
JTable::$_db
JTable::$_locked
JTable::$_observers
JTable::$_rules
JTable::$_tbl
JTable::$_tbl_key
JTable::$_tbl_keys
JTable::$_trackAssets
Inherited from JObject
JObject::$_errors
Checks that the object is valid and able to be stored.
This method checks that the parent_id is non-zero and exists in the database. Note that the root node (parent_id = 0) cannot be manipulated with this class.
Sets the debug level on or off
Method to delete a node and, optionally, its child nodes from the table.
Method to get an array of nodes from a given node to its root.
Method to get a node and all its child nodes.
Method to determine if a node is a leaf node in the tree (has no children).
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 move a node and its children to a new location in the tree.
Method to move a node one position to the right in the same level.
Method to move a node one position to the left in the same level.
Method to set the publishing state for a node or list of nodes in the database
table. The method respects rows checked out by other users and will attempt to checkin rows that it can after adjustments are made. The method will not allow you to set a publishing state higher than any ancestor node and will not allow you to set a publishing state on a node with a checked out child.
Method to recursively rebuild the whole nested set tree.
Method to rebuild the node's path field from the alias values of the nodes from the current node to the root node of the tree.
Method to update order of table rows
Method to set the location of a node in the tree object. This method does not save the new location to the database, but will set it in the object so that when the node is stored it will be stored in the new location.
Method to store a node in the database table.
Method to get nested set properties for a node in the tree.
Method to get various data necessary to make room in the tree at a location for a node and its children. The returned data object includes conditions for SQL WHERE clauses for updating left and right id values to make room for the node as well as the new left and right ids for the node.
Method to create a log table in the buffer optionally showing the query and/or data.
Runs a query and unlocks the database on an error.
Inherited From JTable
JTable::__construct()
JTable::addIncludePath()
JTable::appendPrimaryKeys()
JTable::attachObserver()
JTable::bind()
JTable::check()
JTable::checkIn()
JTable::checkOut()
JTable::delete()
JTable::getDbo()
JTable::getFields()
JTable::getInstance()
JTable::getKeyName()
JTable::getNextOrder()
JTable::getObserverOfClass()
JTable::getPrimaryKey()
JTable::getRules()
JTable::getTableName()
JTable::hasPrimaryKey()
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()
Documentation generated on Tue, 19 Nov 2013 15:09:22 +0100 by phpDocumentor 1.4.3