MediaWiki
master
|
API ApiFormatJson. More...
Static Public Member Functions | |
static | provideGeneralEncoding () |
![]() | |
static | provideGeneralEncoding () |
Return general data to be encoded for testing. More... | |
Protected Attributes | |
$printerName = 'json' | |
![]() | |
string | $printerName |
Name of the formatter being tested. More... | |
Static Private Member Functions | |
static | addFormatVersion ( $format, $arr) |
Additional Inherited Members | |
![]() | |
testGeneralEncoding (array $data, $expect, array $params=[], array $options=[]) | |
provideGeneralEncoding More... | |
![]() | |
encodeData (array $params, array $data, $options=[]) | |
Get the formatter output for the given input data. More... | |
API ApiFormatJson.
Definition at line 7 of file ApiFormatJsonTest.php.
|
staticprivate |
Definition at line 11 of file ApiFormatJsonTest.php.
|
static |
Definition at line 28 of file ApiFormatJsonTest.php.
References ApiResult\META_BC_BOOLS, ApiResult\META_BC_SUBELEMENTS, ApiResult\META_CONTENT, ApiResult\META_KVP_KEY_NAME, ApiResult\META_TYPE, ApiResult\NO_VALIDATE, and null.
|
protected |
Definition at line 9 of file ApiFormatJsonTest.php.