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

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

		$model::update([$left => (object) ($left . $dir . $span)] + $data, [
			$left => [
				'>=' => $range['floor'],
				'<=' => $range['ceiling']
		]] + $scp);
	}
protected function _updateBetween($range, $dir = '+', $span = 2, $scp = [], $data = []) {
		extract($this->_config);

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

		$model::update([$left => (object) ($left . $dir . $span)] + $data, [
			$left => [
				'>=' => $range['floor'],
				'<=' => $range['ceiling']
		]] + $scp);
	}
protected function _updateBetween ( $ range , $ dir = '+' , $ span = 2 , $ scp = [ ] , $ data = [ ] ) { extract ( $ this -> _config ) ; $ model :: update ( [ $ right => ( object ) ( $ right . $ dir . $ span ) ] , [ $ right => [ '>=' => $ range [ 'floor' ] , '<=' => $ range [ 'ceiling' ] ] ] + $ scp ) ; $ model :: update ( [ $ left => ( object ) ( $ left . $ dir . $ span ) ] + $ data , [ $ left => [ '>=' => $ range [ 'floor' ] , '<=' => $ range [ 'ceiling' ] ] ] + $ scp ) ; }
Update node indices between

Updates the Indices in given range with given value.

@param array $range the range to be updated
@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
@param array $data Additionnal scope datas (optionnal)
Update node indices between