Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Helper

Открытые статические члены

static getRole (int $id, string $type)
 
static getUserRole (int $id)
 
static getCompanyRole (int $id)
 
static getGroupRole (int $id)
 
static getAttendeeRole (int $id)
 
static getUserObject (int $id)
 
static createUserRoleEntity (Main\EO_User $user)
 

Подробное описание

См. определение в файле helper.php строка 9

Методы

◆ createUserRoleEntity()

static createUserRoleEntity ( Main\EO_User $user)
static
Аргументы
Main\EO_User$user
Возвращает
User

См. определение в файле helper.php строка 124

◆ getAttendeeRole()

static getAttendeeRole ( int $id)
static
Исключения
Main

ArgumentException

Исключения
BaseException
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле helper.php строка 79

◆ getCompanyRole()

static getCompanyRole ( int $id)
static

См. определение в файле helper.php строка 60

◆ getGroupRole()

static getGroupRole ( int $id)
static

См. определение в файле helper.php строка 66

◆ getRole()

static getRole ( int $id,
string $type )
static
Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

Исключения
Main

ArgumentException

См. определение в файле helper.php строка 16

◆ getUserObject()

static getUserObject ( int $id)
static
Аргументы
int$id
Возвращает
Main\EO_User|null
Исключения
Main

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле helper.php строка 105

◆ getUserRole()

static getUserRole ( int $id)
static
Аргументы
int$id
Возвращает
User|Role|null
Исключения
Main

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле helper.php строка 40