Метод isRefusalOfAnActivityThatIsNotThere
Сигнатура метода
private static function isRefusalOfAnActivityThatIsNotThere(Bitrix\Main\Result $result): bool
Возвращает:
bool
Описание
Whether the operation was refused because the activity has no row at all. It is the refusal legacy reports without a message of any kind - a completion of an activity that is not there (item H1, :4587-4590), an update over one (:516-519) and an update whose row disappeared between its write and its re-read (:739-742): the reads of the operations have a typed error for it, and the accumulator of this class may not learn about it, or a caller counting the messages would see one that legacy never registered. ONE CODE ANSWERS FOR EVERY ONE OF THOSE READS. Every step that reads a row of an activity refuses with the same code, so the constant named below stands for all of them rather than for the completion alone.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$result
|
Bitrix\Main\Result
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/classes/general/crm_activity.php