• Модуль: rpa
  • Путь к файлу: ~/bitrix/modules/rpa/lib/components/base.php
  • Класс: BitrixRpaComponentsBase
  • Вызов: Base::addTopPanel
public function addTopPanel(CBitrixComponentTemplate $template)
{
	$template->setViewTarget('above_pagetitle');
	$menuId = Driver::MODULE_ID;
	global $APPLICATION;
	$APPLICATION->IncludeComponent(
		'bitrix:main.interface.buttons',
		'',
		[
			'ID' => $menuId,
			'ITEMS' => $this->getTopPanelItems(),
		]
	);
	$template->endViewTarget();
}