PHP Class opensrs\OMA

Since: 3.3
Afficher le fichier Open project: opensrs/osrs-toolkit-php Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $opt = [] )
send_cmd ( string $meth, hash $req ) : hash A wrapper method to send a command to the server.

Private Methods

Méthode Description
call ( string $method, hash $request ) : hash Method to send a command to the server using CURL.

Method Details

__construct() public méthode

public __construct ( $opt = [] )

send_cmd() public static méthode

A wrapper method to send a command to the server.
Since: 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
Résultat hash $res Containing header key/value pairs