API Documentation

Zend/Tool/Framework/Client/Response.php

Show: inherited
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Tool  
Subpackage
Framework  
Version
$Id: Response.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Tool_Framework_Client_Response

Package: Zend\Tool

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

Properties

Propertyprotectedcallback|null  $_callback= 'null'

Default valuenullDetails
Type
callbacknull
Propertyprotectedarray  $_content= 'array()'

Default valuearray()Details
Type
array
Propertyprotectedarray  $_decorators= 'array()'

Default valuearray()Details
Type
array
Propertyprotectedarray  $_defaultDecoratorOptions= 'array()'

Default valuearray()Details
Type
array
Propertyprotected\Zend_Tool_Framework_Exception  $_exception= 'null'

Default valuenullDetails
Type
\Zend_Tool_Framework_Exception

Methods

methodpublic__toString( ) : string

__toString() to cast to a string

Returns
Type Description
string
methodprotected_applyDecorators( string $content, array $decoratorOptions ) : string

_applyDecorators() apply a group of decorators

Parameters
Name Type Description
$content string
$decoratorOptions array
Returns
Type Description
string
methodpublicaddContentDecorator( \Zend_Tool_Framework_Client_Response_ContentDecorator_Interface $contentDecorator ) : \unknown

Add Content Decorator

Parameters
Name Type Description
$contentDecorator \Zend_Tool_Framework_Client_Response_ContentDecorator_Interface
Returns
Type Description
\unknown
methodpublicappendContent( string $content,  $decoratorOptions = array() ) : \Zend_Tool_Framework_Client_Response

appendCallback

Parameters
Name Type Description
$content string
$decoratorOptions
Returns
Type Description
\Zend_Tool_Framework_Client_Response
methodpublicgetContent( ) : string

getContent()

Returns
Type Description
string
methodpublicgetContentDecorators( ) : array

getContentDecorators()

Returns
Type Description
array
methodpublicgetException( ) : \Exception

getException()

Returns
Type Description
\Exception
methodpublicisException( ) : bool

isException()

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

setContent()

Parameters
Name Type Description
$content string
$decoratorOptions
Returns
Type Description
\Zend_Tool_Framework_Client_Response
methodpublicsetContentCallback( callback $callback ) : \Zend_Tool_Framework_Client_Response

setContentCallback()

Parameters
Name Type Description
$callback callback
Returns
Type Description
\Zend_Tool_Framework_Client_Response
methodpublicsetDefaultDecoratorOptions( array $decoratorOptions, bool $mergeIntoExisting = false ) : \Zend_Tool_Framework_Client_Response

setDefaultDecoratorOptions()

Parameters
Name Type Description
$decoratorOptions array
$mergeIntoExisting bool
Returns
Type Description
\Zend_Tool_Framework_Client_Response
methodpublicsetException( \Exception $exception ) : \Zend_Tool_Framework_Client_Response

setException()

Parameters
Name Type Description
$exception \Exception
Returns
Type Description
\Zend_Tool_Framework_Client_Response
Documentation was generated by DocBlox 0.15.1.