API17

Difference between revisions of "JTableNested::getPath"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JTableNested->getPath ($pk=null, $diagnostic=false)
+
public JTableNested::getPath ($pk=null, $diagnostic=false)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 35:
 
mixed Boolean false on failure or array of node objects on success.
 
mixed Boolean false on failure or array of node objects on success.
 
===Defined in===
 
===Defined in===
libraries/joomla/database/tablenested.php
+
libraries/joomla/database/tablenested.php (line 107)
 +
* see source code in [[jplatform:database/tablenested.php#cl-107|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:24, 23 April 2011

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]

Since[edit]

Joomla 11.1

Synopsis[edit]

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[edit]

mixed Boolean false on failure or array of node objects on success.

Defined in[edit]

libraries/joomla/database/tablenested.php (line 107)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JTableNested::getPath

Examples[edit]

<CodeExamplesForm />