...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/Relation/StorageStrategy/EntityRelationTable.php
- Класс: Bitrix\Crm\Relation\StorageStrategy\EntityRelationTable
- Вызов: EntityRelationTable::areItemsBound
public function areItemsBound(ItemIdentifier $parent, ItemIdentifier $child): bool { return (static::$tableClass::getCount([ '=SRC_ENTITY_TYPE_ID' => $parent->getEntityTypeId(), '=SRC_ENTITY_ID' => $parent->getEntityId(), '=DST_ENTITY_TYPE_ID' => $child->getEntityTypeId(), '=DST_ENTITY_ID' => $child->getEntityId(), ]) > 0); }