DataManager for {@link TreeNode} class
Usually extended by a DataManager class.
package | dstruct_tree |
---|---|
author | David |
insert(array $data) : integer
array
Data for object
integer
ID of the inserted rowloadByLevel(integer $level, integer $tree) : \DBIterator
integer
Level of nodes to load.
integer
ID of {@link Tree} to load nodes for.
update(array $data)
array
doStatement(string $statement, array $values) : object
Caches prepared statements via prepareStatement().
inherited_from | \Base::doStatement() |
---|
string
SQL statement
array
Values for SQL statement
object
Executed PDO::StatementprepareStatement(string $statement) : object
If previously prepared, returns the cached statement
handle.
This method is usually called by doStatement().
inherited_from | \Base::prepareStatement() |
---|
string
SQL statement to prepare
object
PDO::Statement$statements : array
inherited_from | \Base::$$statements |
---|
$insert : string
$load : string
$load_all_accepting_members : string
$load_by_level : string
$update : string