category Zend
package Zend_Tool
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

__toString() to cast to a string

__toString() : string

Returns

string

Add Content Decorator

addContentDecorator(\Zend_Tool_Framework_Client_Response_ContentDecorator_Interface $contentDecorator) : \unknown

Parameters

$contentDecorator

\Zend_Tool_Framework_Client_Response_ContentDecorator_Interface

Returns

\unknown

appendCallback

appendContent(string $content, array $decoratorOptions = array()) : \Zend_Tool_Framework_Client_Response

Parameters

$content

string

$decoratorOptions

Returns

\Zend_Tool_Framework_Client_Response

getContent()

getContent() : string

Returns

string

getContentDecorators()

getContentDecorators() : array

Returns

array

getException()

getException() : \Exception

Returns

\Exception

isException()

isException() : boolean

Returns

boolean

setContent()

setContent(string $content, array $decoratorOptions = array()) : \Zend_Tool_Framework_Client_Response

Parameters

$content

string

$decoratorOptions

Returns

\Zend_Tool_Framework_Client_Response

setContentCallback()

setContentCallback(callback $callback) : \Zend_Tool_Framework_Client_Response

Parameters

$callback

callback

Returns

\Zend_Tool_Framework_Client_Response

setDefaultDecoratorOptions()

setDefaultDecoratorOptions(array $decoratorOptions, boolean $mergeIntoExisting = false) : \Zend_Tool_Framework_Client_Response

Parameters

$decoratorOptions

array

$mergeIntoExisting

boolean

Returns

\Zend_Tool_Framework_Client_Response

setException()

setException(\Exception $exception) : \Zend_Tool_Framework_Client_Response

Parameters

$exception

\Exception

Returns

\Zend_Tool_Framework_Client_Response

_applyDecorators() apply a group of decorators

_applyDecorators(string $content, array $decoratorOptions) : string

Parameters

$content

string

$decoratorOptions

array

Returns

string

 Properties

 

$_callback

$_callback : callback | null

Default

null
 

$_content

$_content : array

Default

array()
 

$_decorators

$_decorators : array

Default

array()
 

$_defaultDecoratorOptions

$_defaultDecoratorOptions : array

Default

array()
 

$_exception

$_exception : \Zend_Tool_Framework_Exception

Default

null