API17

API17:JTableNested::isLeaf

From Joomla! Documentation

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples