• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/source/selector.php
  • Класс: BitrixLandingSourceSelector
  • Вызов: Selector::getDataLoader
public function getDataLoader($index, array $parameters, array $options = [])
{
	$source = $this->findSource($index);
	if (empty($source))
	{
		return null;
	}

	$parameters['internal_filter'] = $source['SOURCE_FILTER'];

	/** @var DataLoader $result */
	$result = new $source['DATA_LOADER'];
	$result->setConfig($parameters);
	$result->setOptions($options);

	return $result;
}