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

This exception is thrown when a user tries to set a privilege that's marked as abstract. More...

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

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\PreconditionFailed
 __construct ($message, $header=null)
 Create the exception. More...
 
 getHTTPCode ()
 Returns the HTTP statuscode for this exception. More...
 
 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
 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...
 

Additional Inherited Members

- Data Fields inherited from Sabre\DAV\Exception\PreconditionFailed
 $header = null
 

Detailed Description

This exception is thrown when a user tries to set a privilege that's marked as abstract.

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

Definition at line 15 of file NoAbstract.php.

Member Function Documentation

◆ serialize()

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

Adds in extra information in the xml response.

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

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

Definition at line 26 of file NoAbstract.php.

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

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