PHP Class Kronolith_Icalendar_Handler_Dav, horde

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

Protected Properties

Свойство Type Description
$_calendar string The calendar id to be imported into.
$_dav Horde_Dav_Storage_Base The DAV storage driver.
$_existingEvent Kronolith_Event Temporary cache of the existing copy of an event being replaced.
$_noItips array List of attendees that should not be sent iTip notifications.
$_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.

Méthodes publiques

Méthode Description
__construct ( Horde_Icalendar $iCal, Kronolith_Driver $driver, array $params = [] )

Méthodes protégées

Méthode Description
_postSave ( Kronolith_Event $event )
_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.

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. For this driver we require: 'object' - contains the DAV identifier for the (base) event.

_postSave() protected méthode

protected _postSave ( Kronolith_Event $event )
$event Kronolith_Event

_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.

Property Details

$_calendar protected_oe property

The calendar id to be imported into.
protected string $_calendar
Résultat string

$_dav protected_oe property

The DAV storage driver.
protected Horde_Dav_Storage_Base $_dav
Résultat Horde_Dav_Storage_Base

$_existingEvent protected_oe property

Temporary cache of the existing copy of an event being replaced.
protected Kronolith_Event $_existingEvent
Résultat Kronolith_Event

$_noItips protected_oe property

List of attendees that should not be sent iTip notifications.
protected array $_noItips
Résultat array

$_oldAttendees protected_oe property

List of attendess that have been previously invited. Used to detect if attendees are removed and to send ITIP_CANCEL to these attendees.
protected Kronolith_Attendee_List $_oldAttendees
Résultat Kronolith_Attendee_List