API17:JTableNested::getPath
From Joomla! Documentation
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.
JTableNested::getPath
Description
Method to get an array of nodes from a given node to its root.
Description:JTableNested::getPath [Edit Descripton]
Since
Synopsis
public JTableNested::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 in
libraries/joomla/database/tablenested.php (line 107)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
