Class TSqlMapObjectCollectionTree
TSQLMapObjectCollectionTree class.
Maps object collection graphs as trees. Nodes in the collection can be TSqlMapObjectCollectionTree::add()
using parent relationships. The object collections can be build using the
TSqlMapObjectCollectionTree::collect()
method.
- TComponent
-
TSqlMapObjectCollectionTree
Package: System\Data\SqlMap\Statements
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/Statements/TMappedStatement.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/Statements/TMappedStatement.php
public
boolean
|
|
public
|
|
protected
boolean
|
#
addNode( array & $childs, string $parent, string $node )
Find the parent node and add the new node as its child. |
public
array
|
|
protected
boolean
|
|
protected
|
#
collectChildren( string $parent, array & $nodes )
Visit all the child nodes and collect them by removing. |
protected
|
#
onChildNodesVisited( string $parent, array $nodes )
Set the object properties for all the child nodes visited. |
protected
array
|
|
public
|
#
__sleep( )
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. |
GLOBAL_RAISE_EVENT_LISTENER
|