ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilRpcClientFactory Class Reference

@classDescription 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. More...
 

Detailed Description

@classDescription 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

◆ factory()

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.

43 {
44 include_once './Services/WebServices/RPC/classes/class.ilRPCServerSettings.php';
45
47 ilRPCServerSettings::getInstance()->getServerUrl(),
48 array(
49 'prefix' => $a_package.'.',
50 'encoding' => 'utf-8',
51 'backend' => 'Php',
52 'debug' => false
53 )
54 );
55 return $client;
56 }
static create($uri, $options=array())
Factory method to select, create and return a XML_RPC2_Client backend.
Definition: Client.php:205
static getInstance()
Get singelton instance.

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(), ilObjSearchSettingsGUI\refreshLuceneSettings(), ilLuceneIndexer\run(), and ilLuceneIndexer\updateLuceneIndex().

+ 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: