• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Relation/StorageStrategy/Factory.php
  • Класс: Bitrix\Crm\Relation\StorageStrategy\Factory
  • Вызов: Factory::areItemsBound
public function areItemsBound(ItemIdentifier $parent, ItemIdentifier $child): bool
{
	$item = $this->childFactory->getItem($child->getEntityId());
	if (!$item)
	{
		return false;
	}

	return ($item->get($this->parentIdFieldName) === $parent->getEntityId());
}