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.
Parameters
int$referenceId The primary key of the node to reference new location by.
string$position Location type string.
Returns
void
Since
1.7.0
-
Since 3.0.0 this method returns void and throws an \InvalidArgumentException when an invalid position is passed.
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.
Parameters
mixed$pks An optional array of primary key values to update. If not
set the instance property value is used.
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 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.
Parameters
object $referenceNode A node object with at least a 'lft' and 'rgt' with
which to make room in the tree around for a new node.
int$nodeWidth The width of the node for which to make room in the tree.
string$position The position relative to the reference node where the room
should be made.
Returns
mixed Boolean false on failure or data object on success.