API Documentation

Controller/Response/HttpTestCase.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Controller
version
$Id: HttpTestCase.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Controller_Response_HttpTestCase

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Controller_Response_HttpTestCase

Extends from
Zend_Controller_Response_Http
package
Zend_Controller
subpackage
Response
uses
Zend_Controller_Response_Http
Methods
sendHeaders
canSendHeaders
outputBody
getBody
sendResponse

Description

Zend_Controller_Response_HttpTestCase

Methods

canSendHeaders

canSendHeaders( bool $throw = false ) : void

Can we send headers?

Arguments
$throw
bool
Details
visibility
public
final
false
static
false

getBody

getBody( bool|string $spec = false ) : string|array|null

Get body and/or body segments

Arguments
$spec
boolstring
Output
string|array|null
Details
visibility
public
final
false
static
false

outputBody

outputBody( ) : string

Return the concatenated body segments

Output
string
Details
visibility
public
final
false
static
false

sendHeaders

sendHeaders( ) : array

"send" headers by returning array of all headers that would be sent

Output
array
Details
visibility
public
final
false
static
false

sendResponse

sendResponse( ) : string

"send" Response

Concats all response headers, and then final body (separated by two newlines)

Output
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.