## /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 61)
include ("caldav-REPORT-freebusy.php") (line 48)
include ("caldav-REPORT-principal.php") (line 55)
include ("caldav-REPORT-expand-property.php") (line 64)
include ("caldav-REPORT-pps-set.php") (line 58)
include ("caldav-REPORT-calquery.php") (line 332)
include ("caldav-REPORT-multiget.php") (line 336)
require_once ("XMLDocument.php") (line 13)
require_once ('DAVResource.php') (line 14)
require_once ('RRule-v2.php') (line 16)
require_once ("iCalendar.php") (line 39)
Functions
calendar_to_xml (line 237)

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 79)

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 ( $dtstart, string $property, array $component, [array $range_end = null])

- 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
- $dtstart

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 Sat, 17 Apr 2010 12:32:27 +1200 by phpDocumentor 1.3.2