Baum\Node::makeTree PHP Method

makeTree() public method

Maps the provided tree structure into the database using the current node as the parent. The provided tree structure will be inserted/updated as the descendancy subtree of the current node instance.
public makeTree ( $nodeList ) : boolean
return boolean
    public function makeTree($nodeList)
    {
        $mapper = new SetMapper($this);
        return $mapper->map($nodeList);
    }