Метод carryWriteErrors

private static

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

private static function carryWriteErrors(Main\Result $writeResult, Main\ORM\Data\Result $result)

Описание

Moves the refusals of the write service into the result the callers of this class expect, keeping the shape of the answer as inconstant as it has always been: a refusal of the checks above is a plain result of its own, and everything the write itself answers is a result of the ORM.

Параметры

2
Имя Тип По умолчанию Флаги
$writeResult Main\Result —
—
$result Main\ORM\Data\Result —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/entityrequisite.php
Расположение метода в файле
Строки 1595–1607

Исходный код

PHP