GetPanelButtons
Description and parameters
array CIBlock::GetPanelButtons( int IBLOCK_ID=0, int ELEMENT_ID=0, int SECTION_ID=0, array arOptions=array() );
Method returns array, describing the set of buttons for managing iblock elements. Static method.
Parameters
Parameter | Description |
---|---|
IBLOCK_ID | Iblock ID with element. |
ELEMENT_ID | Current iblock element ID. |
SECTION_ID | Iblock section ID (if available). |
arOptions | Array, containing name localization and popup hints. Must contain section LABELS with keys containing action names with elements and section of iblocks with prefixes TEXT and TITLE (ELEMENT_ADD_TEXT and ELEMENT_ADD_TITLE). When array is missing, localization settings are sourced from iblock settings, returned by the method CIBlock::GetArrayByID. |
Returned value
Array, describing set of buttons (adding, editing, config and etc.) with account of iblock access permissions level.
See Also
© «Bitrix24», 2001-2024