Controller/Response/HttpTestCase.php
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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Controller
- Version
- $Id$
\Zend_Controller_Response_HttpTestCase
Package: Zend_Controller\Response
Zend_Controller_Response_HttpTestCase
HTTP response for controllers
- Parent(s)
- \Zend_Controller_Response_Http < \Zend_Controller_Response_Abstract
- Uses
Methods
canSendHeaders(bool $throw = false) : void
Can we send headers?
Parameters
Name | Type | Description |
---|---|---|
$throw | bool |
getBody(bool | string $spec = false) : string | array | null
Get body and/or body segments
Parameters
Returns
Name | Type | Description |
---|---|---|
$spec | bool | string |
Type | Description |
---|---|
string | array | null |
sendHeaders() : array
"send" headers by returning array of all headers that would be sent
Returns
Type | Description |
---|---|
array |