PHP Класс Kronolith_Icalendar_Handler_Dav, horde

Автор: Michael J Rubinsky ([email protected])
Наследование: extends Kronolith_Icalendar_Handler_Base
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_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.

Открытые методы

Метод Описание
__construct ( Horde_Icalendar $iCal, Kronolith_Driver $driver, array $params = [] )

Защищенные методы

Метод Описание
_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.

Описание методов

__construct() публичный Метод

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 _postSave ( Kronolith_Event $event )
$event Kronolith_Event

_preSave() защищенный Метод

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.
Результат boolean True to continue processing, false to ignore.

Описание свойств

$_calendar защищенное свойство

The calendar id to be imported into.
protected string $_calendar
Результат string

$_dav защищенное свойство

The DAV storage driver.
protected Horde_Dav_Storage_Base $_dav
Результат Horde_Dav_Storage_Base

$_existingEvent защищенное свойство

Temporary cache of the existing copy of an event being replaced.
protected Kronolith_Event $_existingEvent
Результат Kronolith_Event

$_noItips защищенное свойство

List of attendees that should not be sent iTip notifications.
protected array $_noItips
Результат array

$_oldAttendees защищенное свойство

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
Результат Kronolith_Attendee_List