You are here

function xmlrpc_test_nested_struct_test in xmlrpc 8

Test function returning a nested hash/struct.

Parameters

array $array: A source data hash.

Return value

mixed A nested hash combining parts of the source data.

1 call to xmlrpc_test_nested_struct_test()
XmlRpcValidatorTest::testValidator in src/Tests/XmlRpcValidatorTest.php
Run validator1 tests.
1 string reference to 'xmlrpc_test_nested_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 125
Test module to support XmlRpcMessagesTest and XmlRpcValidatorTest.

Code

function xmlrpc_test_nested_struct_test(array $array) {
  return $array["2000"]["04"]["01"]["larry"] + $array["2000"]["04"]["01"]["moe"] + $array["2000"]["04"]["01"]["curly"];
}