API17:JTableNested::isLeaf
From Joomla! Documentation
JTableNested::isLeaf
Description
Method to determine if a node is a leaf node in the tree (has no children).
public function isLeaf ($pk=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $pk | integer | null | Primary key of the node to check. |
- Returns boolean True if a leaf node.
- Defined on line 181 of libraries/joomla/database/tablenested.php
- Since

See also
JTableNested::isLeaf source code on BitBucket
Class JTableNested
Subpackage Database- Other versions of JTableNested::isLeaf
User contributed notes
Code Examples