Actions

API17

JTableNested::getTree

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JTableNested::getTree

Description

Method to get a node and all its child nodes.

Description:JTableNested::getTree [Edit Descripton]

public function getTree (
        $pk=null
        $diagnostic=false
)
Parameter Type Default Description
$pk integer null Primary key of the node for which to get the tree.
$diagnostic boolean false Only select diagnostic data for the nested sets.
  • Returns mixed Boolean false on failure or array of node objects on success.
  • Defined on line 145 of libraries/joomla/database/tablenested.php
  • Since Joomla 11.1

See also

SeeAlso:JTableNested::getTree [Edit See Also]

User contributed notes

<CodeExamplesForm />