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

InvalidSyncToken. More...

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

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

InvalidSyncToken.

This exception is emited for the {DAV:}valid-sync-token pre-condition, as defined in rfc6578, section 3.2.

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

This is emitted in cases where the the sync-token, supplied by a client is either completely unknown, or has expired.

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

Definition at line 22 of file InvalidSyncToken.php.

Member Function Documentation

◆ serialize()

Sabre\DAV\Exception\InvalidSyncToken::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 InvalidSyncToken.php.

31  {
32 
33  $error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:valid-sync-token');
34  $errorNode->appendChild($error);
35 
36  }

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