You are here

function xmlrpc_test_simpleStructReturnTest in Drupal 7

1 call to xmlrpc_test_simpleStructReturnTest()
XMLRPCValidator1IncTestCase::testValidator1 in modules/simpletest/tests/xmlrpc.test
Run validator1 tests.
1 string reference to 'xmlrpc_test_simpleStructReturnTest'
xmlrpc_test_xmlrpc in modules/simpletest/tests/xmlrpc_test.module
Implements hook_xmlrpc().

File

modules/simpletest/tests/xmlrpc_test.module, line 44

Code

function xmlrpc_test_simpleStructReturnTest($number) {
  return array(
    "times10" => $number * 10,
    "times100" => $number * 100,
    "times1000" => $number * 1000,
  );
}