ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($uri, array $privileges) | |
Constructor. More... | |
serialize (DAV\Server $server, \DOMElement $errorNode) | |
Adds in extra information in the xml response. More... | |
![]() | |
getHTTPCode () | |
Returns the HTTP statuscode for this exception. More... | |
![]() | |
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... | |
Protected Attributes | |
$uri | |
$privileges | |
The 403-need privileges is thrown when a user didn't have the appropriate permissions to perform an operation
Definition at line 17 of file NeedPrivileges.php.
Sabre\DAVACL\Exception\NeedPrivileges::__construct | ( | $uri, | |
array | $privileges | ||
) |
Constructor.
string | $uri | |
array | $privileges |
Definition at line 39 of file NeedPrivileges.php.
References Sabre\DAVACL\Exception\NeedPrivileges\$privileges, and Sabre\DAVACL\Exception\NeedPrivileges\$uri.
Sabre\DAVACL\Exception\NeedPrivileges::serialize | ( | DAV\Server | $server, |
\DOMElement | $errorNode | ||
) |
Adds in extra information in the xml response.
This method adds the {DAV:}need-privileges element as defined in rfc3744
DAV\Server | $server | |
\DOMElement | $errorNode |
Definition at line 57 of file NeedPrivileges.php.
References Sabre\DAVACL\Exception\NeedPrivileges\$uri.
|
protected |
Definition at line 31 of file NeedPrivileges.php.
Referenced by Sabre\DAVACL\Exception\NeedPrivileges\__construct().
|
protected |
Definition at line 24 of file NeedPrivileges.php.
Referenced by Sabre\DAVACL\Exception\NeedPrivileges\__construct(), and Sabre\DAVACL\Exception\NeedPrivileges\serialize().