Another variable type hint, and some function documentation

This commit is contained in:
Sam Reed 2010-12-23 20:00:02 +00:00
parent f63b5040e3
commit b3496e5fc9
2 changed files with 9 additions and 0 deletions

View file

@ -84,6 +84,10 @@ class ApiParamInfo extends ApiBase {
$result->addValue( null, $this->getModuleName(), $r );
}
/**
* @param $obj ApiBase
* @return ApiResult
*/
function getClassInfo( $obj ) {
$result = $this->getResult();
$retval['classname'] = get_class( $obj );

View file

@ -43,7 +43,12 @@ if ( !defined( 'MEDIAWIKI' ) ) {
class ApiQuery extends ApiBase {
private $mPropModuleNames, $mListModuleNames, $mMetaModuleNames;
/**
* @var ApiPageSet
*/
private $mPageSet;
private $params, $redirects, $convertTitles;
private $mQueryPropModules = array(