PHP Class Kronolith_Icalendar_Handler_Base, horde

Author: Michael J Rubinsky ([email protected])
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_driver Kronolith_Driver
$_exceptions array
$_iCal Horde_Icalendar The iCalendar data.

Méthodes publiques

Méthode Description
__construct ( Horde_Icalendar $iCal, Kronolith_Driver $driver, array $params = [] )
process ( ) : array Perform the import.

Méthodes protégées

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.

Method Details

__construct() public méthode

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.

_postSave() protected méthode

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.
protected _postSave ( Kronolith_Event $event )
$event Kronolith_Event The event object.

_preSave() protected méthode

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.
protected _preSave ( Horde_Icalendar $component ) : boolean
$component Horde_Icalendar The iCalendar component.
Résultat boolean True to continue processing, false to ignore.

_process() protected méthode

Process the iCalendar data.
protected _process ( ) : array
Résultat array A hash of UID => id.

process() public méthode

Perform the import.
public process ( ) : array
Résultat array A hash of UID => id.

Property Details

$_driver protected_oe property

protected Kronolith_Driver $_driver
Résultat Kronolith_Driver

$_exceptions protected_oe property

protected array $_exceptions
Résultat array

$_iCal protected_oe property

The iCalendar data.
protected Horde_Icalendar $_iCal
Résultat Horde_Icalendar