Baum\Node::makeTree PHP 메소드

makeTree() 공개 메소드

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
리턴 boolean
    public function makeTree($nodeList)
    {
        $mapper = new SetMapper($this);
        return $mapper->map($nodeList);
    }