function xmlrpc_test_manyTypesTest

7.x xmlrpc_test.module xmlrpc_test_manyTypesTest($number, $boolean, $string, $double, $dateTime, $base64)
1 call to xmlrpc_test_manyTypesTest()
XMLRPCValidator1IncTestCase::testValidator1 in drupal-7.x/modules/simpletest/tests/xmlrpc.test
Run validator1 tests.
1 string reference to 'xmlrpc_test_manyTypesTest'
xmlrpc_test_xmlrpc in drupal-7.x/modules/simpletest/tests/xmlrpc_test.module
Implements hook_xmlrpc().

File

drupal-7.x/modules/simpletest/tests/xmlrpc_test.module, line 31

Code

function xmlrpc_test_manyTypesTest($number, $boolean, $string, $double, $dateTime, $base64) {
  $timestamp = gmmktime($dateTime->hour, $dateTime->minute, $dateTime->second, $dateTime->month, $dateTime->day, $dateTime->year);
  return array($number, $boolean, $string, $double, xmlrpc_date($timestamp), xmlrpc_Base64($base64));
}