protected function _update($rght, $dir = '+', $span = 2, $scp = []) {
		extract($this->_config);

		$model::update([$right => (object) ($right . $dir . $span)], [
			$right => ['>=' => $rght]
		] + $scp);

		$model::update([$left => (object) ($left . $dir . $span)], [
			$left => ['>' => $rght]
		] + $scp);
	}
protected function _update($rght, $dir = '+', $span = 2, $scp = []) {
		extract($this->_config);

		$model::update([$right => (object) ($right . $dir . $span)], [
			$right => ['>=' => $rght]
		] + $scp);

		$model::update([$left => (object) ($left . $dir . $span)], [
			$left => ['>' => $rght]
		] + $scp);
	}
protected function _update ( $ rght , $ dir = '+' , $ span = 2 , $ scp = [ ] ) { extract ( $ this -> _config ) ; $ model :: update ( [ $ right => ( object ) ( $ right . $ dir . $ span ) ] , [ $ right => [ '>=' => $ rght ] ] + $ scp ) ; $ model :: update ( [ $ left => ( object ) ( $ left . $ dir . $ span ) ] , [ $ left => [ '>' => $ rght ] ] + $ scp ) ; }
Update node indices

Updates the Indices in greater than $rght with given value.

@param integer $rght the right index border to start indexing
@param string $dir Direction +/- (defaults to +)
@param integer $span value to be added/subtracted (defaults to 2)
@param array $scp The scope to apply updates on
Update node indices