...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/Relation/RelationManager.php
- Класс: Bitrix\Crm\Relation\RelationManager
- Вызов: RelationManager::bindItems
public function bindItems(ItemIdentifier $parent, ItemIdentifier $child): Result { $relation = $this->findExistingRelationByIdentifiers($parent, $child); if (!$relation) { return (new Result())->addError( new Error('The types are not bound', static::ERROR_CODE_BIND_ITEMS_TYPES_NOT_BOUND) ); } return $relation->bindItems($parent, $child); }