eZPublishCommunityProject(LegacyStack)  2013.6
ezpRestStatusResponse Class Reference
+ Inheritance diagram for ezpRestStatusResponse:
+ Collaboration diagram for ezpRestStatusResponse:

Public Member Functions

 __construct ($code=null, $message=null, array $headers=array())
 Construct an ezpRestStatusResponse object. More...
 
 process (ezcMvcResponseWriter $writer)
 This method is called by the response writers to process the data contained in the status objects. More...
 

Public Attributes

 $code
 
 $headers
 
 $message
 

Static Public Attributes

static $statusCodes
 

Constructor & Destructor Documentation

ezpRestStatusResponse::__construct (   $code = null,
  $message = null,
array  $headers = array() 
)

Construct an ezpRestStatusResponse object.

Parameters
int$codeHTTP code
string$messageMessage to be provided
array$headersHeaders

Member Function Documentation

ezpRestStatusResponse::process ( ezcMvcResponseWriter  $writer)

This method is called by the response writers to process the data contained in the status objects.

The process method it responsible for undertaking the proper action depending on which response writer is used.

Parameters
ezcMvcResponseWriter$writer

Member Data Documentation

ezpRestStatusResponse::$code

Referenced by __construct(), and process().

ezpRestStatusResponse::$headers

Referenced by __construct().

ezpRestStatusResponse::$message

Referenced by __construct().

ezpRestStatusResponse::$statusCodes
static

The documentation for this class was generated from the following file: