API17

API17:JTableNested::getPath

From Joomla! Documentation

Revision as of 00:26, 21 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 11.1 JTableNested::getPath

Description

Method to get an array of nodes from a given node to its root.

Template:Description:JTableNested::getPath [Edit Descripton]

Since

Joomla 11.1

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

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JTableNested::getPath

Examples

<CodeExamplesForm />