• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/recycling/dynamicbindermanager.php
  • Класс: Bitrix\Crm\Recycling\DynamicBinderManager
  • Вызов: DynamicBinderManager::getData
public function getData(): array
{
	$this->checkConfigure();

	$slots = [];
	foreach ($this->getDynamicTypes() as $type)
	{
		$entityTypeId = $type->getEntityTypeId();
		$dynamicIds = DynamicBinder::getInstance($entityTypeId)
			->getBoundEntityIDs($this->getAssociatedEntityTypeId(), $this->getEntityId());

		if (!empty($dynamicIds))
		{
			$slots[$this->compileSlotKey($entityTypeId)] = $dynamicIds;
		}
	}
	return $slots;
}