- Author
- Addshore
- Since
- 1.27
Definition at line 8 of file SpecialPageExecutor.php.
◆ executeSpecialPage()
SpecialPageExecutor::executeSpecialPage |
( |
SpecialPage | $page, |
|
|
| $subPage = '', |
|
|
WebRequest | $request = null, |
|
|
| $language = null, |
|
|
User | $user = null ) |
- Parameters
-
SpecialPage | $page | The special page to execute |
string | $subPage | The subpage parameter to call the page with |
WebRequest | null | $request | Web request that may contain URL parameters, etc |
Language | string | null | $language | The language which should be used in the context |
User | null | $user | The user which should be used in the context of this special page |
- Exceptions
-
- Returns
- array [ string, WebResponse ] A two-elements array containing the HTML output generated by the special page as well as the response object.
Definition at line 21 of file SpecialPageExecutor.php.
References $code, $context, $html, $output, $request, $response, getHTMLFromSpecialPage(), HttpStatus\getMessage(), SpecialPage\getPageTitle(), newContext(), and SpecialPage\setContext().
◆ getHTMLFromSpecialPage()
SpecialPageExecutor::getHTMLFromSpecialPage |
( |
SpecialPage | $page, |
|
|
| $subPage ) |
|
private |
◆ newContext()
SpecialPageExecutor::newContext |
( |
WebRequest | $request = null, |
|
|
| $language = null, |
|
|
User | $user = null ) |
|
private |
◆ setEditTokenFromUser()
The documentation for this class was generated from the following file: