API17

JTableNested::getPath: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
Method to get an array of nodes from a given node to its root.  
Method to get an array of nodes from a given node to its root.  


{{Description:JTableNested::getPath}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JTableNested::getPath|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public JTableNested->getPath ($pk=null, $diagnostic=false)
public function getPath (
        $pk=null
        $diagnostic=false
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 32: Line 30:
|-
|-
|}
|}
===Returns===
* '''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
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/tablenested.php
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JTableNested::getPath source code''' on [[jplatform:database/tablenested.php#cl-99|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JTableNested::getPath|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JTableNested|JTableNested]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[JTableNested/11.1|JTableNested]]
* [[API17:JTableNested::getPath|Other versions of JTableNested::getPath]]
* [[JTableNested::getPath|Other versions of this method]]
 
{{SeeAlso:JTableNested::getPath}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JTableNested::getPath
category=JTableNested::getPath
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JTableNested]][[Category:JTableNested::getPath]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:49, 25 March 2017

Joomla 11.1 JTableNested::getPath

Description

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


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


User contributed notes

Code Examples