class CRM_Activity_BAO_ICalendar

Generate ical invites for activities.

Properties

protected object $activity

Methods

__construct(object $act)

Constructor.

string|null
addAttachment(array $attachments, array $contacts)

Add an ics attachment to the input array.

cleanup()

Remove temp file.

Details

at line 52
CRM_Activity_BAO_ICalendar __construct(object $act)

Constructor.

Parameters

object $act Reference to an activity object.

Return Value

CRM_Activity_BAO_ICalendar

at line 67
string|null addAttachment(array $attachments, array $contacts)

Add an ics attachment to the input array.

Parameters

array $attachments Reference to array in same format returned from CRM_Core_BAO_File::getEntityFile().
array $contacts Array of contacts (attendees).

Return Value

string|null Array index of the added attachment in the $attachments array, else NULL.

at line 107
cleanup()

Remove temp file.