Can be used to send event invitations, event updates as well as event
cancellations.
public static sendITipNotifications ( Kronolith_Event $event, Horde_Notification_Handler $notification, integer $action, Horde_Date $instance = null, string $range = null, Kronolith_Attendee_List $cancellations = null ) | ||
$event | Kronolith_Event | The event in question. |
$notification | Horde_Notification_Handler | A notification object used to show result status. |
$action | integer | The type of notification to send. One of the Kronolith::ITIP_* values. |
$instance | Horde_Date | If cancelling a single instance of a recurring event, the date of this instance. |
$range | string | The range parameter if this is a recurring event. Possible values are self::RANGE_THISANDFUTURE |
$cancellations | Kronolith_Attendee_List | If $action is 'CANCEL', but it is due to removing attendees and not canceling the entire event, these are the uninvited attendees and are the ONLY people that will receive the CANCEL iTIP. @since 4.2.10 |