JTableNested::isLeaf
Method to determine if a node is a leaf node in the tree (has no children).
Signature
public function isLeaf([integer
$pk = null] )
Parameters
-
$pk
- Primary key of the node to check.
Returns
- boolean
- True if a leaf node, false if not or null if the node does not exist.
Errors/Exceptions
-
RuntimeException
- on database error.