From e5bb936f808bfd39a6ba8cbe1fc2ddbcf9bf502f Mon Sep 17 00:00:00 2001
From: admin
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.
+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