CalDAVClientA class for accessing DAViCal via CalDAV, as a client
Located in /inc/caldav-client-v2.php (line 39)
string
$base_url
(line 45)
Server, username, password, calendar
mixed
$body
= "" (line 75)
mixed
$calendar_home_set
(line 60)
The calendar-home-set we're using
mixed
$calendar_url
(line 55)
The calendar-URL we're using
mixed
$calendar_urls
(line 65)
The calendar_urls we have discovered
mixed
$entry
(line 45)
mixed
$headers
= array() (line 74)
mixed
$httpRequest
= "" (line 77)
mixed
$httpResponse
= "" (line 79)
mixed
$parser
(line 82)
mixed
$pass
(line 45)
mixed
$port
(line 45)
mixed
$principal_url
(line 50)
The principal-URL we're using
mixed
$protocol
(line 45)
mixed
$requestMethod
= "GET" (line 76)
mixed
$server
(line 45)
mixed
$user
(line 45)
string
$user_agent
= 'DAViCalClient' (line 72)
The useragent which is send to the caldav server
mixed
$xmlRequest
= "" (line 78)
mixed
$xmlResponse
= "" (line 80)
Constructor __construct (line 91)
Constructor, initialises the class
CalendarHomeSet (line 393)
Get/Set the calendar-home-set URL
CalendarUrls (line 407)
Get/Set the calendar-home-set URL
DoCalendarQuery (line 593)
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 341)
DELETE a text/icalendar resource
DoGETRequest (line 298)
Get a single item from the server.
DoOptionsRequest (line 264)
Send an OPTIONS request to the server
DoPROPFINDRequest (line 358)
Get a single item from the server.
DoPUTRequest (line 314)
PUT a text/icalendar resource, returning the etag
DoRequest (line 225)
Send a request to the server
DoXMLRequest (line 284)
Send an XML request to the server (e.g. PROPFIND, REPORT, MKCALENDAR)
FindCalendarHome (line 509)
Attack the given URL in an attempt to find a principal URL
FindCalendars (line 538)
Find the calendars, from the calendar_home_set
FindPrincipal (line 488)
Attack the given URL in an attempt to find a principal URL
GetEntryByHref (line 749)
Get the calendar entry by HREF
GetEntryByUid (line 722)
Get the calendar entry by UID
GetEvents (line 650)
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 190)
Output http request headers
GetHttpResponse (line 198)
Output http response headers
GetOKProps (line 458)
Return the <prop> ... </prop> of a propstat where the status is OK
GetTodos (line 685)
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 206)
Output xml request
GetXmlResponse (line 214)
Output xml response
HrefForResourcetype (line 438)
Return the href which has a resourcetype of the specified type
HrefValueInside (line 421)
Return the first occurrence of an href inside the named tag.
ParseResponse (line 159)
Split response into httpResponse and xmlResponse
PrincipalURL (line 380)
Get/Set the Principal URL
SetContentType (line 150)
Add a Content-type: header.
SetDepth (line 131)
Add a Depth: header. Valid values are 0, 1 or infinity
SetMatch (line 122)
Adds an If-Match or If-None-Match header
SetUserAgent (line 140)
Add a Depth: header. Valid values are 1 or infinity
Documentation generated on Thu, 25 Feb 2010 11:39:18 +1300 by phpDocumentor 1.3.2