property (which is also URL * encoded), but the tag of the response to determine the displayed * resource names. It expects the content to be un-encoded. * * This method calls the parent method and replaces the content of all * elements in the DOM tree. * * @param ezcWebdavPropFindResponse $response * @return ezcWebdavXmlDisplayInformation */ protected function processPropFindResponse( ezcWebdavPropFindResponse $response ) { $xmlDisplayInfo = parent::processPropFindResponse( $response ); $hrefElements = $xmlDisplayInfo->body->getElementsByTagName( 'href' ); foreach ( $hrefElements as $href ) { $href->nodeValue = urldecode( $href->nodeValue ); } return $xmlDisplayInfo; } /** * Returns display information for a error response object. * * When receiving 'HTTP/1.1 404 Not Found', Konqueror (versions 3.5.8 and up) * requires a body. Normally the processErrorResponse functions does not * return a body for 404 messages, so this override method sets a body * for Konqueror. * * @param ezcWebdavErrorResponse $response * @param bool $xml DOMDocument in result only generated of true. * @return ezcWebdavXmlDisplayInformation|ezcWebdavEmptyDisplayInformation */ protected function processErrorResponse( ezcWebdavErrorResponse $response, $xml = false ) { if ( $response->status === 404 ) { $response->responseDescription = ' 404 Not Found

Not Found

The requested URL was not found on this server.


'; } $xmlDisplayInfo = parent::processErrorResponse( $response, $xml ); return $xmlDisplayInfo; } } ?>