API Documentation

Zend/Controller/Response/HttpTestCase.php

Show: inherited
Table of Contents

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.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Controller  
Version
$Id: HttpTestCase.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Controller_Response_HttpTestCase

Package: Zend\Controller\Response

Zend_Controller_Response_HttpTestCase

Parent(s)
\Zend_Controller_Response_Http < \Zend_Controller_Response_Abstract
Uses
\Zend_Controller_Response_Http  

Methods

methodpubliccanSendHeaders( bool $throw = false ) : void

Can we send headers?

Parameters
Name Type Description
$throw bool
methodpublicgetBody( bool|string $spec = false ) : string|array|null

Get body and/or body segments

Parameters
Name Type Description
$spec bool|string
Returns
Type Description
string|array|null
methodpublicoutputBody( ) : string

Return the concatenated body segments

Returns
Type Description
string
methodpublicsendHeaders( ) : array

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

Returns
Type Description
array
methodpublicsendResponse( ) : string

"send" Response

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

Returns
Type Description
string
Documentation was generated by DocBlox 0.15.1.