$_iCal
$_iCal : \Horde_Icalendar
The iCalendar data.
Wraps logic responsible for importing iCalendar data, taking into account necessary steps to deal with recurrence series and exceptions.
$_driver : \Kronolith_Driver
__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. |
_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.