From e5bb936f808bfd39a6ba8cbe1fc2ddbcf9bf502f Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 27 Sep 2006 00:31:22 +0000 Subject: --- user_guide/libraries/xmlrpc.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'user_guide/libraries/xmlrpc.html') diff --git a/user_guide/libraries/xmlrpc.html b/user_guide/libraries/xmlrpc.html index 1417b4a45..96a52a1a2 100644 --- a/user_guide/libraries/xmlrpc.html +++ b/user_guide/libraries/xmlrpc.html @@ -93,9 +93,14 @@ Once processed, the server will then send back a response message.

Once loaded, the xml-rpc library object will be available using: $this->xmlrpc

To load the XML-RPC Server class you will use: -$this->load->library('xmlrpcs'); + +$this->load->library('xmlrpc');
+$this->load->library('xmlrpcs'); +

Once loaded, the xml-rpcs library object will be available using: $this->xmlrpcs

+

Note:  When using the XML-RPC Sever class you must load BOTH the XML-RPC class and the XML-RPC Server class.

+

Sending XML-RPC Requests

@@ -177,7 +182,9 @@ class and method for processing.

Here is an example to illustrate:

-$this->load->library('xmlrpcs');
+ +$this->load->library('xmlrpcs');
+$this->load->library('xmlrpcs');

$config['functions']['new_post'];  = array('function' => 'My_blog.new_entry');
$config['functions']['update_post'] = array('function' => 'My_blog.update_entry');
@@ -359,6 +366,8 @@ class Xmlrpc_server extends Controller { function index() { + + $this->load->library('xmlrpc'); $this->load->library('xmlrpcs'); $config['functions']['Greetings'] = array('function' => 'Xmlrpc_server.process'); -- cgit v1.2.3-24-g4f1b