From e5bb936f808bfd39a6ba8cbe1fc2ddbcf9bf502f Mon Sep 17 00:00:00 2001
From: admin Permits you to optimize the database your DB class is currently connected to. Returns an array containing the returned status messages or FALSE on failure. Note: Not all database platforms support table optimization.
Code Igniter · Copyright © 2006 · pMachine, Inc.
+$this->dbutil->optimize_database();
+
+
+$result = $this->dbutil->optimize_databas();
+
+
+
+if ($result !== FALSE)
+{
+ print_r($result);
+}
+
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