Метод deriveOwnerFromBindings

private

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

private function deriveOwnerFromBindings(array $bindings): ?ActivityBinding

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

Описание

The binding that becomes the owner of the activity, by the rules of legacy (`appendOwnerFromBindings`, :1221-1245): a binding that is neither a contact nor a company wins and the loop does not stop, so the last such binding is the one that stays; with only clients bound, the first binding is taken.

Параметры

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

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

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

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

Исходный код

PHP