dev rstoetter cbalancedbinarytree cBalancedBinaryTree::_PrintTree() - rstoetter/cbalancedbinarytree-php GitHub Wiki
Method _PrintTree( ) - of API Reference dev
protected string rstoetter\cbalancedbinarytree\cBalancedBinaryTree::_PrintTree(\rstoetter\cbalancedbinarytree\cBalancedBinaryTree|null $tree)
- Namespace : rstoetter\cbalancedbinarytree
- Class name: cBalancedBinaryTree
- This method is defined by the class rstoetter\cbalancedbinarytree\cBalancedBinaryTree
print the tree from $tree on by buliding a string consisting of the unique keys of the nodes we have visited
Arguments
- $tree \rstoetter\cbalancedbinarytree\cBalancedBinaryTree|null - <p>the tree we are combing through</p>
Returns
string the tree from $tree on as a string consisting of the unique keys of the nodes found in the tree $tree