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