DAViCal
Loading...
Searching...
No Matches
CalDAVClient Class Reference

Public Member Functions

 __construct ( $base_url, $user, $pass)
 
 SetDebug ( $new_value)
 
 SetMatch ( $match, $etag=' *')
 
 SetDepth ( $depth='0')
 
 SetUserAgent ( $user_agent=null)
 
 SetContentType ( $type)
 
 SetCalendar ( $url)
 
 ParseResponse ( $response)
 
 ParseResponseHeaders ()
 
 GetHttpRequest ()
 
 GetResponseHeaders ()
 
 GetResponseBody ()
 
 GetXmlRequest ()
 
 GetXmlResponse ()
 
 DoRequest ( $url=null)
 
 Unchunk ()
 
 DoOptionsRequest ( $url=null)
 
 DoXMLRequest ( $request_method, $xml, $url=null)
 
 DoGETRequest ( $url)
 
 DoHEADRequest ( $url)
 
 DoPUTRequest ( $url, $icalendar, $etag=null)
 
 DoDELETERequest ( $url, $etag=null)
 
 DoPROPFINDRequest ( $url, $props, $depth=0)
 
 PrincipalURL ( $url=null)
 
 CalendarHomeSet ( $urls=null)
 
 CalendarUrls ( $urls=null)
 
 HrefValueInside ( $tagname)
 
 HrefForProp ( $tagname, $i=0)
 
 HrefForResourcetype ( $tagname, $i=0)
 
 GetOKProps ( $nodenum)
 
 FindPrincipal ( $url=null)
 
 FindCalendarHome ( $recursed=false)
 
 FindCalendars ( $recursed=false)
 
 GetCalendarDetails ( $url=null)
 
 GetCollectionETags ( $url=null)
 
 CalendarMultiget ( $event_hrefs, $url=null)
 
 DoCalendarQuery ( $filter, $url='')
 
 GetEvents ( $start=null, $finish=null, $relative_url='')
 
 GetTodos ( $start, $finish, $completed=false, $cancelled=false, $relative_url="")
 
 GetEntryByUid ( $uid, $relative_url='', $component_type='VEVENT')
 
 GetEntryByHref ( $href)
 
 __construct ( $base_url, $user, $pass, $calendar='')
 
 SetMatch ( $match, $etag=' *')
 
 SetDepth ( $depth='0')
 
 SetUserAgent ( $user_agent=null)
 
 SetContentType ( $type)
 
 ParseResponse ( $response)
 
 GetHttpRequest ()
 
 GetHttpResponse ()
 
 GetXmlRequest ()
 
 GetXmlResponse ()
 
 DoRequest ( $relative_url="")
 
 DoOptionsRequest ( $relative_url="")
 
 DoXMLRequest ( $request_method, $xml, $relative_url='')
 
 DoGETRequest ( $relative_url)
 
 DoPUTRequest ( $relative_url, $icalendar, $etag=null)
 
 DoDELETERequest ( $relative_url, $etag=null)
 
 DoCalendarQuery ( $filter, $relative_url='')
 
 GetEvents ( $start=null, $finish=null, $relative_url='')
 
 GetTodos ( $start, $finish, $completed=false, $cancelled=false, $relative_url="")
 
 GetEntryByUid ( $uid, $relative_url='')
 
 GetEntryByHref ( $href, $relative_url='')
 

Public Attributes

 $user_agent = 'DAViCalClient'
 
 $calendar
 
 $httpResponse = ""
 

Protected Attributes

 $base_url
 
 $user
 
 $pass
 
 $entry
 
 $protocol
 
 $server
 
 $port
 
 $principal_url
 
 $calendar_url
 
 $calendar_home_set
 
 $calendar_urls
 
 $headers = array()
 
 $body = ""
 
 $requestMethod = "GET"
 
 $httpRequest = ""
 
 $xmlRequest = ""
 
 $xmlResponse = ""
 
 $httpResponseCode = 0
 
 $httpResponseHeaders = ""
 
 $httpParsedHeaders
 
 $httpResponseBody = ""
 
 $parser
 

Private Attributes

 $debug = false
 

Detailed Description

A class for accessing DAViCal via CalDAV, as a client

Definition at line 44 of file caldav-client-v2.php.

Constructor & Destructor Documentation

◆ __construct() [1/2]

CalDAVClient::__construct (   $base_url,
  $user,
  $pass 
)

Constructor, initialises the class

Parameters
string$base_urlThe URL for the calendar server
string$userThe name of the user logging in
string$passThe password for that user

Definition at line 101 of file caldav-client-v2.php.

◆ __construct() [2/2]

CalDAVClient::__construct (   $base_url,
  $user,
  $pass,
  $calendar = '' 
)

Constructor, initialises the class

Parameters
string$base_urlThe URL for the calendar server
string$userThe name of the user logging in
string$passThe password for that user
string$calendarThe name of the calendar (not currently used)

Definition at line 51 of file caldav-client.php.

Member Function Documentation

◆ CalendarHomeSet()

CalDAVClient::CalendarHomeSet (   $urls = null)

Get/Set the calendar-home-set URL

Parameters
$urlarray of string The calendar-home-set URLs to set

Definition at line 532 of file caldav-client-v2.php.

◆ CalendarMultiget()

CalDAVClient::CalendarMultiget (   $event_hrefs,
  $url = null 
)

Get a bunch of events for a calendar with a calendar-multiget report

Definition at line 800 of file caldav-client-v2.php.

◆ CalendarUrls()

CalDAVClient::CalendarUrls (   $urls = null)

Get/Set the calendar-home-set URL

Parameters
$urlsarray of string The calendar URLs to set

Definition at line 546 of file caldav-client-v2.php.

◆ DoCalendarQuery() [1/2]

CalDAVClient::DoCalendarQuery (   $filter,
  $relative_url = '' 
)

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.

Parameters
string$filterXML fragment which is the <filter> element of a calendar-query
string$relative_urlThe URL relative to the base_url specified when the calendar was opened. Default ''.
Returns
array An array of the relative URLs, etags, and events from the server. Each element of the array will be an array with 'href', 'etag' and 'data' elements, corresponding to the URL, the server-supplied etag (which only varies when the data changes) and the calendar data in iCalendar format.

Definition at line 310 of file caldav-client.php.

◆ DoCalendarQuery() [2/2]

CalDAVClient::DoCalendarQuery (   $filter,
  $url = '' 
)

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.

Parameters
string$filterXML fragment which is the <filter> element of a calendar-query
string$urlThe URL of the calendar, or empty/null to use the 'current' calendar_url
Returns
array An array of the relative URLs, etags, and events from the server. Each element of the array will be an array with 'href', 'etag' and 'data' elements, corresponding to the URL, the server-supplied etag (which only varies when the data changes) and the calendar data in iCalendar format.

Definition at line 853 of file caldav-client-v2.php.

◆ DoDELETERequest() [1/2]

CalDAVClient::DoDELETERequest (   $relative_url,
  $etag = null 
)

DELETE a text/icalendar resource

Parameters
string$relative_urlThe URL to make the request to, relative to $base_url
string$etagThe etag of an existing resource to be deleted, or '*' for any resource at that URL.
Returns
int The HTTP Result Code for the DELETE

Definition at line 285 of file caldav-client.php.

◆ DoDELETERequest() [2/2]

CalDAVClient::DoDELETERequest (   $url,
  $etag = null 
)

DELETE a text/icalendar resource

Parameters
string$urlThe URL to make the request to
string$etagThe etag of an existing resource to be deleted, or '*' for any resource at that URL.
Returns
int The HTTP Result Code for the DELETE

Definition at line 480 of file caldav-client-v2.php.

◆ DoGETRequest() [1/2]

CalDAVClient::DoGETRequest (   $relative_url)

Get a single item from the server.

Parameters
string$relative_urlThe part of the URL after the calendar

Definition at line 242 of file caldav-client.php.

◆ DoGETRequest() [2/2]

CalDAVClient::DoGETRequest (   $url)

Get a single item from the server.

Parameters
string$urlThe URL to GET

Definition at line 416 of file caldav-client-v2.php.

◆ DoHEADRequest()

CalDAVClient::DoHEADRequest (   $url)

Get the HEAD of a single item from the server.

Parameters
string$urlThe URL to HEAD

Definition at line 428 of file caldav-client-v2.php.

◆ DoOptionsRequest() [1/2]

CalDAVClient::DoOptionsRequest (   $relative_url = "")

Send an OPTIONS request to the server

Parameters
string$relative_urlThe URL to make the request to, relative to $base_url
Returns
array The allowed options

Definition at line 208 of file caldav-client.php.

◆ DoOptionsRequest() [2/2]

CalDAVClient::DoOptionsRequest (   $url = null)

Send an OPTIONS request to the server

Parameters
string$urlThe URL to make the request to
Returns
array The allowed options

Definition at line 378 of file caldav-client-v2.php.

◆ DoPROPFINDRequest()

CalDAVClient::DoPROPFINDRequest (   $url,
  $props,
  $depth = 0 
)

Get a single item from the server.

Parameters
string$urlThe URL to PROPFIND on

Definition at line 497 of file caldav-client-v2.php.

◆ DoPUTRequest() [1/2]

CalDAVClient::DoPUTRequest (   $relative_url,
  $icalendar,
  $etag = null 
)

PUT a text/icalendar resource, returning the etag

Parameters
string$relative_urlThe URL to make the request to, relative to $base_url
string$icalendarThe iCalendar resource to send to the server
string$etagThe etag of an existing resource to be overwritten, or '*' for a new resource.
Returns
string The content of the response from the server

DAViCal will always return the real etag on PUT. Other CalDAV servers may need more work, but we are assuming we are running against DAViCal in this case.

Definition at line 258 of file caldav-client.php.

◆ DoPUTRequest() [2/2]

CalDAVClient::DoPUTRequest (   $url,
  $icalendar,
  $etag = null 
)

PUT a text/icalendar resource, returning the etag

Parameters
string$urlThe URL to make the request to
string$icalendarThe iCalendar resource to send to the server
string$etagThe etag of an existing resource to be overwritten, or '*' for a new resource.
Returns
string The content of the response from the server

Definition at line 444 of file caldav-client-v2.php.

◆ DoRequest() [1/2]

CalDAVClient::DoRequest (   $relative_url = "")

Send a request to the server

Parameters
string$relative_urlThe URL to make the request to, relative to $base_url
Returns
string The content of the response from the server

Definition at line 171 of file caldav-client.php.

◆ DoRequest() [2/2]

CalDAVClient::DoRequest (   $url = null)

Send a request to the server

Parameters
string$urlThe URL to make the request to
Returns
string The content of the response from the server

Definition at line 289 of file caldav-client-v2.php.

◆ DoXMLRequest() [1/2]

CalDAVClient::DoXMLRequest (   $request_method,
  $xml,
  $relative_url = '' 
)

Send an XML request to the server (e.g. PROPFIND, REPORT, MKCALENDAR)

Parameters
string$methodThe method (PROPFIND, REPORT, etc) to use with the request
string$xmlThe XML to send along with the request
string$relative_urlThe URL to make the request to, relative to $base_url
Returns
array An array of the allowed methods

Definition at line 228 of file caldav-client.php.

◆ DoXMLRequest() [2/2]

CalDAVClient::DoXMLRequest (   $request_method,
  $xml,
  $url = null 
)

Send an XML request to the server (e.g. PROPFIND, REPORT, MKCALENDAR)

Parameters
string$methodThe method (PROPFIND, REPORT, etc) to use with the request
string$xmlThe XML to send along with the request
string$urlThe URL to make the request to
Returns
array An array of the allowed methods

Definition at line 402 of file caldav-client-v2.php.

◆ FindCalendarHome()

CalDAVClient::FindCalendarHome (   $recursed = false)

Attack the given URL in an attempt to find a principal URL

Parameters
string$urlThe URL to find the calendar-home-set from

Definition at line 679 of file caldav-client-v2.php.

◆ FindCalendars()

CalDAVClient::FindCalendars (   $recursed = false)

Find the calendars, from the calendar_home_set

Definition at line 708 of file caldav-client-v2.php.

◆ FindPrincipal()

CalDAVClient::FindPrincipal (   $url = null)

Attack the given URL in an attempt to find a principal URL

Parameters
string$urlThe URL to find the principal-URL from

Definition at line 656 of file caldav-client-v2.php.

◆ GetCalendarDetails()

CalDAVClient::GetCalendarDetails (   $url = null)

Find the calendars, from the calendar_home_set

Definition at line 752 of file caldav-client-v2.php.

◆ GetCollectionETags()

CalDAVClient::GetCollectionETags (   $url = null)

Get all etags for a calendar

Definition at line 780 of file caldav-client-v2.php.

◆ GetEntryByHref() [1/2]

CalDAVClient::GetEntryByHref (   $href)

Get the calendar entry by HREF

Parameters
string$hrefThe href from a call to GetEvents or GetTodos etc.
Returns
string The iCalendar of the calendar entry

Definition at line 1013 of file caldav-client-v2.php.

◆ GetEntryByHref() [2/2]

CalDAVClient::GetEntryByHref (   $href,
  $relative_url = '' 
)

Get the calendar entry by HREF

Parameters
string$hrefThe href from a call to GetEvents or GetTodos etc.
string$relative_urlThe URL relative to the base_url specified when the calendar was opened. Default ''.
Returns
string The iCalendar of the calendar entry

Definition at line 471 of file caldav-client.php.

◆ GetEntryByUid() [1/2]

CalDAVClient::GetEntryByUid (   $uid,
  $relative_url = '' 
)

Get the calendar entry by UID

Parameters
uid
string$relative_urlThe URL relative to the base_url specified when the calendar was opened. Default ''.
Returns
array An array of the relative URL, etag, and calendar data returned from DoCalendarQuery()
See also
DoCalendarQuery()

Definition at line 443 of file caldav-client.php.

◆ GetEntryByUid() [2/2]

CalDAVClient::GetEntryByUid (   $uid,
  $relative_url = '',
  $component_type = 'VEVENT' 
)

Get the calendar entry by UID

Parameters
uid
string$relative_urlThe URL relative to the base_url specified when the calendar was opened. Default ''.
string$component_typeThe component type inside the VCALENDAR. Default 'VEVENT'.
Returns
array An array of the relative URL, etag, and calendar data returned from DoCalendarQuery()
See also
DoCalendarQuery()

Definition at line 986 of file caldav-client-v2.php.

◆ GetEvents() [1/2]

CalDAVClient::GetEvents (   $start = null,
  $finish = null,
  $relative_url = '' 
)

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.

Parameters
timestamp$startThe start time for the period
timestamp$finishThe finish time for the period
string$relative_urlThe URL relative to the base_url specified when the calendar was opened. Default ''.
Returns
array An array of the relative URLs, etags, and events, returned from DoCalendarQuery()
See also
DoCalendarQuery()

Definition at line 910 of file caldav-client-v2.php.

◆ GetEvents() [2/2]

CalDAVClient::GetEvents (   $start = null,
  $finish = null,
  $relative_url = '' 
)

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.

Parameters
timestamp$startThe start time for the period
timestamp$finishThe finish time for the period
string$relative_urlThe URL relative to the base_url specified when the calendar was opened. Default ''.
Returns
array An array of the relative URLs, etags, and events, returned from DoCalendarQuery()
See also
DoCalendarQuery()

Definition at line 368 of file caldav-client.php.

◆ GetHttpRequest() [1/2]

CalDAVClient::GetHttpRequest ( )

Output http request headers

Returns
HTTP headers

Definition at line 246 of file caldav-client-v2.php.

◆ GetHttpRequest() [2/2]

CalDAVClient::GetHttpRequest ( )

Output http request headers

Returns
HTTP headers

Definition at line 136 of file caldav-client.php.

◆ GetHttpResponse()

CalDAVClient::GetHttpResponse ( )

Output http response headers

Returns
HTTP headers

Definition at line 144 of file caldav-client.php.

◆ GetOKProps()

CalDAVClient::GetOKProps (   $nodenum)

Return the <prop> ... </prop> of a propstat where the status is OK

Parameters
string$nodenumThe node number in the xmlnodes which is the href

Definition at line 623 of file caldav-client-v2.php.

◆ GetResponseBody()

CalDAVClient::GetResponseBody ( )

Output http response body

Returns
HTTP body

Definition at line 262 of file caldav-client-v2.php.

◆ GetResponseHeaders()

CalDAVClient::GetResponseHeaders ( )

Output http response headers

Returns
HTTP headers

Definition at line 254 of file caldav-client-v2.php.

◆ GetTodos() [1/2]

CalDAVClient::GetTodos (   $start,
  $finish,
  $completed = false,
  $cancelled = false,
  $relative_url = "" 
)

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.

Parameters
timestamp$startThe start time for the period
timestamp$finishThe finish time for the period
boolean$completedWhether to include completed tasks
boolean$cancelledWhether to include cancelled tasks
string$relative_urlThe URL relative to the base_url specified when the calendar was opened. Default ''.
Returns
array An array of the relative URLs, etags, and events, returned from DoCalendarQuery()
See also
DoCalendarQuery()

Definition at line 946 of file caldav-client-v2.php.

◆ GetTodos() [2/2]

CalDAVClient::GetTodos (   $start,
  $finish,
  $completed = false,
  $cancelled = false,
  $relative_url = "" 
)

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.

Parameters
timestamp$startThe start time for the period
timestamp$finishThe finish time for the period
boolean$completedWhether to include completed tasks
boolean$cancelledWhether to include cancelled tasks
string$relative_urlThe URL relative to the base_url specified when the calendar was opened. Default ''.
Returns
array An array of the relative URLs, etags, and events, returned from DoCalendarQuery()
See also
DoCalendarQuery()

Definition at line 404 of file caldav-client.php.

◆ GetXmlRequest() [1/2]

CalDAVClient::GetXmlRequest ( )

Output xml request

Returns
raw xml

Definition at line 270 of file caldav-client-v2.php.

◆ GetXmlRequest() [2/2]

CalDAVClient::GetXmlRequest ( )

Output xml request

Returns
raw xml

Definition at line 152 of file caldav-client.php.

◆ GetXmlResponse() [1/2]

CalDAVClient::GetXmlResponse ( )

Output xml response

Returns
raw xml

Definition at line 278 of file caldav-client-v2.php.

◆ GetXmlResponse() [2/2]

CalDAVClient::GetXmlResponse ( )

Output xml response

Returns
raw xml

Definition at line 160 of file caldav-client.php.

◆ HrefForProp()

CalDAVClient::HrefForProp (   $tagname,
  $i = 0 
)

Return the href containing this property. Except only if it's inside a status != 200

Parameters
string$tagnameThe tag name of the property to find the href for
integer$whichWhich instance of the tag should we use

Definition at line 577 of file caldav-client-v2.php.

◆ HrefForResourcetype()

CalDAVClient::HrefForResourcetype (   $tagname,
  $i = 0 
)

Return the href which has a resourcetype of the specified type

Parameters
string$tagnameThe tag name of the resourcetype to find the href for
integer$whichWhich instance of the tag should we use

Definition at line 603 of file caldav-client-v2.php.

◆ HrefValueInside()

CalDAVClient::HrefValueInside (   $tagname)

Return the first occurrence of an href inside the named tag.

Parameters
string$tagnameThe tag name to find the href inside of

Definition at line 560 of file caldav-client-v2.php.

◆ ParseResponse() [1/2]

CalDAVClient::ParseResponse (   $response)

Split response into httpResponse and xmlResponse

Parameters
stringResponse from server

Definition at line 195 of file caldav-client-v2.php.

◆ ParseResponse() [2/2]

CalDAVClient::ParseResponse (   $response)

Split response into httpResponse and xmlResponse

Parameters
stringResponse from server

Definition at line 120 of file caldav-client.php.

◆ ParseResponseHeaders()

CalDAVClient::ParseResponseHeaders ( )

Split httpResponseHeaders into an array of headers

Returns
array of arrays of header lines

Definition at line 221 of file caldav-client-v2.php.

◆ PrincipalURL()

CalDAVClient::PrincipalURL (   $url = null)

Get/Set the Principal URL

Parameters
$urlstring The Principal URL to set

Definition at line 519 of file caldav-client-v2.php.

◆ SetCalendar()

CalDAVClient::SetCalendar (   $url)

Set the calendar_url we will be using for a while.

Parameters
string$urlThe calendar_url

Definition at line 186 of file caldav-client-v2.php.

◆ SetContentType() [1/2]

CalDAVClient::SetContentType (   $type)

Add a Content-type: header.

Parameters
string$typeThe content type

Definition at line 177 of file caldav-client-v2.php.

◆ SetContentType() [2/2]

CalDAVClient::SetContentType (   $type)

Add a Content-type: header.

Parameters
int$typeThe content type

Definition at line 111 of file caldav-client.php.

◆ SetDebug()

CalDAVClient::SetDebug (   $new_value)

Call this to enable / disable debugging. It will return the prior value of the debugging flag.

Parameters
boolean$new_valueThe new value for debugging.
Returns
boolean The previous value, in case you want to restore it later.

Definition at line 132 of file caldav-client-v2.php.

◆ SetDepth() [1/2]

CalDAVClient::SetDepth (   $depth = '0')

Add a Depth: header. Valid values are 0, 1 or infinity

Parameters
int$depthThe depth, default to infinity

Definition at line 158 of file caldav-client-v2.php.

◆ SetDepth() [2/2]

CalDAVClient::SetDepth (   $depth = '0')

Definition at line 92 of file caldav-client.php.

◆ SetMatch() [1/2]

CalDAVClient::SetMatch (   $match,
  $etag = '*' 
)

Adds an If-Match or If-None-Match header

Parameters
bool$matchto Match or Not to Match, that is the question!
string$etagThe etag to match / not match against.

Definition at line 149 of file caldav-client-v2.php.

◆ SetMatch() [2/2]

CalDAVClient::SetMatch (   $match,
  $etag = '*' 
)

Adds an If-Match or If-None-Match header

Parameters
bool$matchto Match or Not to Match, that is the question!
string$etagThe etag to match / not match against.

Definition at line 83 of file caldav-client.php.

◆ SetUserAgent() [1/2]

CalDAVClient::SetUserAgent (   $user_agent = null)

Add a Depth: header. Valid values are 1 or infinity

Parameters
int$depthThe depth, default to infinity

Definition at line 167 of file caldav-client-v2.php.

◆ SetUserAgent() [2/2]

CalDAVClient::SetUserAgent (   $user_agent = null)

Add a Depth: header. Valid values are 1 or infinity

Parameters
int$depthThe depth, default to infinity

Definition at line 101 of file caldav-client.php.

◆ Unchunk()

CalDAVClient::Unchunk ( )

Unchunk a chunked response

Definition at line 343 of file caldav-client-v2.php.

Member Data Documentation

◆ $base_url

CalDAVClient::$base_url
protected

Definition at line 50 of file caldav-client-v2.php.

◆ $body

CalDAVClient::$body = ""
protected

Definition at line 80 of file caldav-client-v2.php.

◆ $calendar

CalDAVClient::$calendar

Definition at line 26 of file caldav-client.php.

◆ $calendar_home_set

CalDAVClient::$calendar_home_set
protected

The calendar-home-set we're using

Definition at line 65 of file caldav-client-v2.php.

◆ $calendar_url

CalDAVClient::$calendar_url
protected

The calendar-URL we're using

Definition at line 60 of file caldav-client-v2.php.

◆ $calendar_urls

CalDAVClient::$calendar_urls
protected

The calendar_urls we have discovered

Definition at line 70 of file caldav-client-v2.php.

◆ $debug

CalDAVClient::$debug = false
private

Definition at line 92 of file caldav-client-v2.php.

◆ $entry

CalDAVClient::$entry
protected

Definition at line 50 of file caldav-client-v2.php.

◆ $headers

CalDAVClient::$headers = array()
protected

Definition at line 79 of file caldav-client-v2.php.

◆ $httpParsedHeaders

CalDAVClient::$httpParsedHeaders
protected

Definition at line 87 of file caldav-client-v2.php.

◆ $httpRequest

CalDAVClient::$httpRequest = ""
protected

Definition at line 82 of file caldav-client-v2.php.

◆ $httpResponse

CalDAVClient::$httpResponse = ""

Definition at line 40 of file caldav-client.php.

◆ $httpResponseBody

CalDAVClient::$httpResponseBody = ""
protected

Definition at line 88 of file caldav-client-v2.php.

◆ $httpResponseCode

CalDAVClient::$httpResponseCode = 0
protected

Definition at line 85 of file caldav-client-v2.php.

◆ $httpResponseHeaders

CalDAVClient::$httpResponseHeaders = ""
protected

Definition at line 86 of file caldav-client-v2.php.

◆ $parser

CalDAVClient::$parser
protected

Definition at line 90 of file caldav-client-v2.php.

◆ $pass

CalDAVClient::$pass
protected

Definition at line 50 of file caldav-client-v2.php.

◆ $port

CalDAVClient::$port
protected

Definition at line 50 of file caldav-client-v2.php.

◆ $principal_url

CalDAVClient::$principal_url
protected

The principal-URL we're using

Definition at line 55 of file caldav-client-v2.php.

◆ $protocol

CalDAVClient::$protocol
protected

Definition at line 50 of file caldav-client-v2.php.

◆ $requestMethod

CalDAVClient::$requestMethod = "GET"
protected

Definition at line 81 of file caldav-client-v2.php.

◆ $server

CalDAVClient::$server
protected

Definition at line 50 of file caldav-client-v2.php.

◆ $user

CalDAVClient::$user
protected

Definition at line 50 of file caldav-client-v2.php.

◆ $user_agent

CalDAVClient::$user_agent = 'DAViCalClient'

Definition at line 77 of file caldav-client-v2.php.

◆ $xmlRequest

CalDAVClient::$xmlRequest = ""
protected

Definition at line 83 of file caldav-client-v2.php.

◆ $xmlResponse

CalDAVClient::$xmlResponse = ""
protected

Definition at line 84 of file caldav-client-v2.php.


The documentation for this class was generated from the following files: