См. определение в файле request.php строка 5
◆ __construct()
__construct |
( |
| $apiLogin, |
|
|
| $apiKey, |
|
|
| $apiUrl = '' ) |
◆ constructApiUrl()
constructApiUrl |
( |
| $controller, |
|
|
| $action ) |
|
protected |
Returns full URL for API request
- Аргументы
-
string | $controller | Group name |
string | $action | Method name |
- Возвращает
- string Full URL
См. определение в файле request.php строка 98
◆ send()
send |
( |
| $controller, |
|
|
| $action, |
|
|
| $data, |
|
|
| $assoc = true ) |
Calls API
- Аргументы
-
string | $controller | Group name |
string | $action | Method name |
mixed | $data | Input data |
bool | $assoc | Result format. true - array, false - object |
- Возвращает
- mixed Result
- Исключения
-
Exception Case error during requesting
См. определение в файле request.php строка 47
◆ $apiKey
◆ $apiLogin
◆ $apiUrl
◆ API_BASE_URL
const API_BASE_URL = 'https://kabinet.pecom.ru/api/v1/' |
Base default URL @const string
См. определение в файле request.php строка 11
Объявления и описания членов класса находятся в файле: