ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilRpcClientFactory Class Reference

Factory for PEAR XML rpc2 clients More...

+ Collaboration diagram for ilRpcClientFactory:

Static Public Member Functions

static factory ($a_package)
 Create an XML_RPC2 client instance.

Detailed Description

Factory for PEAR XML rpc2 clients

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 31 of file class.ilRpcClientFactory.php.

Member Function Documentation

static ilRpcClientFactory::factory (   $a_package)
static

Create an XML_RPC2 client instance.

We use Php as backend, since xmlrpc encodes utf8 as html entity

Parameters
string$a_packagePackage name
Returns

Definition at line 42 of file class.ilRpcClientFactory.php.

References $client, XML_RPC2_Client\create(), and ilRPCServerSettings\getInstance().

Referenced by ilScorm2004Export\buildExportFilePDF(), ilCertificate\createPreview(), ilObjSurvey\deliverPDFfromFO(), ilObjTest\deliverPDFfromFO(), ilLuceneSearcher\highlight(), ilCertificate\outCertificate(), ilLuceneSearcher\performSearch(), ilRPCServerSettings\pingServer(), ilLuceneIndexer\run(), ilObjSearchSettingsGUI\saveLuceneSettingsObject(), and ilLuceneIndexer\updateLuceneIndex().

{
include_once './Services/WebServices/RPC/classes/class.ilRPCServerSettings.php';
array(
'prefix' => $a_package.'.',
'encoding' => 'utf-8',
'backend' => 'Php',
'debug' => false
)
);
return $client;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: