PHP Class Kronolith_Icalendar_Handler_Dav, horde

Author: Michael J Rubinsky ([email protected])
Inheritance: extends Kronolith_Icalendar_Handler_Base
ファイルを表示 Open project: horde/horde Class Usage Examples

Protected Properties

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

Public Methods

Method Description
__construct ( Horde_Icalendar $iCal, Kronolith_Driver $driver, array $params = [] )

Protected Methods

Method 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 method

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 method

protected _postSave ( Kronolith_Event $event )
$event Kronolith_Event

_preSave() protected method

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.
return boolean True to continue processing, false to ignore.

Property Details

$_calendar protected_oe property

The calendar id to be imported into.
protected string $_calendar
return string

$_dav protected_oe property

The DAV storage driver.
protected Horde_Dav_Storage_Base $_dav
return Horde_Dav_Storage_Base

$_existingEvent protected_oe property

Temporary cache of the existing copy of an event being replaced.
protected Kronolith_Event $_existingEvent
return Kronolith_Event

$_noItips protected_oe property

List of attendees that should not be sent iTip notifications.
protected array $_noItips
return 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
return Kronolith_Attendee_List