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:
- author - Evert Pot (http://www.rooftopsolutions.nl/)
- copyright - Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
[ 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 ]