modify exposed function names for xmlrpc to match service class

This commit is contained in:
Miles Lott 2001-10-22 21:18:57 +00:00
parent 9bebfc89c4
commit 86e8f527d7

View File

@ -118,27 +118,27 @@
{ {
case 'xmlrpc': case 'xmlrpc':
$xml_functions = array( $xml_functions = array(
'read_entry' => array( 'read' => array(
'function' => 'read_entry', 'function' => 'read_entry',
'signature' => array(array(xmlrpcStruct,xmlrpcStruct)), 'signature' => array(array(xmlrpcStruct,xmlrpcStruct)),
'docstring' => lang('Read a single entry by passing the id and fieldlist.') 'docstring' => lang('Read a single entry by passing the id and fieldlist.')
), ),
'add_entry' => array( 'add' => array(
'function' => 'add_entry', 'function' => 'add_entry',
'signature' => array(array(xmlrpcStruct,xmlrpcStruct)), 'signature' => array(array(xmlrpcStruct,xmlrpcStruct)),
'docstring' => lang('Add a single entry by passing the fields.') 'docstring' => lang('Add a single entry by passing the fields.')
), ),
'update_entry' => array( 'save' => array(
'function' => 'update_entry', 'function' => 'update_entry',
'signature' => array(array(xmlrpcStruct,xmlrpcStruct)), 'signature' => array(array(xmlrpcStruct,xmlrpcStruct)),
'docstring' => lang('Update a single entry by passing the fields.') 'docstring' => lang('Update a single entry by passing the fields.')
), ),
'delete_entry' => array( 'delete' => array(
'function' => 'delete_entry', 'function' => 'delete_entry',
'signature' => array(array(xmlrpcInt,xmlrpcInt)), 'signature' => array(array(xmlrpcInt,xmlrpcInt)),
'docstring' => lang('Delete a single entry by passing the id.') 'docstring' => lang('Delete a single entry by passing the id.')
), ),
'read_entries' => array( 'read_list' => array(
'function' => 'read_entries', 'function' => 'read_entries',
'signature' => array(array(xmlrpcStruct,xmlrpcStruct)), 'signature' => array(array(xmlrpcStruct,xmlrpcStruct)),
'docstring' => lang('Read a list of entries.') 'docstring' => lang('Read a list of entries.')