array tree.fetchTree( string tree, array children )
Details the tree specified.
Name of the tree of which to retrieve the children. For available trees, see #Trees.
Associative array of nodes to which the returned tree should be 'expanded' to include, where the array key is the #nodeClass, and the value is the nodeId.
tree->fetchRoot( 'email' );
tree->fetchRoot( 'email', array('email_campaign' => 3) );
Returns an associative array. The possible returned elements are as follows:
node's unique system identifier
class of node
The node has children
The node is a root
The node can be edited
The node can be deleted
The node is expanded
Associative array of child nodes
Associative array containing information about the node, for possible elements, see #fetchNode.
Will also contain any further children required to reach the node specified in the children parameter.