Метод pastBoundary

private

Сигнатура метода

private function pastBoundary(DictionaryType $type, int $recordId, array $fields): Result

Возвращает: Result

Описание

A change of a value standing at a position the facade would not keep - zero or less, which is a row this domain never creates and the table does hold. Through the facade such a change would move the value to the default position, and a caller changing the name alone would find it in another place of the list. So it is written through the table, which touches the columns it is given and nothing else, and the position is not one of them. The normalization of the facade is not lost with it: the only rules it has for these columns are the position it would replace here and a name it trims and drops when empty, and the name a write of this domain carries has been through both above ({@see \Bitrix\Crm\V2\Internal\Service\Dictionary\DictionaryValueService}). A change naming no field at all writes nothing: there is nothing left to write once the position is out, and the value is already what it is asked to become.

Параметры

3
Имя Тип По умолчанию Флаги
$type DictionaryType —
—
$recordId int —
—
$fields array —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/Dictionary/DictionaryValueRepository.php
Расположение метода в файле
Строки 321–337

Исходный код

PHP