API17

JTableNested::isLeaf

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JTableNested::isLeaf[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]