DB_NestedSet::moveTree()

DB_NestedSet::moveTree()  -- Wrapper for node moving and copying

Synopsis

require_once 'DB/NestedSet.php';

int DB_NestedSet::moveTree (int $id, $targetid, constant $pos, bool [$copy = FALSE], int $target)

Description

Ce module n'est actuellement pas documenté.

Paramètres

entier $id

Source ID

$targetid

Target ID

constant $pos

Position (use one of the NESE_MOVE_* constants)

booléen $copy

Shall we create a copy

entier $target

Target ID

Valeur retournée

returns ID of the moved node or false on error

Voir aussi

see _moveInsideLevel

see _moveRoot2Root

see _moveAcross

Valeurs renvoyées

throws no exceptions thrown

Note

Cette fonction ne peut pas être appelée de façon statique.

Exemple