Helper
Table of Contents
Methods
-
createUserRoleEntity()
: User
-
getAttendeeRole()
: Attendee
-
getCompanyRole()
: Role
-
getGroupRole()
: Role
-
getRole()
: Role
-
getUserObject()
: EO_User|null
-
getUserRole()
: User|Role|null
createUserRoleEntity()
public
static createUserRoleEntity(EO_User $user) : User
Parameters
-
$user
: EO_User
-
getAttendeeRole()
public
static getAttendeeRole(int $id) : Attendee
Parameters
-
$id
: int
-
-
throws
-
ArgumentException
-
throws
-
BaseException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
getCompanyRole()
public
static getCompanyRole(int $id) : Role
Parameters
-
$id
: int
-
getGroupRole()
public
static getGroupRole(int $id) : Role
Parameters
-
$id
: int
-
getRole()
public
static getRole(int $id, string $type) : Role
Parameters
-
$id
: int
-
-
$type
: string
-
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
-
throws
-
ArgumentException
getUserObject()
public
static getUserObject(int $id) : EO_User|null
Parameters
-
$id
: int
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
Return values
EO_User|null
getUserRole()
public
static getUserRole(int $id) : User|Role|null
Parameters
-
$id
: int
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException