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 445)
Get/Set the calendar-home-set URL
CalendarMultiget (line 710)
Get a bunch of events for a calendar with a calendar-multiget report
CalendarUrls (line 459)
Get/Set the calendar-home-set URL
DoCalendarQuery (line 762)
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 393)
DELETE a text/icalendar resource
DoGETRequest (line 333)
Get a single item from the server.
DoHEADRequest (line 345)
Get the HEAD of a single item from the server.
DoOptionsRequest (line 299)
Send an OPTIONS request to the server
DoPROPFINDRequest (line 410)
Get a single item from the server.
DoPUTRequest (line 361)
PUT a text/icalendar resource, returning the etag
DoRequest (line 241)
Send a request to the server
DoXMLRequest (line 319)
Send an XML request to the server (e.g. PROPFIND, REPORT, MKCALENDAR)
FindCalendarHome (line 589)
Attack the given URL in an attempt to find a principal URL
FindCalendars (line 618)
Find the calendars, from the calendar_home_set
FindPrincipal (line 566)
Attack the given URL in an attempt to find a principal URL
GetCalendarDetails (line 662)
Find the calendars, from the calendar_home_set
GetCollectionETags (line 690)
Get all etags for a calendar
GetEntryByHref (line 916)
Get the calendar entry by HREF
GetEntryByUid (line 890)
Get the calendar entry by UID
GetEvents (line 818)
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 198)
Output http request headers
GetOKProps (line 536)
Return the <prop> ... </prop> of a propstat where the status is OK
GetResponseBody (line 214)
Output http response body
GetResponseHeaders (line 206)
Output http response headers
GetTodos (line 853)
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 222)
Output xml request
GetXmlResponse (line 230)
Output xml response
HrefForProp (line 490)
Return the href containing this property. Except only if it's inside a status != 200
HrefForResourcetype (line 516)
Return the href which has a resourcetype of the specified type
HrefValueInside (line 473)
Return the first occurrence of an href inside the named tag.
ParseResponse (line 168)
Split response into httpResponse and xmlResponse
PrincipalURL (line 432)
Get/Set the Principal URL
SetCalendar (line 159)
Set the calendar_url we will be using for a while.
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 Sat, 17 Apr 2010 12:32:24 +1200 by phpDocumentor 1.3.2