pm_ApiRpc
in package
Wrapper to simplify execution of API-RPC calls inside modules
Tags
Table of Contents
- call() : SimpleXMLElement
- Perform API-RPC call
- getService() : pm_ApiRpc
- Get wrapper for API-RPC calls for desired protocol (latest by default)
Methods
call()
Perform API-RPC call
public
call(string|SimpleXMLElement|DOMDocument $request[, string|null $login = null ]) : SimpleXMLElement
Parameters
- $request : string|SimpleXMLElement|DOMDocument
- $login : string|null = null
-
Panel username on behalf of which the operation will be performed
Tags
Return values
SimpleXMLElement —getService()
Get wrapper for API-RPC calls for desired protocol (latest by default)
public
static getService([string|null $protocolVersion = null ]) : pm_ApiRpc
Parameters
- $protocolVersion : string|null = null