Difference between revisions of "JTableNested::moveByReference"
From Joomla! Documentation
m (→User contributed notes: moving preparation) |
m (→See also: moving preparation) |
||
Line 43: | Line 43: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JTableNested::moveByReference source code''' on [[jplatform:database/tablenested.php#cl-275|BitBucket]] | * {{JVer|11.1}} '''JTableNested::moveByReference source code''' on [[jplatform:database/tablenested.php#cl-275|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JTableNested | + | * {{JVer|11.1}} Class [[API17:JTableNested|JTableNested]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Database | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] |
− | * [[JTableNested::moveByReference|Other versions of JTableNested::moveByReference]] | + | * [[API17:JTableNested::moveByReference|Other versions of JTableNested::moveByReference]] |
{{SeeAlso:JTableNested::moveByReference}} | {{SeeAlso:JTableNested::moveByReference}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> |
Revision as of 21:42, 11 May 2013
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::moveByReference[edit]
Description[edit]
Method to move a node and its children to a new location in the tree.
Template: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[edit]
- JTableNested::moveByReference source code on BitBucket
- Class JTableNested
- Subpackage Database
- Other versions of JTableNested::moveByReference
Template:SeeAlso:JTableNested::moveByReference [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />