JTableNested::getTree
Method to get a node and all its child nodes.
Signature
public function getTree([integer
$pk = null,
[boolean
$diagnostic = false]] )
Parameters
-
$pk
- Primary key of the node for which to get the tree.
-
$diagnostic
- Only select diagnostic data for the nested sets.
Returns
- mixed
- Boolean false on failure or array of node objects on success.
Errors/Exceptions
-
RuntimeException
- on database error.