См. определение в файле apclient.php строка 13
◆ __construct()
__construct |
( |
array | $connection | ) |
|
◆ batch()
◆ call()
call |
( |
| $methodName, |
|
|
| $additionalParams = null ) |
Low-level function for REST method call. Returns method response including paging params and error messages.
- Аргументы
-
string | $methodName | Method name. |
array | null | $additionalParams | Method params. |
- Возвращает
- bool|mixed
- Исключения
-
ArgumentException | |
ArgumentNullException | |
SystemException | |
См. определение в файле apclient.php строка 78
◆ checkConnection()
checkConnection |
( |
array | $connection | ) |
|
|
protected |
◆ getConnection()
◆ getErrorCollection()
◆ getHttpClient()
◆ getRequestUrl()
getRequestUrl |
( |
| $methodName | ) |
|
|
protected |
◆ init()
◆ initById()
initById |
( |
| $connectionId | ) |
|
|
static |
◆ prepareRequest()
prepareRequest |
( |
| $additionalParams | ) |
|
|
protected |
◆ prepareRequestData()
prepareRequestData |
( |
| $additionalParams | ) |
|
|
protected |
◆ prepareResponse()
prepareResponse |
( |
| $result | ) |
|
|
protected |
◆ $connection
◆ $errorCollection
◆ $requiredKeys
$requiredKeys = array('ENDPOINT') |
|
staticprotected |
◆ ERROR_WRONG_ANSWER
const ERROR_WRONG_ANSWER = 'WRONG_ANWSER' |
◆ HTTP_SOCKET_TIMEOUT
const HTTP_SOCKET_TIMEOUT = 10 |
◆ HTTP_STREAM_TIMEOUT
const HTTP_STREAM_TIMEOUT = 10 |
◆ METHOD_BATCH
const METHOD_BATCH = 'batch' |
Объявления и описания членов класса находятся в файле: