ActivityHandler
Table of Contents
Constants
- SHARING_STATUS_CANCELED_BY_CLIENT = 'CANCELED_BY_CLIENT'
- SHARING_STATUS_CANCELED_BY_MANAGER = 'CANCELED_BY_MANAGER'
- SHARING_STATUS_MEETING_NOT_HELD = 'MEETING_NOT_HELD'
Methods
- __construct() : mixed
- completeWithStatus() : bool
- completes the crm deal calendar sharing activity
- updateDeadline() : bool
- updates deadline of the crm deal calendar sharing activity
- updateSettings() : bool
Constants
SHARING_STATUS_CANCELED_BY_CLIENT
public
mixed
SHARING_STATUS_CANCELED_BY_CLIENT
= 'CANCELED_BY_CLIENT'
SHARING_STATUS_CANCELED_BY_MANAGER
public
mixed
SHARING_STATUS_CANCELED_BY_MANAGER
= 'CANCELED_BY_MANAGER'
SHARING_STATUS_MEETING_NOT_HELD
public
mixed
SHARING_STATUS_MEETING_NOT_HELD
= 'MEETING_NOT_HELD'
Methods
__construct()
public
__construct(array<string|int, mixed> $activity, int $ownerTypeId, int $ownerId) : mixed
Parameters
- $activity : array<string|int, mixed>
- $ownerTypeId : int
- $ownerId : int
completeWithStatus()
completes the crm deal calendar sharing activity
public
completeWithStatus([string|null $status = null ]) : bool
Parameters
- $status : string|null = null
Return values
boolupdateDeadline()
updates deadline of the crm deal calendar sharing activity
public
updateDeadline(DateTime $deadline) : bool
Parameters
- $deadline : DateTime
Return values
boolupdateSettings()
public
updateSettings(array<string|int, mixed> $updatedSettings) : bool
Parameters
- $updatedSettings : array<string|int, mixed>