## /inc/caldav-REPORT.php

Description

CalDAV Server - handle REPORT method

- author: Andrew McMillan <andrew@morphoss.com>
- copyright: Catalyst .Net Ltd, Morphoss Ltd
- license: GNU GPL v2

Includes
include ("caldav-REPORT-sync-collection.php") (line 62)
include ("caldav-REPORT-freebusy.php") (line 49)
include ("caldav-REPORT-principal.php") (line 56)
include ("caldav-REPORT-expand-property.php") (line 65)
include ("caldav-REPORT-pps-set.php") (line 59)
include ("caldav-REPORT-calquery.php") (line 329)
include ("caldav-REPORT-multiget.php") (line 333)
require_once ("XMLDocument.php") (line 13)

CalDAV Server - handle REPORT method

- author: Andrew McMillan <andrew@morphoss.com>
- copyright: Catalyst .Net Ltd, Morphoss Ltd
- license: GNU GPL v2

require_once ('DAVResource.php') (line 14)
require_once ('RRule-v2.php') (line 16)
require_once ("iCalendar.php") (line 40)
Functions
calendar_to_xml (line 234)

Return XML for a single calendar (or todo) entry from the DB

- return: An XML document which is the response for the calendar

string calendar_to_xml (array $properties, string $item)

- array $properties: The properties for this calendar
- string $item: The calendar data for this calendar

expand_event_instances (line 138)

Expand the event instances for an iCalendar VEVENT (or VTODO)

- return: The original iCalComponent with expanded events in the range.

iCalComponent expand_event_instances (object $ics, [object $range_start = null], [object $range_end = null])

- object $ics: An iCalComponent which is the master VCALENDAR
- object $range_start: A RepeatRuleDateTime which is the beginning of the range for events
- object $range_end: A RepeatRuleDateTime which is the end of the range for events

rdate_expand (line 80)

Expand the event instances for an RDATE or EXDATE property

- return: An array keyed on the UTC dates, referring to the component

array rdate_expand (string $property, array $component, array $range_end)

- string $property: RDATE or EXDATE, depending...
- array $component: An iCalComponent which is applies for these instances
- array $range_end: A date after which we care less about expansion

rrule_expand (line 103)

Expand the event instances for an RRULE property

- return: An array keyed on the UTC dates, referring to the component

array rrule_expand (object $dtstart, string $property, array $component, array $range_end)

- object $dtstart: A RepeatRuleDateTime which is the master dtstart
- string $property: RDATE or EXDATE, depending...
- array $component: An iCalComponent which is applies for these instances
- array $range_end: A date after which we care less about expansion

Documentation generated on Thu, 25 Feb 2010 11:39:19 +1300 by phpDocumentor 1.3.2