Class KerioConnectApi
Administration API for Kerio Connect.
This class implements product-specific methods and properties.
Example:
<?php require_once(dirname(__FILE__) . '/src/KerioConnectApi.php'); $api = new KerioConnectApi('Sample application', 'Company Ltd.', '1.0'); try { $api->login('mail.company.tld', 'admin', 'SecretPassword'); $api->sendRequest('...'); $api->logout(); } catch (KerioApiException $error) { print $error->getMessage(); } ?>
- KerioApi implements KerioApiInterface
-
KerioConnectApi
License: http://www.kerio.com/developers/license/sdk-agreement
Version: 1.4.0.234
Located at KerioConnectApi.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
Methods inherited from KerioApi
checkHttpResponse()
,
clean()
,
debug()
,
downloadFile()
,
getApiVersion()
,
getApplication()
,
getCookie()
,
getDebug()
,
getFile()
,
getHttpGetRequest()
,
getHttpPostRequest()
,
getHttpPutRequest()
,
getHttpRequest()
,
getJsonRpc()
,
getToken()
,
login()
,
logout()
,
send()
,
sendRequest()
,
sendRequestJson()
,
setCookie()
,
setDebug()
,
setHostname()
,
setJsonRpc()
,
setTimeout()
,
setToken()
,
uploadFile()
Magic methods summary
Constants summary
Constants inherited from KerioApi
Properties summary
protected
array
|
$jsonRpc |
#
Defines default product-specific JSON-RPC settings. |
Properties inherited from KerioApi
$application
,
$cookies
,
$headers
,
$hostname
,
$name
,
$token
,
$version