|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
Collaboration diagram for ilRpcClient:Public Member Functions | |
| __construct (string $url, string $prefix='', int $timeout=0) | |
| __call (string $method, array $parameters) | |
| handleResponse (string $xml) | |
| Returns decoded response if not faulty, otherwise throws exception. More... | |
Protected Member Functions | |
| encodeRequest (string $method, array $parameters) | |
| isListOfIntegers (mixed $parameter) | |
| wrapParameter (DOMDocument $encoded_parameter) | |
| encodeString (string $parameter) | |
| encodeInteger (int $parameter) | |
| encodeBoolean (bool $parameter) | |
| encodeListOfIntegers (int ... $parameters) | |
| decodeOKResponse (DOMElement $response_body) | |
| decodeString (DOMNode $string) | |
| decodeBase64 (DOMNode $base64) | |
| decodeBoolean (DOMNode $boolean) | |
| handleFaultResponse (DOMElement $response_body) | |
Protected Attributes | |
| string | $url |
| string | $prefix = '' |
| int | $timeout = 0 |
| ilLogger | $logger |
List of all known RPC methods...
RPCIndexHandler: @method bool index() index(string $client, bool $bool) Prefix/Package: RPCIndexHandler @method void indexObjects() indexObjects(string $client, array $object_ids) Prefix/Package: RPCIndexHandler
RPCTransformationHandler: @method string ilFO2PDF() ilFO2PDF(string $fo_string) Prefix/Package: RPCTransformationHandler Return: base64
RPCSearchHandler: @method string searchMail() searchMail(string $client, int $user_id, string $query, int $mail_folder_id) Prefix/Package: RPCSearchHandler Return:xml @method string highlight() highlight(string $client, array $object_ids, string $query) Prefix/Package: RPCSearchHandler Return: string @method string searchUsers() searchUser(string $client, string $query) Prefix/Package: RPCSearchHandler Return: xml @method string search() search(string $client, string $query, int $page_nr) Prefix/Package: RPCSearchHandler Return: xml
Other: @method void ping() ping() Prefix/Package: RPCebug @method void refreshSettings() refreshSettings(string $client) Prefix/Package: RPCAdministration
Definition at line 43 of file class.ilRpcClient.php.
| ilRpcClient::__construct | ( | string | $url, |
| string | $prefix = '', |
||
| int | $timeout = 0 |
||
| ) |
| string | $url | URL to connect to |
| string | $prefix | Optional prefix for method names |
| int | $timeout | The maximum number of seconds to allow ilRpcClient to connect. |
| ilRpcClientException |
Definition at line 57 of file class.ilRpcClient.php.
References $DIC, $prefix, $timeout, $url, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilRpcClient::__call | ( | string | $method, |
| array | $parameters | ||
| ) |
| string | $method | Method name |
| (string|int|bool|int[])[] | $parameters Argument array |
| ilRpcClientException |
Definition at line 73 of file class.ilRpcClient.php.
References Vendor\Package\$e, encodeRequest(), handleResponse(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
protected |
Definition at line 252 of file class.ilRpcClient.php.
Referenced by decodeOKResponse().
Here is the caller graph for this function:
|
protected |
Definition at line 257 of file class.ilRpcClient.php.
Referenced by decodeOKResponse().
Here is the caller graph for this function:
|
protected |
Definition at line 230 of file class.ilRpcClient.php.
References decodeBase64(), decodeBoolean(), and decodeString().
Referenced by handleResponse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 247 of file class.ilRpcClient.php.
Referenced by decodeOKResponse().
Here is the caller graph for this function:
|
protected |
Definition at line 177 of file class.ilRpcClient.php.
Referenced by encodeRequest().
Here is the caller graph for this function:
|
protected |
Definition at line 170 of file class.ilRpcClient.php.
Referenced by encodeRequest().
Here is the caller graph for this function:
|
protected |
Definition at line 184 of file class.ilRpcClient.php.
References $data.
Referenced by encodeRequest().
Here is the caller graph for this function:
|
protected |
| (string|int|bool|int[])[] | $parameters |
| ilRpcClientException |
Definition at line 110 of file class.ilRpcClient.php.
References $params, encodeBoolean(), encodeInteger(), encodeListOfIntegers(), encodeString(), and isListOfIntegers().
Referenced by __call().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 163 of file class.ilRpcClient.php.
Referenced by encodeRequest().
Here is the caller graph for this function:
|
protected |
| ilRpcClientException |
Definition at line 265 of file class.ilRpcClient.php.
References ILIAS\Repository\int(), and ILIAS\Repository\logger().
Referenced by handleResponse().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRpcClient::handleResponse | ( | string | $xml | ) |
Returns decoded response if not faulty, otherwise throws exception.
| ilRpcClientException |
Definition at line 205 of file class.ilRpcClient.php.
References $response, decodeOKResponse(), handleFaultResponse(), and ILIAS\Repository\logger().
Referenced by __call().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 137 of file class.ilRpcClient.php.
Referenced by encodeRequest().
Here is the caller graph for this function:
|
protected |
Definition at line 150 of file class.ilRpcClient.php.
References $param.
|
protected |
Definition at line 49 of file class.ilRpcClient.php.
|
protected |
Definition at line 46 of file class.ilRpcClient.php.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.ilRpcClient.php.
Referenced by __construct().
|
protected |
Definition at line 45 of file class.ilRpcClient.php.
Referenced by __construct().