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

Forbidden. More...

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

Public Member Functions

 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

Forbidden.

This exception is thrown whenever a user tries to do an operation he's not allowed to

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

Definition at line 16 of file Forbidden.php.

Member Function Documentation

◆ getHTTPCode()

Sabre\DAV\Exception\Forbidden::getHTTPCode ( )

Returns the HTTP statuscode for this exception.

Returns
int

Definition at line 23 of file Forbidden.php.

23  {
24 
25  return 403;
26 
27  }

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