From 86e8f527d7fa5591ab4c6115070251920e8affa7 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Mon, 22 Oct 2001 21:18:57 +0000 Subject: [PATCH] modify exposed function names for xmlrpc to match service class --- addressbook/inc/class.boaddressbook.inc.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addressbook/inc/class.boaddressbook.inc.php b/addressbook/inc/class.boaddressbook.inc.php index fe62668f0d..952041091f 100644 --- a/addressbook/inc/class.boaddressbook.inc.php +++ b/addressbook/inc/class.boaddressbook.inc.php @@ -118,27 +118,27 @@ { case 'xmlrpc': $xml_functions = array( - 'read_entry' => array( + 'read' => array( 'function' => 'read_entry', 'signature' => array(array(xmlrpcStruct,xmlrpcStruct)), 'docstring' => lang('Read a single entry by passing the id and fieldlist.') ), - 'add_entry' => array( + 'add' => array( 'function' => 'add_entry', 'signature' => array(array(xmlrpcStruct,xmlrpcStruct)), 'docstring' => lang('Add a single entry by passing the fields.') ), - 'update_entry' => array( + 'save' => array( 'function' => 'update_entry', 'signature' => array(array(xmlrpcStruct,xmlrpcStruct)), 'docstring' => lang('Update a single entry by passing the fields.') ), - 'delete_entry' => array( + 'delete' => array( 'function' => 'delete_entry', 'signature' => array(array(xmlrpcInt,xmlrpcInt)), 'docstring' => lang('Delete a single entry by passing the id.') ), - 'read_entries' => array( + 'read_list' => array( 'function' => 'read_entries', 'signature' => array(array(xmlrpcStruct,xmlrpcStruct)), 'docstring' => lang('Read a list of entries.')