InvalidComponentType
extends Forbidden
in package
InvalidComponentType.
Tags
Table of Contents
- getHTTPCode() : int
- Returns the HTTP statuscode for this exception.
- getHTTPHeaders() : array<string|int, mixed>
- This method allows the exception to return any extra HTTP response headers.
- serialize() : mixed
- Adds in extra information in the xml response.
Methods
getHTTPCode()
Returns the HTTP statuscode for this exception.
public
getHTTPCode() : int
Return values
int —getHTTPHeaders()
This method allows the exception to return any extra HTTP response headers.
public
getHTTPHeaders(Server $server) : array<string|int, mixed>
The headers must be returned as an array.
Parameters
- $server : Server
Return values
array<string|int, mixed> —serialize()
Adds in extra information in the xml response.
public
serialize(Server $server, DOMElement $errorNode) : mixed
This method adds the {CALDAV:}supported-calendar-component as defined in rfc4791
Parameters
- $server : Server
- $errorNode : DOMElement