API17

JTableNested::moveByReference

From Joomla! Documentation

Revision as of 21:42, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→‎See also: moving preparation)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.

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

See also[edit]

Template:SeeAlso:JTableNested::moveByReference [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />