| 5 xmlrpc_example.module | xmlrpc_example_xmlrpc() |
| 6 xmlrpc_example.module | xmlrpc_example_xmlrpc() |
| 7 xmlrpc_example.module | xmlrpc_example_xmlrpc() |
| 8 xmlrpc_example.module | xmlrpc_example_xmlrpc() |
Implementation of hook_xmlrpc().
This function provides Drupal with an array to map XML-RPC callbacks to the functions implemented by this module.
File
- developer/
examples/ xmlrpc_example.module, line 18 - This is an example of how to implement XML-RPC callbacks by implementing a validation suite.
Code
function xmlrpc_example_xmlrpc() {
return (array(
'validator1.arrayOfStructsTest' => 'xmlrpc_example_arrayOfStructsTest',
'validator1.countTheEntities' => 'xmlrpc_example_countTheEntities',
'validator1.easyStructTest' => 'xmlrpc_example_easyStructTest',
'validator1.echoStructTest' => 'xmlrpc_example_echoStructTest',
'validator1.manyTypesTest' => 'xmlrpc_example_manyTypesTest',
'validator1.moderateSizeArrayCheck' => 'xmlrpc_example_moderateSizeArrayCheck',
'validator1.nestedStructTest' => 'xmlrpc_example_nestedStructTest',
'validator1.simpleStructReturnTest' => 'xmlrpc_example_simpleStructReturnTest',
));
}
Login or register to post comments