Difference between revisions of "JTableNested::getPath"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JTableNested::getPath|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JTableNested::getPath|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function getPath ( |
+ | $pk=null | ||
+ | $diagnostic=false | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' 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''' on line 107 of libraries/joomla/database/tablenested.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/database/tablenested.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JTableNested::getPath source code''' on [[jplatform:database/tablenested.php#cl-99|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JTableNested/11.1|JTableNested]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | ||
+ | * [[JTableNested::getPath|Other versions of JTableNested::getPath]] | ||
+ | {{SeeAlso:JTableNested::getPath}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JTableNested::getPath|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JTableNested::getPath|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 53: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JTableNested]][[Category:JTableNested::getPath]]</noinclude> | <noinclude>[[Category:JTableNested]][[Category:JTableNested::getPath]]</noinclude> |
Revision as of 21:48, 27 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.
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
See also[edit]
- JTableNested::getPath source code on BitBucket
- Class JTableNested
- Subpackage Database
- Other versions of JTableNested::getPath
Template:SeeAlso:JTableNested::getPath [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />