PHP 클래스 Kronolith_Icalendar_Handler_Base, horde

저자: Michael J Rubinsky ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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