Tool/Framework/Client/Response.php

Show: PublicProtectedPrivateinherited
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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Tool  
Subpackage
Framework  
Version
$Id$  

\Zend_Tool_Framework_Client_Response

Package: Zend_Tool
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedcallback|null $_callback = null
Default valuenullDetails
Type
callback | null
>VPropertyprotectedarray $_content = array()
Default valuearray()Details
Type
array
>VPropertyprotectedarray $_decorators = array()
Default valuearray()Details
Type
array
>VPropertyprotectedarray $_defaultDecoratorOptions = array()
Default valuearray()Details
Type
array
>VPropertyprotected\Zend_Tool_Framework_Exception $_exception = null
Default valuenullDetails
Type
\Zend_Tool_Framework_Exception

Methods

methodpublic__toString() : string

__toString() to cast to a string

Returns
TypeDescription
string
methodprotected_applyDecorators(string $content, array $decoratorOptions) : string

_applyDecorators() apply a group of decorators

Parameters
NameTypeDescription
$contentstring
$decoratorOptionsarray
Returns
TypeDescription
string
methodpublicaddContentDecorator(\Zend_Tool_Framework_Client_Response_ContentDecorator_Interface $contentDecorator) : \unknown

Add Content Decorator

Parameters
NameTypeDescription
$contentDecorator\Zend_Tool_Framework_Client_Response_ContentDecorator_Interface
Returns
TypeDescription
\unknown
methodpublicappendContent(string $content,  $decoratorOptions = array()) : \Zend_Tool_Framework_Client_Response

appendCallback

Parameters
NameTypeDescription
$contentstring
$decoratorOptions
Returns
TypeDescription
\Zend_Tool_Framework_Client_Response
methodpublicgetContent() : string

getContent()

Returns
TypeDescription
string
methodpublicgetContentDecorators() : array

getContentDecorators()

Returns
TypeDescription
array
methodpublicgetException() : \Exception

getException()

Returns
TypeDescription
\Exception
methodpublicisException() : bool

isException()

Returns
TypeDescription
bool
methodpublicsetContent(string $content,  $decoratorOptions = array()) : \Zend_Tool_Framework_Client_Response

setContent()

Parameters
NameTypeDescription
$contentstring
$decoratorOptions
Returns
TypeDescription
\Zend_Tool_Framework_Client_Response
methodpublicsetContentCallback(callback $callback) : \Zend_Tool_Framework_Client_Response

setContentCallback()

Parameters
NameTypeDescription
$callbackcallback
Returns
TypeDescription
\Zend_Tool_Framework_Client_Response
methodpublicsetDefaultDecoratorOptions(array $decoratorOptions, bool $mergeIntoExisting = false) : \Zend_Tool_Framework_Client_Response

setDefaultDecoratorOptions()

Parameters
NameTypeDescription
$decoratorOptionsarray
$mergeIntoExistingbool
Returns
TypeDescription
\Zend_Tool_Framework_Client_Response
methodpublicsetException(\Exception $exception) : \Zend_Tool_Framework_Client_Response

setException()

Parameters
NameTypeDescription
$exception\Exception
Returns
TypeDescription
\Zend_Tool_Framework_Client_Response
Documentation was generated by phpDocumentor 2.2.0 .