Difference between revisions of "JTableNested:: getNode"
From Joomla! Documentation
(Layout updates) |
m (preparing for archive only) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Method to get nested set properties for a node in the tree. | Method to get nested set properties for a node in the tree. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | protected | + | protected function _getNode ( |
+ | $id | ||
+ | $key=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed Boolean false on failure or node object on success. | |
− | mixed Boolean false on failure or node object on success. | + | * '''Defined''' on line 1457 of libraries/joomla/database/tablenested.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/database/tablenested.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JTableNested::_getNode source code''' on [[jplatform:database/tablenested.php#cl-1449|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JTableNested|JTableNested]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | |
− | * | + | * [[API17:JTableNested::_getNode|Other versions of JTableNested::_getNode]] |
− | * [[JTableNested::_getNode|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JTableNested::_getNode | category=JTableNested::_getNode | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:49, 24 March 2017
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::_getNode[edit]
Description[edit]
Method to get nested set properties for a node in the tree.
protected function _getNode (
$id
$key=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$id | integer | Value to look up the node by. | |
$key | string | null | Key to look up the node by. |
- Returns mixed Boolean false on failure or node object on success.
- Defined on line 1457 of libraries/joomla/database/tablenested.php
- Since
See also[edit]
- JTableNested::_getNode source code on BitBucket
- Class JTableNested
- Subpackage Database
- Other versions of JTableNested::_getNode
User contributed notes[edit]
Code Examples[edit]