You are here

function restful_formatted_delivery in RESTful 7

Returns data in JSON format using data preparation in the formatter plugin.

Parameters

$var: (optional) If set, the variable will be converted to JSON and output.

See also

restful_menu_process_callback()

1 string reference to 'restful_formatted_delivery'
restful_menu in ./restful.module
Implements hook_menu().

File

./restful.module, line 674

Code

function restful_formatted_delivery($var = NULL) {
  restful_delivery($var, 'format');
}