• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/component/selector/entity.php
  • Класс: BitrixIblockComponentSelectorEntity
  • Вызов: Entity::setImplicitNavigationData
protected function setImplicitNavigationData(CDBResult $iterator)
{
	if (!$this->isUsedImplicitPageNavigation())
		return;

	$navComponentObject = null;
	$navComponentParameters = [];
	if ($this->arParams['BASE_LINK'] !== '')
	{
		$navComponentParameters["BASE_LINK"] = CHTTP::urlAddParams(
			$this->arParams['BASE_LINK'],
			[],
			['encode' => true]
		);
	}
	$this->navigationString = $iterator->GetPageNavStringEx(
		$navComponentObject,
		$this->getNavigationTitle(),
		'grid',
		true,
		null,
		$navComponentParameters
	);
	$this->navigation->setRecordCount($iterator->NavRecordCount);
	unset($navComponentParameters, $navComponentObject);
}