Documentation

AddPanelButtons

CIBlock::AddPanelButtons(
 string mode,
 string componentName,
 array arButtons
);

Method adds buttons, responsible for management of iblock elements to panel (method calls CMain::AddPanelButton). Non-static method.

Parameters

ParameterDescription
mode Admin section display mode. Returned by method CMain::GetPublicShowMode.
componentName Component name, registering buttons. Returned by the method [link=89752]CBitrixComponent::GetName[/link].
arButtons Array with buttons to be registered with account of current user access permissions. Generated by the method CIBlock::GetPanelButtons.

See Also



© «Bitrix24», 2001-2024