You are here

public function RestfulFormatterInterface::render in RESTful 7

Renders an array in the selected format.

Parameters

array $structured_data: The data prepared to be rendered as returned by \RestfulFormatterInterface::prepare().

Return value

string The body contents for the HTTP response.

1 call to RestfulFormatterInterface::render()
RestfulFormatterBase::format in plugins/formatter/RestfulFormatterBase.php
Formats the un-structured data into the output format.
2 methods override RestfulFormatterInterface::render()
RestfulFormatterHalJson::render in plugins/formatter/hal_json/RestfulFormatterHalJson.class.php
Renders an array in the selected format.
RestfulFormatterJson::render in plugins/formatter/json/RestfulFormatterJson.class.php
Renders an array in the selected format.

File

plugins/formatter/RestfulFormatterInterface.php, line 31
Contains RestfulFormatterInterface.

Class

RestfulFormatterInterface
@file Contains RestfulFormatterInterface.

Code

public function render(array $structured_data);