DefaultResponse Class Reference

Detailed Description

Default Response implementation.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 24 of file DefaultResponse.php.

+ Inheritance diagram for DefaultResponse:

Public Member Functions

 __construct (Formatter $formatter)
 
 setRequest (Request $request)
 
 getRequest ()
 
 setCacheId ($cacheId)
 
 getCacheId ()
 
 isCached ()
 
 getCacheDate ()
 
 setStatus ($status)
 
 getStatus ()
 
 setFile ($filename, $isDownload, $content='', $type='')
 
 getFile ()
 
- Public Member Functions inherited from AbstractControllerMessage
 __construct (Formatter $formatter)
 
 setSender ($sender)
 
 getSender ()
 
 setContext ($context)
 
 getContext ()
 
 setAction ($action)
 
 getAction ()
 
 setFormat ($format)
 
 getFormat ()
 
 setHeader ($name, $value)
 
 setHeaders (array $headers)
 
 getHeader ($name, $default=null)
 
 getHeaders ()
 
 clearHeader ($name)
 
 clearHeaders ()
 
 hasHeader ($name)
 
 setValue ($name, $value)
 
 setValues (array $values)
 
 getValue ($name, $default=null, $validateDesc=null)
 
 getBooleanValue ($name, $default=false)
 
 getValues ()
 
 clearValue ($name)
 
 clearValues ()
 
 hasValue ($name)
 
 setProperty ($name, $value)
 
 getProperty ($name)
 
 addError (ApplicationError $error)
 
 setErrors (array $errors)
 
 getErrors ()
 
 clearErrors ()
 
 hasErrors ()
 
 __toString ()
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractControllerMessage
 getFormatter ()
 

Constructor & Destructor Documentation

__construct ( Formatter  $formatter)

Constructor.

Parameters
$formatter

Definition at line 36 of file DefaultResponse.php.

Member Function Documentation

setRequest ( Request  $request)
See also
Response::setRequest()

Implements Response.

Definition at line 44 of file DefaultResponse.php.

getRequest ( )
See also
Response::getRequest()

Implements Response.

Definition at line 54 of file DefaultResponse.php.

setCacheId (   $cacheId)
See also
Response::setCacheId()

Implements Response.

Definition at line 61 of file DefaultResponse.php.

getCacheId ( )
See also
Response::getCacheId()

Implements Response.

Definition at line 68 of file DefaultResponse.php.

isCached ( )
See also
Response::isCached()

Implements Response.

Definition at line 75 of file DefaultResponse.php.

getCacheDate ( )
See also
Response::getCacheDate()

Implements Response.

Definition at line 83 of file DefaultResponse.php.

setStatus (   $status)
See also
Response::setStatus()

Implements Response.

Definition at line 91 of file DefaultResponse.php.

getStatus ( )
See also
Response::getStatus()

Implements Response.

Definition at line 98 of file DefaultResponse.php.

setFile (   $filename,
  $isDownload,
  $content = '',
  $type = '' 
)
See also
Response::setFile()

Implements Response.

Definition at line 105 of file DefaultResponse.php.

getFile ( )
See also
Response::getFile()

Implements Response.

Definition at line 122 of file DefaultResponse.php.