• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/component/base.php
  • Класс: BitrixIblockComponentBase
  • Вызов: Base::makeOutputResult
protected function makeOutputResult()
{
	$this->arResult = array_merge($this->arResult, $this->storage['URLS']);
	$this->arResult['CONVERT_CURRENCY'] = $this->storage['CONVERT_CURRENCY'];
	$this->arResult['CATALOGS'] = $this->storage['CATALOGS'];
	$this->arResult['MODULES'] = $this->storage['MODULES'];
	$this->arResult['PRICES_ALLOW'] = $this->storage['PRICES_ALLOW'];

	if ($this->isEnableCompatible())
	{
		if ($this->arParams['IBLOCK_ID'] > 0)
		{
			$this->arResult['CATALOG'] = false;

			if (
				!empty($this->storage['CATALOGS'][$this->arParams['IBLOCK_ID']])
				&& is_array($this->storage['CATALOGS'][$this->arParams['IBLOCK_ID']])
			)
			{
				$this->arResult['CATALOG'] = $this->storage['CATALOGS'][$this->arParams['IBLOCK_ID']];
			}
		}
	}
}