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

CalDAVRequest::XMLResponse ( status,

Send an XML Response. This function will never return.

int$statusThe HTTP status to respond
XMLElement$xmltreeAn XMLElement tree to be rendered

Definition at line 671 of file CalDAVRequest.php.

References DoResponse().

Referenced by UnsupportedRequest().

    $xmldoc = $xmltree->Render(0,'<?xml version="1.0" encoding="utf-8" ?>');
    $etag = md5($xmldoc);
    header("ETag: \"$etag\"");
    $this->DoResponse( $status, $xmldoc, 'text/xml; charset="utf-8"' );
    exit(0);  // Unecessary, but might clarify things

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index