...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/Relation/StorageStrategy/EntityRelationTable.php
- Класс: Bitrix\Crm\Relation\StorageStrategy\EntityRelationTable
- Вызов: EntityRelationTable::createBinding
protected function createBinding(ItemIdentifier $parent, ItemIdentifier $child): Result { $entityObject = static::$tableClass::createObject(); $entityObject ->setSrcEntityTypeId($parent->getEntityTypeId()) ->setSrcEntityId($parent->getEntityId()) ->setDstEntityTypeId($child->getEntityTypeId()) ->setDstEntityId($child->getEntityId()) ->setRelationType(static::RELATION_TYPE) ; return $entityObject->save(); }