- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/classes/general/dbresult.php
- Класс: CAllDBResult
- Вызов: CAllDBResult::GetPageNavStringEx
public function GetPageNavStringEx(&$navComponentObject, $navigationTitle, $templateName = "", $showAlways = false, $parentComponent = null, $componentParams = [])
{
/** @global CMain $APPLICATION */
global $APPLICATION;
ob_start();
$params = array_merge(
[
"NAV_TITLE" => $navigationTitle,
"NAV_RESULT" => $this,
"SHOW_ALWAYS" => $showAlways,
],
$componentParams
);
$navComponentObject = $APPLICATION->IncludeComponent(
"bitrix:system.pagenavigation",
$templateName,
$params,
$parentComponent,
[
"HIDE_ICONS" => "Y",
]
);
$result = ob_get_contents();
ob_end_clean();
return $result;
}