Bitrix Site Manager

CAdminList::AddAdminContextMenu

void
CAdminList::AddAdminContextMenu([
  array $aMenu = array(),
  bool $bShowExcel = true,
  bool $bShowSettings = true
])

The AddAdminContextMenu method creates items for a Control Panel page context menu adds them to a menu.

Parameters

Parameter Description
aMenu A menu descriptor array. See also: CAdminContextMenu.
bShowExcel If true, specifies to add the MS Excel export button to the context menu. Optional parameter; true by default. The button is added to the end of the menu.
bShowSettings If true, adds the list customization button to the menu. Optional; true by default.
The button will be added to the end of the menu.