Jeedom Core

jsonrpc
in package

Table of Contents

Properties

$additionnalParams  : mixed
$applicationName  : mixed
$id  : mixed
$jsonrpc  : mixed
$method  : mixed
$params  : mixed
$startTime  : mixed

Methods

__construct()  : mixed
getAdditionnalParams()  : mixed
getApplicationName()  : mixed
getId()  : mixed
getJsonrpc()  : mixed
getMethod()  : mixed
getParams()  : mixed
getStartTime()  : mixed
makeError()  : never
Sends an error response and ends execution
makeSuccess()  : never
Sends a success response and ends execution
setAdditionnalParams()  : mixed
setApplicationName()  : mixed

Properties

$additionnalParams

private mixed $additionnalParams = array()

Methods

__construct()

public __construct(string $_jsonrpc) : mixed
Parameters
$_jsonrpc : string

getAdditionnalParams()

public getAdditionnalParams([mixed $_key = '' ][, mixed $_default = '' ]) : mixed
Parameters
$_key : mixed = ''
$_default : mixed = ''

makeError()

Sends an error response and ends execution

public makeError(int $_code, string $_message) : never
Parameters
$_code : int

Error code

$_message : string

Error message

Return values
never

makeSuccess()

Sends a success response and ends execution

public makeSuccess([mixed $_result = null ]) : never
Parameters
$_result : mixed = null

Data to send in response

Return values
never

setAdditionnalParams()

public setAdditionnalParams(mixed $_key, mixed $_value) : mixed
Parameters
$_key : mixed
$_value : mixed

setApplicationName()

public setApplicationName(mixed $applicationName) : mixed
Parameters
$applicationName : mixed

        
On this page

Search results