PHP Class Habari\RPCClient

Show file Open project: habari/system

Public Methods

Method Description
__construct ( $url, $method, $params )
execute ( ) Execute the request. Populates result field.
get_result ( ) Return the (decoded) result of the request, or false if the result was invalid.

Method Details

__construct() public method

public __construct ( $url, $method, $params )

execute() public method

Execute the request. Populates result field.
public execute ( )

get_result() public method

Return the (decoded) result of the request, or false if the result was invalid.
public get_result ( )