ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\DAV\Exception\TooManyMatches Class Reference

TooManyMatches. More...

+ Inheritance diagram for Sabre\DAV\Exception\TooManyMatches:
+ Collaboration diagram for Sabre\DAV\Exception\TooManyMatches:

Public Member Functions

 serialize (DAV\Server $server, \DOMElement $errorNode)
 This method allows the exception to include additional information into the WebDAV error response. More...
 
- Public Member Functions inherited from Sabre\DAV\Exception\Forbidden
 getHTTPCode ()
 Returns the HTTP statuscode for this exception. More...
 
- Public Member Functions inherited from Sabre\DAV\Exception
 getHTTPCode ()
 Returns the HTTP statuscode for this exception. More...
 
 serialize (Server $server, \DOMElement $errorNode)
 This method allows the exception to include additional information into the WebDAV error response. More...
 
 getHTTPHeaders (Server $server)
 This method allows the exception to return any extra HTTP response headers. More...
 

Detailed Description

TooManyMatches.

This exception is emited for the {DAV:}number-of-matches-within-limits post-condition, as defined in rfc6578, section 3.2.

http://tools.ietf.org/html/rfc6578#section-3.2

This is emitted in cases where the response to a {DAV:}sync-collection would generate more results than the implementation is willing to send back.

Author
Evert Pot (http://evertpot.com/)

Definition at line 22 of file TooManyMatches.php.

Member Function Documentation

◆ serialize()

Sabre\DAV\Exception\TooManyMatches::serialize ( DAV\Server  $server,
\DOMElement  $errorNode 
)

This method allows the exception to include additional information into the WebDAV error response.

Parameters
DAV\Server$server
\DOMElement$errorNode
Returns
void

Definition at line 31 of file TooManyMatches.php.

31  {
32 
33  $error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:number-of-matches-within-limits');
34  $errorNode->appendChild($error);
35 
36  }

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