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

Public Member Functions

 render ($data)

Detailed Description

WiseLoop Plain RestOutputHandler class definition
This class implements an output handler that will render the data as it is without any formatting; if data is an array, then PHP print_r function is used to generate the output.
This output handler is registered by default when creating a new REST Service.

See also:
wlRestOutputHandler

Member Function Documentation

render ( data)

Renders the data in standard plain format without any formatting; if data is an array, then PHP print_r function is used to generate the output.

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