• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/component/elementlist.php
  • Класс: BitrixIblockComponentElementList
  • Вызов: ElementList::checkTemplateTheme
protected function checkTemplateTheme()
{
	parent::checkTemplateTheme();

	if ($this->isPaginationMode())
	{
		if (isset($this->arResult['NAV_PARAM']) && is_array($this->arResult['NAV_PARAM']))
		{
			$this->arResult['NAV_PARAM']['TEMPLATE_THEME'] = $this->arParams['TEMPLATE_THEME'];
		}

		if (!empty($this->arResult['NAV_RESULT']) && empty($this->arResult['NAV_STRING']))
		{
			/** @var CBitrixComponent $navComponentObject */
			$this->arResult['NAV_STRING'] = $this->arResult['NAV_RESULT']->GetPageNavStringEx(
				$navComponentObject,
				$this->arParams['PAGER_TITLE'],
				$this->arParams['PAGER_TEMPLATE'],
				$this->arParams['PAGER_SHOW_ALWAYS'],
				$this,
				$this->arResult['NAV_PARAM']
			);
		}
	}
}