web/lib/Zend/Tool/Framework/Client/Response.php
changeset 1230 68c69c656a2c
parent 807 877f952ae2bd
equal deleted inserted replaced
1229:5a6b6e770365 1230:68c69c656a2c
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Tool
    16  * @package    Zend_Tool
    17  * @subpackage Framework
    17  * @subpackage Framework
    18  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @version    $Id: Response.php 24593 2012-01-05 20:35:02Z matthew $
    20  * @version    $Id$
    21  */
    21  */
    22 
    22 
    23 /**
    23 /**
    24  * @category   Zend
    24  * @category   Zend
    25  * @package    Zend_Tool
    25  * @package    Zend_Tool
    26  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    26  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    27  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    27  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    28  */
    28  */
    29 class Zend_Tool_Framework_Client_Response
    29 class Zend_Tool_Framework_Client_Response
    30 {
    30 {
    31     /**
    31     /**
    75      * @param string $content
    75      * @param string $content
    76      * @return Zend_Tool_Framework_Client_Response
    76      * @return Zend_Tool_Framework_Client_Response
    77      */
    77      */
    78     public function setContent($content, Array $decoratorOptions = array())
    78     public function setContent($content, Array $decoratorOptions = array())
    79     {
    79     {
    80         $this->_applyDecorators($content, $decoratorOptions);
    80         $content = $this->_applyDecorators($content, $decoratorOptions);
    81 
    81 
    82         $this->_content = array();
    82         $this->_content = array();
    83         $this->appendContent($content);
    83         $this->appendContent($content);
    84         return $this;
    84         return $this;
    85     }
    85     }