From c644128fdd49a47d791240e0e38b54cd22412bc5 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 4 Jul 2007 23:54:32 +0000 Subject: fixed validation errors... about a zillion of em. --- user_guide/libraries/xmlrpc.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'user_guide/libraries/xmlrpc.html') diff --git a/user_guide/libraries/xmlrpc.html b/user_guide/libraries/xmlrpc.html index 5d9b9ee64..ba70e11a8 100644 --- a/user_guide/libraries/xmlrpc.html +++ b/user_guide/libraries/xmlrpc.html @@ -88,11 +88,11 @@ Once processed, the server will then send back a response message.

Like most other classes in CodeIgniter, the XML-RPC and XML-RPCS classes are initialized in your controller using the $this->load->library function:

-

To load the XML-RPC class you will use: +

To load the XML-RPC class you will use:

$this->load->library('xmlrpc');

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

-

To load the XML-RPC Server class you will use: +

To load the XML-RPC Server class you will use:

$this->load->library('xmlrpc');
$this->load->library('xmlrpcs'); @@ -193,7 +193,7 @@ $this->xmlrpcs->initialize($config);
$this->xmlrpcs->serve();

The above example contains an array specifying two method requests that the Server allows. -The allowed methods are on the left side of the array. When either of those are received, they will be mapped to the class and method on the right. +The allowed methods are on the left side of the array. When either of those are received, they will be mapped to the class and method on the right.

In other words, if an XML-RPC Client sends a request for the new_post method, your server will load the My_blog class and call the new_entry function. @@ -223,7 +223,7 @@ to exist with this prototype:

The $request variable is an object compiled by the Server, which contains the data sent by the XML-RPC Client. Using this object you will have access to the request parameters enabling you to process the request. When -you are done you will send a Response back to the Client.

+you are done you will send a Response back to the Client.

Below is a real-world example, using the Blogger API. One of the methods in the Blogger API is getUserInfo(). Using this method, an XML-RPC Client can send the Server a username and password, in return the Server sends @@ -486,7 +486,7 @@ Previous Topic:  Validation Class Top of Page   ·   User Guide Home   ·   Next Topic:  Zip Encoding Class -

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

-- cgit v1.2.3-24-g4f1b