CalDAVClientA class for accessing DAViCal via CalDAV, as a client
Located in /inc/caldav-client.php (line 21)
string
$base_url
(line 27)
Server, username, password, calendar
mixed
$body
= "" (line 37)
mixed
$calendar
(line 27)
mixed
$entry
(line 27)
mixed
$headers
= array() (line 36)
mixed
$httpRequest
= "" (line 39)
mixed
$httpResponse
= "" (line 41)
mixed
$pass
(line 27)
mixed
$port
(line 27)
mixed
$protocol
(line 27)
mixed
$requestMethod
= "GET" (line 38)
mixed
$server
(line 27)
mixed
$user
(line 27)
string
$user_agent
= 'DAViCalClient' (line 34)
The useragent which is send to the caldav server
mixed
$xmlRequest
= "" (line 40)
mixed
$xmlResponse
= "" (line 42)
Constructor CalDAVClient (line 52)
Constructor, initialises the class
DoCalendarQuery (line 312)
Given XML for a calendar query, return an array of the events (/todos) in the response. Each event in the array will have a 'href', 'etag' and '$response_type' part, where the 'href' is relative to the calendar and the '$response_type' contains the definition of the calendar data in iCalendar format.
DoDELETERequest (line 286)
DELETE a text/icalendar resource
DoGETRequest (line 243)
Get a single item from the server.
DoOptionsRequest (line 209)
Send an OPTIONS request to the server
DoPUTRequest (line 259)
PUT a text/icalendar resource, returning the etag
DoRequest (line 172)
Send a request to the server
DoXMLRequest (line 229)
Send an XML request to the server (e.g. PROPFIND, REPORT, MKCALENDAR)
GetEntryByHref (line 473)
Get the calendar entry by HREF
GetEntryByUid (line 445)
Get the calendar entry by UID
GetEvents (line 370)
Get the events in a range from $start to $finish. The dates should be in the
format yyyymmddThhmmssZ and should be in GMT. The events are returned as an array of event arrays. Each event array will have a 'href', 'etag' and 'event' part, where the 'href' is relative to the calendar and the event contains the definition of the event in iCalendar format.
GetHttpRequest (line 137)
Output http request headers
GetHttpResponse (line 145)
Output http response headers
GetTodos (line 406)
Get the todo's in a range from $start to $finish. The dates should be in the
format yyyymmddThhmmssZ and should be in GMT. The events are returned as an array of event arrays. Each event array will have a 'href', 'etag' and 'event' part, where the 'href' is relative to the calendar and the event contains the definition of the event in iCalendar format.
GetXmlRequest (line 153)
Output xml request
GetXmlResponse (line 161)
Output xml response
ParseResponse (line 121)
Split response into httpResponse and xmlResponse
SetContentType (line 112)
Add a Content-type: header.
SetDepth (line 93)
SetMatch (line 84)
Adds an If-Match or If-None-Match header
SetUserAgent (line 102)
Add a Depth: header. Valid values are 1 or infinity
Documentation generated on Tue, 28 Dec 2010 02:16:03 +1300 by phpDocumentor 1.4.3