Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Tool_Framework_Client_Response Class Reference

Public Member Functions

 setContentCallback ($callback)
 setContentCallback()
 
 setContent ($content, Array $decoratorOptions=array())
 setContent()
 
 appendContent ($content, Array $decoratorOptions=array())
 appendCallback
 
 setDefaultDecoratorOptions (Array $decoratorOptions, $mergeIntoExisting=false)
 setDefaultDecoratorOptions()
 
 getContent ()
 getContent()
 
 isException ()
 isException()
 
 setException (Exception $exception)
 setException()
 
 getException ()
 getException()
 
 addContentDecorator (Zend_Tool_Framework_Client_Response_ContentDecorator_Interface $contentDecorator)
 Add Content Decorator.
 
 getContentDecorators ()
 getContentDecorators()
 
 __toString ()
 __toString() to cast to a string
 

Protected Member Functions

 _applyDecorators ($content, Array $decoratorOptions)
 _applyDecorators() apply a group of decorators
 

Protected Attributes

 $_callback = null
 
 $_content = array()
 
 $_exception = null
 
 $_decorators = array()
 
 $_defaultDecoratorOptions = array()
 

Member Function Documentation

__toString ( )

__toString() to cast to a string

Returns
string
_applyDecorators (   $content,
Array  $decoratorOptions 
)
protected

_applyDecorators() apply a group of decorators

Parameters
string$content
array$decoratorOptions
Returns
string
addContentDecorator ( Zend_Tool_Framework_Client_Response_ContentDecorator_Interface  $contentDecorator)

Add Content Decorator.

Parameters
Zend_Tool_Framework_Client_Response_ContentDecorator_Interface$contentDecorator
Returns
unknown
appendContent (   $content,
Array  $decoratorOptions = array() 
)

appendCallback

Parameters
string$content
Returns
Zend_Tool_Framework_Client_Response
getContent ( )

getContent()

Returns
string
getContentDecorators ( )

getContentDecorators()

Returns
array
getException ( )

getException()

Returns
Exception
isException ( )

isException()

Returns
bool
setContent (   $content,
Array  $decoratorOptions = array() 
)

setContent()

Parameters
string$content
Returns
Zend_Tool_Framework_Client_Response
setContentCallback (   $callback)

setContentCallback()

Parameters
callback$callback
Returns
Zend_Tool_Framework_Client_Response
setDefaultDecoratorOptions ( Array  $decoratorOptions,
  $mergeIntoExisting = false 
)

setDefaultDecoratorOptions()

Parameters
array$decoratorOptions
bool$mergeIntoExisting
Returns
Zend_Tool_Framework_Client_Response
setException ( Exception  $exception)

setException()

Parameters
Exception$exception
Returns
Zend_Tool_Framework_Client_Response

Member Data Documentation

$_callback = null
protected
$_content = array()
protected
$_decorators = array()
protected
$_defaultDecoratorOptions = array()
protected
$_exception = null
protected