protected function expandPropertyReport($path, $report)
    {
        $depth = $this->server->getHTTPDepth(0);

        $result = $this->expandProperties($path, $report->properties, $depth);

        $xml = $this->server->xml->write(
            '{DAV:}multistatus',
            new DAV\Xml\Response\MultiStatus($result),
            $this->server->getBaseUri()
        );
        $this->server->httpResponse->setHeader('Content-Type', 'application/xml; charset=utf-8');
        $this->server->httpResponse->setStatus(207);
        $this->server->httpResponse->setBody($xml);
    }
protected function expandPropertyReport($path, $report)
    {
        $depth = $this->server->getHTTPDepth(0);

        $result = $this->expandProperties($path, $report->properties, $depth);

        $xml = $this->server->xml->write(
            '{DAV:}multistatus',
            new DAV\Xml\Response\MultiStatus($result),
            $this->server->getBaseUri()
        );
        $this->server->httpResponse->setHeader('Content-Type', 'application/xml; charset=utf-8');
        $this->server->httpResponse->setStatus(207);
        $this->server->httpResponse->setBody($xml);
    }
protected function expandPropertyReport ( $ path , $ report ) { $ depth = $ this -> server -> getHTTPDepth ( 0 ) ; $ result = $ this -> expandProperties ( $ path , $ report -> properties , $ depth ) ; $ xml = $ this -> server -> xml -> write ( '{DAV:}multistatus' , new DAV \ Xml \ Response \ MultiStatus ( $ result ) , $ this -> server -> getBaseUri ( ) ) ; $ this -> server -> httpResponse -> setHeader ( 'Content-Type' , 'application/xml; charset=utf-8' ) ; $ this -> server -> httpResponse -> setStatus ( 207 ) ; $ this -> server -> httpResponse -> setBody ( $ xml ) ; }
The expand-property report is defined in RFC3253 section 3.8.

This report is very similar to a standard PROPFIND. The difference is
that it has the additional ability to look at properties containing a
{DAV:}href element, follow that property and grab additional elements
there.

Other rfc's, such as ACL rely on this report, so it made sense to put
it in this plugin.

@param string                           $path
@param Xml\Request\ExpandPropertyReport $report
The expand - property report is defined in RFC3253 section 3 . 8 .