• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/landingsource/dataloader.php
  • Класс: BitrixIblockLandingSourceDataLoader
  • Вызов: DataLoader::initIblock
protected function initIblock()
	{
		$internalFilter = $this->getInternalFilter();
		if (!empty($internalFilter) && is_array($internalFilter))
		{
			if (isset($internalFilter['IBLOCK_ID']))
				$this->iblockId = (int)$internalFilter['IBLOCK_ID'];
			if ($this->iblockId > 0 && $this->catalogIncluded)
			{
				$catalog = CCatalogSku::GetInfoByProductIBlock($this->iblockId);
				if (!empty($catalog))
					$this->catalog = $catalog;
				unset($catalog);
			}
		}
		unset($internalFilter);
	}