Свойство | Type | Description | |
---|---|---|---|
$_driver | Kronolith_Driver | ||
$_exceptions | array | ||
$_iCal | Horde_Icalendar | The iCalendar data. |
Méthode | Description | |
---|---|---|
__construct ( Horde_Icalendar $iCal, Kronolith_Driver $driver, array $params = [] ) | ||
process ( ) : array | Perform the import. |
Méthode | Description | |
---|---|---|
_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. | |
_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. | |
_process ( ) : array | Process the iCalendar data. |
public __construct ( Horde_Icalendar $iCal, Kronolith_Driver $driver, array $params = [] ) | ||
$iCal | Horde_Icalendar | The iCalendar data. |
$driver | Kronolith_Driver | The Kronolith driver. |
$params | array | Any additional parameters needed for the importer. |
protected _postSave ( Kronolith_Event $event ) | ||
$event | Kronolith_Event | The event object. |