import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
* @package Zend_Controller
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: HttpTestCase.php 16541 2009-07-07 06:59:03Z bkarwin $
|
||||
* @version $Id: HttpTestCase.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -29,13 +29,13 @@ require_once 'Zend/Controller/Response/Http.php';
|
||||
*
|
||||
* @uses Zend_Controller_Response_Http
|
||||
* @package Zend_Controller
|
||||
* @subpackage Request
|
||||
* @subpackage Response
|
||||
*/
|
||||
class Zend_Controller_Response_HttpTestCase extends Zend_Controller_Response_Http
|
||||
{
|
||||
/**
|
||||
* "send" headers by returning array of all headers that would be sent
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function sendHeaders()
|
||||
@ -60,8 +60,8 @@ class Zend_Controller_Response_HttpTestCase extends Zend_Controller_Response_Htt
|
||||
|
||||
/**
|
||||
* Can we send headers?
|
||||
*
|
||||
* @param bool $throw
|
||||
*
|
||||
* @param bool $throw
|
||||
* @return void
|
||||
*/
|
||||
public function canSendHeaders($throw = false)
|
||||
@ -71,7 +71,7 @@ class Zend_Controller_Response_HttpTestCase extends Zend_Controller_Response_Htt
|
||||
|
||||
/**
|
||||
* Return the concatenated body segments
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function outputBody()
|
||||
@ -85,8 +85,8 @@ class Zend_Controller_Response_HttpTestCase extends Zend_Controller_Response_Htt
|
||||
|
||||
/**
|
||||
* Get body and/or body segments
|
||||
*
|
||||
* @param bool|string $spec
|
||||
*
|
||||
* @param bool|string $spec
|
||||
* @return string|array|null
|
||||
*/
|
||||
public function getBody($spec = false)
|
||||
@ -105,9 +105,9 @@ class Zend_Controller_Response_HttpTestCase extends Zend_Controller_Response_Htt
|
||||
/**
|
||||
* "send" Response
|
||||
*
|
||||
* Concats all response headers, and then final body (separated by two
|
||||
* Concats all response headers, and then final body (separated by two
|
||||
* newlines)
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function sendResponse()
|
||||
|
Reference in New Issue
Block a user