API17:JTableNested::moveByReference
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JTableNested::moveByReference|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JTableNested::moveByReference|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function moveByReference ( |
| + | $referenceId | ||
| + | $position= 'after' | ||
| + | $pk=null | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 37: | Line 38: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' boolean True on success. | |
| − | boolean True on success. | + | * '''Defined''' on line 283 of libraries/joomla/database/tablenested.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/database/tablenested.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JTableNested::moveByReference source code''' on [[jplatform:database/tablenested.php#cl-275|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JTableNested/11.1|JTableNested]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | ||
| + | * [[JTableNested::moveByReference|Other versions of JTableNested::moveByReference]] | ||
| + | {{SeeAlso:JTableNested::moveByReference}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JTableNested::moveByReference|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JTableNested::moveByReference|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 58: | Line 58: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JTableNested]][[Category:JTableNested::moveByReference]]</noinclude> | <noinclude>[[Category:JTableNested]][[Category:JTableNested::moveByReference]]</noinclude> | ||
Revision as of 21:49, 27 April 2011
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.
JTableNested::moveByReference
Description
Method to move a node and its children to a new location in the tree.
Description:JTableNested::moveByReference [Edit Descripton]
public function moveByReference ( $referenceId $position= 'after' $pk=null )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $referenceId | integer | The primary key of the node to reference new location by. | |
| $position | string | 'after' | Location type string. ['before', 'after', 'first-child', 'last-child'] |
| $pk | integer | null | The primary key of the node to move. |
- Returns boolean True on success.
- Defined on line 283 of libraries/joomla/database/tablenested.php
- Since
See also
-
JTableNested::moveByReference source code on BitBucket
-
Class JTableNested
-
Subpackage Database
- Other versions of JTableNested::moveByReference
SeeAlso:JTableNested::moveByReference [Edit See Also]
User contributed notes
<CodeExamplesForm />
