class ServicesPHPFormatter in Services 7.3
Hierarchy
- class \ServicesPHPFormatter implements ServicesFormatterInterface
Expanded class hierarchy of ServicesPHPFormatter
2 string references to 'ServicesPHPFormatter'
- rest_server_response_formatters in servers/
rest_server/ rest_server.module - Builds a list of response formatters that are available to the RESTServer.
- ServicesRESTServerTests::testRender in servers/
rest_server/ tests/ ServicesRESTServerTests.test - Test for render() method.
File
- servers/
rest_server/ includes/ ServicesFormatter.inc, line 40
View source
class ServicesPHPFormatter implements ServicesFormatterInterface {
public function render($data) {
return serialize($data);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ServicesPHPFormatter:: |
public | function |
Render data to the string. Overrides ServicesFormatterInterface:: |