MediaWiki
1.33.0
|
Extension of RawMessage implementing IApiMessage. More...
Public Member Functions | |
__construct ( $msg, $code=null, array $data=null) | |
![]() | |
__construct ( $text, $params=[]) | |
Call the parent constructor, then store the key as the message. More... | |
fetchMessage () | |
Fetch the message (in this case, the key). More... | |
![]() | |
getApiCode () | |
Returns a machine-readable code for use by the API. More... | |
getApiData () | |
Returns additional machine-readable data about the error condition. More... | |
setApiCode ( $code, array $data=null) | |
Sets the machine-readable code for use by the API. More... | |
setApiData (array $data) | |
Sets additional machine-readable data about the error condition. More... | |
![]() | |
getKey () | |
Returns the message key. More... | |
getParams () | |
Returns the message parameters. More... | |
Extension of RawMessage implementing IApiMessage.
Definition at line 26 of file ApiRawMessage.php.
RawMessage | string | array | $msg |
|
string | null | $code | |
array | null | $data |
Definition at line 37 of file ApiRawMessage.php.
References $code, $data, $value, as, and IApiMessage\setApiCode().