Bitrix API

AbstractEntity

AbstractYes

Table of Contents

Methods

__construct()  : mixed
canStartCall()  : bool
checkAccess()  : bool
getCall()  : Call
getChatId()  : mixed
getEntityId()  : mixed
getEntityType()  : mixed
getName()  : mixed
getUsers()  : mixed
onCallCreate()  : bool
onExistingUsersInvite()  : bool
onStateChange()  : mixed
onUserAdd()  : bool
setCall()  : mixed
toArray()  : mixed

Methods

__construct()

public __construct(Call $call, mixed $entityId) : mixed
Parameters
$call : Call
$entityId : mixed

canStartCall()

public abstract canStartCall(int $userId) : bool
Parameters
$userId : int
Return values
bool

checkAccess()

public abstract checkAccess(int $userId) : bool
Parameters
$userId : int
Return values
bool

getEntityId()

public getEntityId([mixed $currentUserId = 0 ]) : mixed
Parameters
$currentUserId : mixed = 0

getName()

public abstract getName(mixed $currentUserId) : mixed
Parameters
$currentUserId : mixed

onCallCreate()

public abstract onCallCreate() : bool
Return values
bool

onExistingUsersInvite()

public abstract onExistingUsersInvite(mixed $userIds) : bool
Parameters
$userIds : mixed
Return values
bool

onStateChange()

public abstract onStateChange(mixed $state, mixed $prevState) : mixed
Parameters
$state : mixed
$prevState : mixed

onUserAdd()

public abstract onUserAdd(mixed $userId) : bool
Parameters
$userId : mixed
Return values
bool

toArray()

public toArray([mixed $initiatorId = 0 ]) : mixed
Parameters
$initiatorId : mixed = 0

        
On this page

Search results