File/inc/caldav-PROPFIND.php

Description

CalDAV Server - handle PROPFIND method

Includes
 require_once ("iCalendar.php") (line 17)

CalDAV Server - handle PROPFIND method

 require_once ("XMLDocument.php") (line 18)
Functions
add_arbitrary_properties (line 155)

Adds any arbitrary properties that were requested by the PROPFIND into the response.

void add_arbitrary_properties ( &$prop,  &$not_found, object $record, reference $prop, reference $not_found, reference $denied)
  • reference $prop: An XMLElement of the partly constructed response
  • reference $not_found: An XMLElement of properties which are not found
  • reference $denied: An XMLElement of properties to which access is denied
  • object $record: A record with a dav_name attribute which the properties apply to
  • &$prop
  • &$not_found
add_general_properties (line 232)

Handles any properties related to the DAV::PRINCIPAL in the request

void add_general_properties ( &$prop,  &$not_found,  &$denied,  $record)
  • &$prop
  • &$not_found
  • &$denied
  • $record
add_principal_properties (line 184)

Handles any properties related to the DAV::PRINCIPAL in the request

void add_principal_properties ( &$prop,  &$not_found,  &$denied)
  • &$prop
  • &$not_found
  • &$denied
build_propstat_response (line 297)

Build the <propstat><prop></prop><status></status></propstat> part of the response

void build_propstat_response ( $prop,  $not_found,  $denied,  $url)
  • $prop
  • $not_found
  • $denied
  • $url
collection_to_xml (line 322)

Returns an XML sub-tree for a single collection record from the DB

void collection_to_xml ( $collection)
  • $collection
get_collection (line 566)

Get XML response for a single collection. If Depth is >0 then

subsidiary collections will also be got up to $depth

void get_collection ( $depth,  $user_no,  $collection_path)
  • $depth
  • $user_no
  • $collection_path
get_collection_contents (line 491)

Get XML response for items in the collection If '/' is requested, a list of visible users is given, otherwise a list of calendars for the user which are parented by this path.

void get_collection_contents ( $depth,  $user_no,  $collection)
  • $depth
  • $user_no
  • $collection
get_item (line 622)

Get XML response for a single item. Depth is irrelevant for this.

void get_item ( $item_path)
  • $item_path
item_to_xml (line 439)

Return XML for a single data item from the DB

void item_to_xml ( $item)
  • $item
privileges (line 138)

Returns the array of privilege names converted into XMLElements

void privileges ( $privilege_names, [ $container = &quot;privilege&quot;])
  • $privilege_names
  • $container

Documentation generated on Sat, 01 Nov 2008 23:07:41 +1300 by phpDocumentor 1.3.2