PHP 클래스 Horde_Dav_Calendar_Backend, horde

저자: Jan Schneider ([email protected])
상속: extends Sabre\CalDAV\Backend\AbstractBackend
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_interfaces array List of available interfaces and the providing applications.
$_registry Horde_Registry A registry object.
$_storage Horde_Dav_Storage_Base A storage object.

공개 메소드들

메소드 설명
__construct ( Horde_Registry $registry, Horde_Dav_Storage_Base $storage ) Constructor.
createCalendar ( string $principalUri, string $calendarUri, array $properties ) : void Creates a new calendar for a principal.
createCalendarObject ( mixed $calendarId, string $objectUri, string $calendarData ) : string | null Creates a new calendar object.
deleteCalendar ( mixed $calendarId ) : void Delete a calendar and all it's objects
deleteCalendarObject ( mixed $calendarId, string $objectUri ) : void Deletes an existing calendar object.
getCalendarObject ( mixed $calendarId, string $objectUri ) : array Returns information from a single calendar object, based on it's object uri.
getCalendarObjects ( mixed $calendarId ) : array Returns all calendar objects within a calendar.
getCalendarsForUser ( string $principalUri ) : array Returns a list of calendars for a principal.
updateCalendarObject ( mixed $calendarId, string $objectUri, string $calendarData ) : string | null Updates an existing calendarobject, based on it's uri.

보호된 메소드들

메소드 설명
_interface ( string $calendarId ) : string Returns the application that owns a certain calendar or task list.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Horde_Registry $registry, Horde_Dav_Storage_Base $storage )
$registry Horde_Registry A registry object.
$storage Horde_Dav_Storage_Base A storage object.

_interface() 보호된 메소드

Returns the application that owns a certain calendar or task list.
protected _interface ( string $calendarId ) : string
$calendarId string An external calendar or task list id.
리턴 string The application that owns the calendar or task list.

createCalendar() 공개 메소드

If the creation was a success, an id must be returned that can be used to reference this calendar in other methods, such as updateCalendar.
public createCalendar ( string $principalUri, string $calendarUri, array $properties ) : void
$principalUri string
$calendarUri string
$properties array
리턴 void

createCalendarObject() 공개 메소드

Creates a new calendar object.
public createCalendarObject ( mixed $calendarId, string $objectUri, string $calendarData ) : string | null
$calendarId mixed
$objectUri string
$calendarData string
리턴 string | null

deleteCalendar() 공개 메소드

Delete a calendar and all it's objects
public deleteCalendar ( mixed $calendarId ) : void
$calendarId mixed
리턴 void

deleteCalendarObject() 공개 메소드

Deletes an existing calendar object.
public deleteCalendarObject ( mixed $calendarId, string $objectUri ) : void
$calendarId mixed
$objectUri string
리턴 void

getCalendarObject() 공개 메소드

Returns information from a single calendar object, based on it's object uri.
public getCalendarObject ( mixed $calendarId, string $objectUri ) : array
$calendarId mixed
$objectUri string
리턴 array

getCalendarObjects() 공개 메소드

Returns all calendar objects within a calendar.
public getCalendarObjects ( mixed $calendarId ) : array
$calendarId mixed
리턴 array

getCalendarsForUser() 공개 메소드

Returns a list of calendars for a principal.
public getCalendarsForUser ( string $principalUri ) : array
$principalUri string
리턴 array

updateCalendarObject() 공개 메소드

Updates an existing calendarobject, based on it's uri.
public updateCalendarObject ( mixed $calendarId, string $objectUri, string $calendarData ) : string | null
$calendarId mixed
$objectUri string
$calendarData string
리턴 string | null

프로퍼티 상세

$_interfaces 보호되어 있는 프로퍼티

List of available interfaces and the providing applications.
protected array $_interfaces
리턴 array

$_registry 보호되어 있는 프로퍼티

A registry object.
protected Horde_Registry $_registry
리턴 Horde_Registry

$_storage 보호되어 있는 프로퍼티

A storage object.
protected Horde_Dav_Storage_Base $_storage
리턴 Horde_Dav_Storage_Base