Метод identifierOf

private static

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

private static function identifierOf(ActivityBinding $binding): ?ItemIdentifier

Возвращает: ?ItemIdentifier

Описание

The owner of a binding as an item identifier, or null for an owner no identifier can be made of. Rows of `b_crm_act_bind` carry owner types no longer defined, and legacy skips exactly those bindings here rather than failing over them (`ItemIdentifier::createFromArray()`, mysql/crm_activity.php:146-168). Failing over one here would be worse than on a write: the bindings and the communications are already gone by the time this listener runs and the row of the activity is not, so the run would end with an activity bound to nothing - a state legacy never leaves behind.

Параметры

1
Имя Тип По умолчанию Флаги
$binding ActivityBinding —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Activity/Pipeline/Step/Delete/InnerDelete.php
Расположение метода в файле
Строки 372–375

Исходный код

PHP