WiseLoop PHP REST Services 3.3.1
RESTful web service API framework for PHP
wlRestOutputHandlerXml Class Reference
Inheritance diagram for wlRestOutputHandlerXml:

Public Member Functions

 render ($data)
 getContentType ()

Detailed Description

WiseLoop XML RestOutputHandler class definition
This class implements an output handler that will render the data in XML format.
This output handler is registered by default when creating a new REST Service.

See also:
wlRestOutputHandler

Member Function Documentation

getContentType ( )

Returns 'text/xml' string as the content mime type header that will be sent to the requester.

Returns:
string

Reimplemented from wlRestOutputHandler.

render ( data)

Renders the data in XML format.

Parameters:
mixed$data
Returns:
mixed the processed data to be sent to the requester
See also:
wlRestService

Reimplemented from wlRestOutputHandler.

 All Data Structures Functions Variables