function services_admin_browse_test_submit in Services 5
Same name and namespace in other branches
- 6 services_admin_browse.inc \services_admin_browse_test_submit()
- 6.2 services_admin_browse.inc \services_admin_browse_test_submit()
- 7 services_admin_browse.inc \services_admin_browse_test_submit()
File
- ./
services_admin_browse.inc, line 167 - The file contains code which is used to create the services testing interface
Code
function services_admin_browse_test_submit($form_id, $form_values) {
global $_services_admin_browse_test_submit_result;
$method = services_method_get(arg(4));
$args = services_admin_browse_test_unserialize_args($form_values['arg']);
$result = services_method_call($method['#method'], $args);
$_services_admin_browse_test_submit_result = '<pre>' . htmlspecialchars(print_r($result, TRUE)) . '</pre>';
}