Bitrix API

RoleDictionary extends RoleDictionary

Table of Contents

Constants

ROLE_ADMIN  = 'HUMAN_RESOURCES_ROLE_ADMIN'
ROLE_DIRECTOR  = 'HUMAN_RESOURCES_ROLE_DIRECTOR'
ROLE_EMPLOYEE  = 'HUMAN_RESOURCES_ROLE_EMPLOYEE'

Methods

getConstants()  : array<string|int, string>
returns an array of all RoleDictionary constants
getRoleName()  : string

Constants

ROLE_ADMIN

public mixed ROLE_ADMIN = 'HUMAN_RESOURCES_ROLE_ADMIN'

ROLE_DIRECTOR

public mixed ROLE_DIRECTOR = 'HUMAN_RESOURCES_ROLE_DIRECTOR'

ROLE_EMPLOYEE

public mixed ROLE_EMPLOYEE = 'HUMAN_RESOURCES_ROLE_EMPLOYEE'

Methods

getConstants()

returns an array of all RoleDictionary constants

public static getConstants() : array<string|int, string>
Return values
array<string|int, string>

getRoleName()

public static getRoleName(string $code) : string
Parameters
$code : string
Return values
string

        
On this page

Search results