API17

Difference between revisions of "JTableNested::getPath"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JTableNested::getPath/11.1 to API17:JTableNested::getPath without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 21:27, 10 May 2013

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.

Joomla 11.1 JTableNested::getPath[edit]

Description[edit]

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

Template: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 Joomla 11.1

See also[edit]

Template:SeeAlso:JTableNested::getPath [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />