PHP Класс Kronolith_Icalendar_Handler_Base, horde

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

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

Свойство Тип Описание
$_driver Kronolith_Driver
$_exceptions array
$_iCal Horde_Icalendar The iCalendar data.

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

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

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

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

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

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

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

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() защищенный Метод

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.

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

Process the iCalendar data.
protected _process ( ) : array
Результат array A hash of UID => id.

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

Perform the import.
public process ( ) : array
Результат array A hash of UID => id.

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

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

protected Kronolith_Driver $_driver
Результат Kronolith_Driver

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

protected array $_exceptions
Результат array

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

The iCalendar data.
protected Horde_Icalendar $_iCal
Результат Horde_Icalendar