API17

Difference between revisions of "JTableNested::moveByReference"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (preparing for archive only)
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Method to move a node and its children to a new location in the tree.  
 
Method to move a node and its children to a new location in the tree.  
  
{{Description:JTableNested::moveByReference}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JTableNested::moveByReference|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JTableNested->moveByReference ($referenceId, $position= 'after', $pk=null)
+
public function moveByReference (
 +
        $referenceId
 +
        $position= 'after'
 +
        $pk=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 37: Line 36:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success.
boolean True on success.
+
* '''Defined''' on line 283 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::moveByReference source code''' on [[jplatform:database/tablenested.php#cl-275|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JTableNested::moveByReference|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::moveByReference|Other versions of JTableNested::moveByReference]]
* [[JTableNested::moveByReference|Other versions of this method]]
+
 
{{SeeAlso:JTableNested::moveByReference}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JTableNested::moveByReference
 
category=JTableNested::moveByReference
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JTableNested]][[Category:JTableNested::moveByReference]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:50, 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.

Joomla 11.1 JTableNested::moveByReference[edit]

Description[edit]

Method to move a node and its children to a new location in the tree.


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 Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]