$_iCal
$_iCal : \Horde_Icalendar
The iCalendar data.
Wraps logic responsible for importing iCalendar data via DAV taking into account necessary steps to deal with recurrence series and exceptions.
$_driver : \Kronolith_Driver
$_existingEvent : \Kronolith_Event
Temporary cache of the existing copy of an event being replaced.
$_oldAttendees : \Kronolith_Attendee_List
List of attendess that have been previously invited. Used to detect if attendees are removed and to send ITIP_CANCEL to these attendees.
__construct(\Horde_Icalendar $iCal, \Kronolith_Driver $driver, array $params = array())
\Horde_Icalendar | $iCal | The iCalendar data. |
\Kronolith_Driver | $driver | The Kronolith driver. |
array | $params | Any additional parameters needed for the importer. For this driver we require: 'object' - contains the DAV identifier for the (base) event. |
_postSave(\Kronolith_Event $event)
Responsible for any logic needed after each event is saved. Only called when base event (or an event with no recurrence) is saved. Exception events are not passed.
\Kronolith_Event | $event | The event object. |
_preSave(\Horde_Icalendar $component) : boolean
Responsible for any logic needed before the event is saved. Called for EVERY component in the iCalendar object. Returning false from this method will cause the current component to be ignored. Returning true causes it to be processed.
\Horde_Icalendar | $component | The iCalendar component. |
True to continue processing, false to ignore.