Class: Sabre_DAV_Exception_MethodNotAllowed

Source Location: /includes/classes/SabreDAV/lib/Sabre/DAV/Exception/MethodNotAllowed.php

Class Overview [line 18]

Exception
   |
   --Sabre_DAV_Exception
      |
      --Sabre_DAV_Exception_MethodNotAllowed

MethodNotAllowed

Author(s):

Version:

Copyright:

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods

Class: Sabre_DAV_Exception

Sabre_DAV_Exception::getHTTPCode()
Returns the HTTP statuscode for this exception
Sabre_DAV_Exception::getHTTPHeaders()
This method allows the exception to return any extra HTTP response headers.
Sabre_DAV_Exception::serialize()
This method allows the exception to include additonal information into the WebDAV error response


Class Details

MethodNotAllowed

The 405 is thrown when a client tried to create a directory on an already existing directory

[ Top ]


Class Variables


Class Methods

getHTTPCode

int getHTTPCode( )

[line 25]

Returns the HTTP statuscode for this exception

Tags:

  • access - public

Overrides Sabre_DAV_Exception::getHTTPCode() (Returns the HTTP statuscode for this exception)

Parameters:

[ Top ]

getHTTPHeaders

array getHTTPHeaders( Sabre_DAV_Server $server)

[line 38]

This method allows the exception to return any extra HTTP response headers.

The headers must be returned as an array.

Tags:

  • access - public

Overrides Sabre_DAV_Exception::getHTTPHeaders() (This method allows the exception to return any extra HTTP response headers.)

Parameters:

[ Top ]


Class Constants


Documentation generated on Mon, 31 May 2010 12:53:38 -0400 by phpDocumentor 1.4.3