JTableNested::getPath/11.1
From Joomla! Documentation
JTableNested::getPath
Description
Method to get an array of nodes from a given node to its root.
Description:JTableNested::getPath [Edit Descripton]
public function getPath ( $pk=null $diagnostic=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $pk | integer | null | Primary key of the node for which to get the path. |
| $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 107 of libraries/joomla/database/tablenested.php
- Since

See also
JTableNested::getPath source code on BitBucket
Class JTableNested
Subpackage Database- Other versions of JTableNested::getPath
SeeAlso:JTableNested::getPath [Edit See Also]