SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 209 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


Returns Boolean false of failure.
Chapter 6
[ 155 ]
XML-RPC
XML-RPC is a way in which systems can call procedures on remote systems via
HTTP using XML to encode data. Joomla! includes an XML-RPC server, which we
can extend using plugins.
There are essentially two parts to XML-RPC plugins: the event handler for the event
onGetWebServices, which returns an array of supported web service calls, and a
static class or selection of functions that handle remote procedure calls.
For more information about creating XML-RPC plugins, please refer to Chapter 10.
onGetWebServices
Description Gets an associative array describing the available web service methods.
Returns
An associative array of associative arrays, which define the available
XML-RPC web service calls.
Loading Plugins
Before a plugin can respond to an event, the plugin must be loaded. When we
normally load plugins we load a group at a time. To do this we use the static
JPluginHelper class.
This example shows how we would load plugins from the group foobar:
JPluginHelper::importPlugin('foobar');
It is essential that we import plugins before firing events that relate to them.


Pages:
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6