PHP Класс opensrs\OMA

С версии: 3.3
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( $opt = [] )
send_cmd ( string $meth, hash $req ) : hash A wrapper method to send a command to the server.

Приватные методы

Метод Описание
call ( string $method, hash $request ) : hash Method to send a command to the server using CURL.

Описание методов

__construct() публичный Метод

public __construct ( $opt = [] )

send_cmd() публичный статический Метод

A wrapper method to send a command to the server.
С версии: 3.3
public static send_cmd ( string $meth, hash $req ) : hash
$meth string A name of the OMA method
$req hash Containing header key/value pairs
Результат hash $res Containing header key/value pairs