Difference between revisions of "JTableNested::moveByReference"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public JTableNested::moveByReference ($referenceId, $position= 'after', $pk=null) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 40: | Line 40: | ||
boolean True on success. | boolean True on success. | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/database/tablenested.php | + | libraries/joomla/database/tablenested.php (line 283) |
+ | * see source code in [[jplatform:database/tablenested.php#cl-283|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== |
Revision as of 21:24, 23 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::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]
Since[edit]
Synopsis[edit]
public JTableNested::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[edit]
boolean True on success.
Defined in[edit]
libraries/joomla/database/tablenested.php (line 283)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JTableNested::moveByReference
Examples[edit]
<CodeExamplesForm />