ActivityManager
Table of Contents
Constants
- STATUS_CANCELED_BY_CLIENT = 'canceled_by_client'
- STATUS_CANCELED_BY_MANAGER = 'canceled_by_manager'
- STATUS_MEETING_NOT_HELD = 'meeting_not_held'
Methods
- __construct() : mixed
- completeSharedCrmActivity() : bool
- completes activity for calendar sharing
- createCalendarSharingActivity() : Result|null
- creates crm activity for calendar sharing
- editActivityDeadline() : bool
- if activity exists, launching activity deadline update
- setEvent() : self
- updateEvent() : bool
Constants
STATUS_CANCELED_BY_CLIENT
public
mixed
STATUS_CANCELED_BY_CLIENT
= 'canceled_by_client'
STATUS_CANCELED_BY_MANAGER
public
mixed
STATUS_CANCELED_BY_MANAGER
= 'canceled_by_manager'
STATUS_MEETING_NOT_HELD
public
mixed
STATUS_MEETING_NOT_HELD
= 'meeting_not_held'
Methods
__construct()
public
__construct(int $eventId[, CrmDealLink|null $link = null ][, string|null $guestName = null ][, EventLink|null $eventLink = null ]) : mixed
Parameters
- $eventId : int
- $link : CrmDealLink|null = null
- $guestName : string|null = null
- $eventLink : EventLink|null = null
completeSharedCrmActivity()
completes activity for calendar sharing
public
completeSharedCrmActivity(string|null $status) : bool
Parameters
- $status : string|null
Return values
boolcreateCalendarSharingActivity()
creates crm activity for calendar sharing
public
createCalendarSharingActivity(string $activityName, string|null $description, DateTime $eventStart) : Result|null
Parameters
- $activityName : string
- $description : string|null
- $eventStart : DateTime
Return values
Result|nulleditActivityDeadline()
if activity exists, launching activity deadline update
public
editActivityDeadline(DateTime $deadline) : bool
Parameters
- $deadline : DateTime
Return values
boolsetEvent()
public
setEvent(Event $event) : self
Parameters
- $event : Event
Return values
selfupdateEvent()
public
updateEvent() : bool