Actions

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

Replacement filing cabinet.png
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.

Joomla 11.1 JTableNested::getPath

Description

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

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 (line 107)

Referenced by

See also

[Edit See Also]

SeeAlso:JTableNested::getPath

Examples

<CodeExamplesForm />