Make paraminfo output examples along with parameter information.
This commit is contained in:
parent
069765d4b6
commit
6b8cbcdd11
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ class ApiParamInfo extends ApiBase {
|
|||
$result = $this->getResult();
|
||||
$retval['classname'] = get_class( $obj );
|
||||
$retval['description'] = implode( "\n", (array)$obj->getDescription() );
|
||||
$retval['examples'] = implode( "\n", (array)$obj->getExamples() );
|
||||
$retval['version'] = implode( "\n", (array)$obj->getVersion() );
|
||||
$retval['prefix'] = $obj->getModulePrefix();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue