Class: Sabre_HTTP_ResponseMock

Source Location: /includes/classes/SabreDAV/tests/Sabre/HTTP/ResponseMock.php

Class Overview [line 3]

Sabre_HTTP_Response
   |
   --Sabre_HTTP_ResponseMock

Sabre_HTTP_Response

Author(s):

  • Evert Pot (http://www.rooftopsolutions.nl/)

Version:

Copyright:

  • Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods

Class: Sabre_HTTP_Response

Sabre_HTTP_Response::getStatusMessage()
Returns a full HTTP status message for an HTTP status code
Sabre_HTTP_Response::sendBody()
Sends the entire response body
Sabre_HTTP_Response::sendStatus()
Sends an HTTP status header to the client
Sabre_HTTP_Response::setHeader()
Sets an HTTP header for the response
Sabre_HTTP_Response::setHeaders()
Sets a bunch of HTTP Headers


Class Details

Sabre_HTTP_Response

Tags:

[ Top ]


Class Variables

$body =  ''

[line 7]

Tags:

  • access - public

Type: mixed

Overrides:

[ Top ]

$headers = array()

[line 5]

Tags:

  • access - public

Type: mixed

Overrides:

[ Top ]

$status =  ''

[line 6]

Tags:

  • access - public

Type: mixed

Overrides:

[ Top ]


Class Methods

sendBody

void sendBody( $body)

[line 21]

Overrides Sabre_HTTP_Response::sendBody() (Sends the entire response body)

Parameters:

  • $body -

[ Top ]

sendStatus

void sendStatus( $code)

[line 15]

Overrides Sabre_HTTP_Response::sendStatus() (Sends an HTTP status header to the client)

Parameters:

  • $code -

[ Top ]

setHeader

void setHeader( $name, $value, [ $overwrite = true])

[line 9]

Overrides Sabre_HTTP_Response::setHeader() (Sets an HTTP header for the response)

Parameters:

  • $name -
  • $value -
  • $overwrite -

[ Top ]


Class Constants


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