MediaWiki
REL1_19
|
Public Member Functions | |
__construct ($query, $moduleName, $paramPrefix= '') | |
Constructor. | |
encodeParamName ($paramName) | |
Overrides base class to prepend 'g' to every generator parameter. | |
executeGenerator ($resultPageSet) | |
Execute this module as a generator. | |
setGeneratorMode () | |
Switch this module to generator mode. | |
Private Attributes | |
$mIsGenerator |
Definition at line 570 of file ApiQueryBase.php.
ApiQueryGeneratorBase::__construct | ( | $ | mainModule, |
$ | moduleName, | ||
$ | modulePrefix = '' |
||
) |
Constructor.
$mainModule | ApiMain object |
$moduleName | string Name of this module |
$modulePrefix | string Prefix to use for parameter names |
Reimplemented from ApiBase.
Definition at line 574 of file ApiQueryBase.php.
ApiQueryGeneratorBase::encodeParamName | ( | $ | paramName | ) |
Overrides base class to prepend 'g' to every generator parameter.
$paramName | string Parameter name |
Reimplemented from ApiBase.
Definition at line 592 of file ApiQueryBase.php.
ApiQueryGeneratorBase::executeGenerator | ( | $ | resultPageSet | ) | [abstract] |
Execute this module as a generator.
$resultPageSet | ApiPageSet: All output should be appended to this object |
Reimplemented in ApiQueryRecentChanges, ApiQueryBacklinks, ApiQueryLinks, ApiQueryAllimages, ApiQueryQueryPage, ApiQueryAllpages, ApiQueryAllCategories, ApiQueryAllLinks, ApiQueryCategories, ApiQueryCategoryMembers, ApiQueryDuplicateFiles, ApiQueryExtLinksUsage, ApiQueryRandom, ApiQueryWatchlist, ApiQueryWatchlistRaw, ApiQueryImages, ApiQueryIWBacklinks, ApiQueryLangBacklinks, ApiQueryProtectedTitles, and ApiQuerySearch.
Switch this module to generator mode.
By default, generator mode is switched off and the module acts like a normal query module.
Definition at line 583 of file ApiQueryBase.php.
ApiQueryGeneratorBase::$mIsGenerator [private] |
Definition at line 572 of file ApiQueryBase.php.