protected function updateNodeParent($nodeId, $parent)
    {
        $config = $this->config;
        $this->getFluent()
                ->update($config['table'])
                ->set($config['prt'], $parent)
                ->where($config['id'], $nodeId)
                ->execute();
    }
protected function updateNodeParent($nodeId, $parent)
    {
        $config = $this->config;
        $this->getFluent()
                ->update($config['table'])
                ->set($config['prt'], $parent)
                ->where($config['id'], $nodeId)
                ->execute();
    }
protected function updateNodeParent ( $ nodeId , $ parent ) { $ config = $ this -> config ; $ this -> getFluent ( ) -> update ( $ config [ 'table' ] ) -> set ( $ config [ 'prt' ] , $ parent ) -> where ( $ config [ 'id' ] , $ nodeId ) -> execute ( ) ; }
Set node the new parent.
@param mixed $nodeId
@param mixed $parent
Set node the new parent .