You are here

function simpletest_xmlrpc_simpleStructReturnTest in SimpleTest 6

Same name and namespace in other branches
  1. 5 simpletest_xmlrpc.module \simpletest_xmlrpc_simpleStructReturnTest()
1 call to simpletest_xmlrpc_simpleStructReturnTest()
XMLRPCValidator1Test::test_run_all_tests in tests/xmlrpc_validator1.test
1 string reference to 'simpletest_xmlrpc_simpleStructReturnTest'
simpletest_xmlrpc_xmlrpc in ./simpletest_xmlrpc.module
Implementation of hook_xmlrpc()

File

./simpletest_xmlrpc.module, line 61

Code

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