JTableNested::getTree
From Joomla! Documentation
Revision as of 17:23, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→User contributed notes: moving preparation)
Revision as of 17:23, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→User contributed notes: moving preparation)
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.
JTableNested::getTree[edit]
Description[edit]
Method to get a node and all its child nodes.
Template: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
See also[edit]
- JTableNested::getTree source code on BitBucket
- Class JTableNested
- Subpackage Database
- Other versions of JTableNested::getTree
Template:SeeAlso:JTableNested::getTree [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />