You are here

function services_admin_browse_test_submit in Services 6

Same name and namespace in other branches
  1. 5 services_admin_browse.inc \services_admin_browse_test_submit()
  2. 6.2 services_admin_browse.inc \services_admin_browse_test_submit()
  3. 7 services_admin_browse.inc \services_admin_browse_test_submit()

File

./services_admin_browse.inc, line 183
@author Services Dev Team

Code

function services_admin_browse_test_submit($form, $form_state) {
  global $_services_admin_browse_test_submit_result;
  $method = services_method_get(arg(4));
  $args = services_admin_browse_test_unserialize_args($form_state['values']['arg']);
  $result = services_method_call($method['#method'], $args);
  $_services_admin_browse_test_submit_result = '<pre>' . htmlspecialchars(print_r($result, TRUE)) . '</pre>';
}