You are here

function xmlrpc_test_easy_struct_test in xmlrpc 8

Test function building an array from hash/struct values.

Parameters

array $array: A hash of values of any type.

Return value

mixed An array of values from the source hash.

1 call to xmlrpc_test_easy_struct_test()
XmlRpcValidatorTest::testValidator in src/Tests/XmlRpcValidatorTest.php
Run validator1 tests.
1 string reference to 'xmlrpc_test_easy_struct_test'
xmlrpc_test_xmlrpc in tests/modules/xmlrpc_test/xmlrpc_test.module
Implements hook_xmlrpc().

File

tests/modules/xmlrpc_test/xmlrpc_test.module, line 55
Test module to support XmlRpcMessagesTest and XmlRpcValidatorTest.

Code

function xmlrpc_test_easy_struct_test(array $array) {
  return $array["curly"] + $array["moe"] + $array["larry"];
}