Bitrix API

CodeBuilder

AbstractYes

Table of Contents

Methods

getMapItemCode()  : string
getMenuCode()  : string
Use this method to generate a value for a 'MENU_CODE' param of a 'intranet.binding.menu' component.
getRestPlacementCode()  : string

Methods

getMapItemCode()

public static getMapItemCode(int $entityTypeId) : string
Parameters
$entityTypeId : int
Return values
string

getMenuCode()

Use this method to generate a value for a 'MENU_CODE' param of a 'intranet.binding.menu' component.

public static getMenuCode(int $entityTypeId) : string
Parameters
$entityTypeId : int
Return values
string

getRestPlacementCode()

public static getRestPlacementCode(string $sectionCode, int $entityTypeId) : string
Parameters
$sectionCode : string
$entityTypeId : int
Tags
see
SectionCode
  • use constants of this class as a first argument value
throws
ArgumentException
Return values
string

        
On this page

Search results