Logo Search packages:      
Sourcecode: davical version File versions  Download package

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 434 of file caldav-client.php.

References DoCalendarQuery().

                                                     {
    $filter = "";
    if ( $uid ) {
      $filter = <<<EOFILTER
  <C:filter>
    <C:comp-filter name="VCALENDAR">
          <C:comp-filter name="VTODO">
                <C:prop-filter name="UID">
                        <C:text-match icollation="i;octet">$uid</C:text-match>
                </C:prop-filter>
          </C:comp-filter>
    </C:comp-filter>
  </C:filter>
EOFILTER;
    }

    return DoCalendarQuery($filter, $relative_url);
  }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index