• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/integration/ui/entityselector/epicselectorprovider.php
  • Класс: BitrixTasksIntegrationUIEntitySelectorEpicSelectorProvider
  • Вызов: EpicSelectorProvider::fillDialog
public function fillDialog(Dialog $dialog): void
{
	$groupId = $this->getOption('groupId');

	$this->fillWithPreselectedItems($groupId, $dialog);
	$this->fillWithRecentItems($groupId, $dialog);

	if ($dialog->getItemCollection()->count() < $this->maxCount)
	{
		$excludeIds = $this->getRecentItemsIds($dialog);

		$dialog->addItems($this->getEpicItems($groupId, $excludeIds));
	}
}