ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\DAVACL\Exception\AceConflict Class Reference

This exception is thrown when a client attempts to set conflicting permissions. More...

+ Inheritance diagram for Sabre\DAVACL\Exception\AceConflict:
+ Collaboration diagram for Sabre\DAVACL\Exception\AceConflict:

Public Member Functions

 serialize (DAV\Server $server, \DOMElement $errorNode)
 Adds in extra information in the xml response. More...
 
- Public Member Functions inherited from Sabre\DAV\Exception\Conflict
 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

This exception is thrown when a client attempts to set conflicting permissions.

Author
Evert Pot (http://evertpot.com/) http://sabre.io/license/ Modified BSD License

Definition at line 15 of file AceConflict.php.

Member Function Documentation

◆ serialize()

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

Adds in extra information in the xml response.

This method adds the {DAV:}no-ace-conflict element as defined in rfc3744

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

Definition at line 26 of file AceConflict.php.

26  {
27 
28  $doc = $errorNode->ownerDocument;
29 
30  $np = $doc->createElementNS('DAV:', 'd:no-ace-conflict');
31  $errorNode->appendChild($np);
32 
33  }

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