Bitrix API

Role

FinalYes

Table of Contents

Constants

ASSIGNEE  = 'assignee'
EDITOR  = 'editor'
REVIEWER  = 'reviewer'
SIGNER  = 'signer'

Methods

convertIntToRole()  : string
convertRoleToInt()  : int
getAll()  : array<string|int, self::*>
isValid()  : bool
toIntMap()  : array<string|int, mixed>
tryFromInt()  : string|null

Constants

ASSIGNEE

public mixed ASSIGNEE = 'assignee'

EDITOR

public mixed EDITOR = 'editor'

REVIEWER

public mixed REVIEWER = 'reviewer'

SIGNER

public mixed SIGNER = 'signer'

Methods

convertIntToRole()

public static convertIntToRole(int $roleNumber) : string
Parameters
$roleNumber : int
Return values
string

convertRoleToInt()

public static convertRoleToInt(string $role) : int
Parameters
$role : string
Return values
int

getAll()

public static getAll() : array<string|int, self::*>
Return values
array<string|int, self::*>

isValid()

public static isValid(string $role) : bool
Parameters
$role : string
Return values
bool

toIntMap()

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

tryFromInt()

public static tryFromInt(int $number) : string|null
Parameters
$number : int
Return values
string|null

        
On this page

Search results