ILIAS
release_8 Revision v8.19
|
Class ilRpcClient. More...
Public Member Functions | |
__construct (string $a_url, string $a_prefix='', int $a_timeout=0, string $a_encoding='utf-8') | |
ilRpcClient constructor. More... | |
__call (string $a_method, array $a_params) | |
Magic caller to all RPC functions. More... | |
Protected Attributes | |
string | $url |
string | $prefix = '' |
int | $timeout = 0 |
string | $encoding = '' |
ilLogger | $logger |
Class ilRpcClient.
List of all known RPC methods...
RPCIndexHandler: void index() index(string $client, bool $bool) Prefix/Package: RPCIndexHandler void indexObjects() indexObjects(string $client, array $object_ids) Prefix/Package: RPCIndexHandler
RPCTransformationHandler: string ilFO2PDF() ilFO2PDF(string $fo_string) Prefix/Package: RPCTransformationHandler Return: base64
RPCSearchHandler: string searchMail() searchMail(string $client, int $user_id, string $query, int $mail_folder_id) Prefix/Package: RPCSearchHandler Return:xml string highlight() highlight(string $client, array $object_ids, string $query) Prefix/Package: RPCSearchHandler Return: string string searchUsers() searchUser(string $client, string $query) Prefix/Package: RPCSearchHandler Return: xml string search() search(string $client, string $query, int $page_nr) Prefix/Package: RPCSearchHandler Return: xml
Other: void ping() ping() Prefix/Package: RPCebug void refreshSettings() refreshSettings(string $client) Prefix/Package: RPCAdministration
Definition at line 32 of file class.ilRpcClient.php.
ilRpcClient::__construct | ( | string | $a_url, |
string | $a_prefix = '' , |
||
int | $a_timeout = 0 , |
||
string | $a_encoding = 'utf-8' |
||
) |
ilRpcClient constructor.
string | $a_url | URL to connect to |
string | $a_prefix | Optional prefix for method names |
int | $a_timeout | The maximum number of seconds to allow ilRpcClient to connect. |
string | $a_encoding | Character encoding |
ilRpcClientException |
Definition at line 49 of file class.ilRpcClient.php.
References $DIC, ilLoggerFactory\getLogger(), and ILIAS\Repository\logger().
ilRpcClient::__call | ( | string | $a_method, |
array | $a_params | ||
) |
Magic caller to all RPC functions.
string | $a_method | Method name |
array | $a_params | Argument array |
ilRpcClientException |
Definition at line 74 of file class.ilRpcClient.php.
References Vendor\Package\$e, $encoding, XapiProxy\$resp, and ILIAS\Repository\logger().
|
protected |
Definition at line 37 of file class.ilRpcClient.php.
Referenced by __call().
|
protected |
Definition at line 39 of file class.ilRpcClient.php.
|
protected |
Definition at line 35 of file class.ilRpcClient.php.
|
protected |
Definition at line 36 of file class.ilRpcClient.php.
|
protected |
Definition at line 34 of file class.ilRpcClient.php.