Bitrix API

Helper

Table of Contents

Methods

createUserRoleEntity()  : User
getAttendeeRole()  : Attendee
getCompanyRole()  : Role
getGroupRole()  : Role
getRole()  : Role
getUserObject()  : EO_User|null
getUserRole()  : User|Role|null

Methods

createUserRoleEntity()

public static createUserRoleEntity(EO_User $user) : User
Parameters
$user : EO_User
Return values
User

getAttendeeRole()

public static getAttendeeRole(int $id) : Attendee
Parameters
$id : int
Tags
throws
ArgumentException
throws
BaseException
throws
ObjectPropertyException
throws
SystemException
Return values
Attendee

getCompanyRole()

public static getCompanyRole(int $id) : Role
Parameters
$id : int
Return values
Role

getGroupRole()

public static getGroupRole(int $id) : Role
Parameters
$id : int
Return values
Role

getRole()

public static getRole(int $id, string $type) : Role
Parameters
$id : int
$type : string
Tags
throws
ObjectPropertyException
throws
SystemException
throws
ArgumentException
Return values
Role

getUserObject()

public static getUserObject(int $id) : EO_User|null
Parameters
$id : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
EO_User|null

getUserRole()

public static getUserRole(int $id) : User|Role|null
Parameters
$id : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
User|Role|null

        
On this page

Search results