function nstDelete($thandle, $node)
 {
     $leftanchor = $node['l'];
     $this->RecordClassFinder->deleteAll($thandle['lvalname'] . ">=" . $node['l'] . " AND " . $thandle['rvalname'] . "<=" . $node['r']);
     _shiftRLValues($thandle, $node['r'] + 1, $node['l'] - $node['r'] - 1);
     return nstGetNodeWhere($thandle, $thandle['lvalname'] . "<" . $leftanchor . " ORDER BY " . $thandle['lvalname'] . " DESC");
 }
 protected function _nstDelete($node)
 {
     $lft = $node->getLft();
     $rgt = $node->getRgt();
     $leftanchor = $lft;
     $queryStatement = "DELETE FROM {$this->_nestSetTableName} WHERE\n             {$this->_lftColName} >= {$lft} AND {$this->_rgtColName} <= {$rgt}";
     $this->_db->query($queryStatement);
     _shiftRLValues($rgt + 1, $lft - $rgt - 1);
     //      if (!$res) {_prtError();}
     //      return nstGetNodeWhere ($thandle,
     //                        $thandle['lvalname']."<".$leftanchor
     //                       ." ORDER BY ".$thandle['lvalname']." DESC"
     //                     );
 }