Bitrix API

RoleManagementModelBuilder uses Singleton

Builds a model of CRM rights containing all Entities, their rights and possible values of these rights. Required to create a view for editing rights.

Table of Contents

Methods

__wakeup()  : mixed
allEntities()  : array<string|int, mixed>
allPermissions()  : array<string|int, Permission>
buildModels()  : array<string|int, EntityDTO>
clearEntitiesCache()  : void
entities()  : array<string|int, PermissionEntity>
getControlTypeByPermType()  : string
getEntityNamesWithPermissionClass()  : array<string|int, mixed>
getInstance()  : static
getPermissionByCode()  : Permission|null
permTypeControlTypeMap()  : array<string, string>

Methods

getControlTypeByPermType()

public static getControlTypeByPermType(string $permType) : string
Parameters
$permType : string
Return values
string

getInstance()

public static getInstance() : static
Return values
static

permTypeControlTypeMap()

public static permTypeControlTypeMap() : array<string, string>
Return values
array<string, string>

        
On this page

Search results