sourceforge.net.
Due to this, some of the conventions we will encounter when building XML-RPC
plugins will differ from the rest of Joomla!.
When we briefly discussed XML-RPC in Chapter 6, we described an event that
enables us to define XML-RPC web service calls. This is only one part of XML-RPC
plugins; the second part is a static class or group of functions that handle an XMLRPC
request.
APIs and Web Services
[ 302 ]
Before we delve any further, we need to be familiar with the XML-RPC data types.
There are six simple data types and two compound data types. This table describes
the six simple data types:
Type Variable Description
base64 $xmlrpcBase64 Base64 binary encoded data
boolean $xmlrpcBoolean True or false: 0 = false, 1 = true
dateTime.iso8601 $xmlrpcDateTime
Date and time in iso8601 format, for
example YYYYMMDDTHH:MM:SS
double $xmlrpcDouble Floating-point number
int/i4 $xmlrpcInt or $xmlrpcI4 Integer
string $xmlrpcString ASCII text
This table describes the two compound data types:
Type Variable Description
array $xmlrpcArray Array
struct $xmlrpcStruct Associative array (hash)
Compound data types are so called because they combine the other types.
Pages:
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416