Class \Prado\Data\SqlMap\Statements\TSqlMapObjectCollectionTree
TSQLMapObjectCollectionTree class.
Maps object collection graphs as trees. Nodes in the collection can be add using parent relationships. The object collections can be build using the collect method.
Class hierarchy
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>Since: 3.1
public
|
__sleep() : mixed
Returns an array with the names of all variables of that object that should be serialized.
Do not call this method. This is a PHP magic method that will be called automatically prior to any serialization. |
public
|
add(string $parent, string $node[, mixed $object = '' ]) : mixed
Add a new node to the object tree graph.
|
public
|
|
public
|
|
protected
|
addNode(array<string|int, mixed> &$childs, string $parent, string $node) : bool
Find the parent node and add the new node as its child.
|
protected
|
collectChildren(string $parent, array<string|int, mixed> &$nodes) : mixed
Visit all the child nodes and collect them by removing.
|
protected
|
|
protected
|
|
protected
|
onChildNodesVisited(string $parent, array<string|int, mixed> $nodes) : mixed
Set the object properties for all the child nodes visited.
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |