MediaWiki master
|
Output class modelled on OutputPage. More...
Public Member Functions | |
__construct (WebInstaller $parent) | |
addHTML ( $html) | |
addHTMLNoFlush ( $html) | |
addWikiTextAsInterface ( $text) | |
flush () | |
getCodex () | |
getCSS () | |
Get the stylesheet of the MediaWiki skin. | |
getHeadAttribs () | |
getJQuery () | |
headerDone () | |
Get whether the header has been output. | |
output () | |
outputFooter () | |
outputHeader () | |
outputTitle () | |
redirect ( $url) | |
Public Attributes | |
WebInstaller | $parent |
The WebInstaller object this WebInstallerOutput is used by. | |
string | $redirectTarget |
Output class modelled on OutputPage.
I've opted to use a distinct class rather than derive from OutputPage here in the interests of separation of concerns: if we used a subclass, there would be quite a lot of things you could do in OutputPage that would break the installer, that wouldn't be immediately obvious.
Definition at line 45 of file WebInstallerOutput.php.
MediaWiki\Installer\WebInstallerOutput::__construct | ( | WebInstaller | $parent | ) |
WebInstaller | $parent |
Definition at line 74 of file WebInstallerOutput.php.
References MediaWiki\Installer\WebInstallerOutput\$parent.
MediaWiki\Installer\WebInstallerOutput::addHTML | ( | $html | ) |
string | $html |
Definition at line 81 of file WebInstallerOutput.php.
References MediaWiki\Installer\WebInstallerOutput\flush().
Referenced by MediaWiki\Installer\WebInstallerOutput\addWikiTextAsInterface().
MediaWiki\Installer\WebInstallerOutput::addHTMLNoFlush | ( | $html | ) |
string | $html |
Definition at line 97 of file WebInstallerOutput.php.
MediaWiki\Installer\WebInstallerOutput::addWikiTextAsInterface | ( | $text | ) |
string | $text |
Definition at line 90 of file WebInstallerOutput.php.
References MediaWiki\Installer\WebInstallerOutput\addHTML().
MediaWiki\Installer\WebInstallerOutput::flush | ( | ) |
Definition at line 163 of file WebInstallerOutput.php.
References MediaWiki\Installer\WebInstallerOutput\flush(), MediaWiki\Installer\WebInstallerOutput\headerDone(), and MediaWiki\Installer\WebInstallerOutput\outputHeader().
Referenced by MediaWiki\Installer\WebInstallerOutput\addHTML(), MediaWiki\Installer\WebInstallerOutput\flush(), and MediaWiki\Installer\WebInstallerOutput\output().
MediaWiki\Installer\WebInstallerOutput::getCodex | ( | ) |
Definition at line 291 of file WebInstallerOutput.php.
Referenced by MediaWiki\Installer\WebInstallerOutput\outputHeader().
MediaWiki\Installer\WebInstallerOutput::getCSS | ( | ) |
Get the stylesheet of the MediaWiki skin.
Definition at line 124 of file WebInstallerOutput.php.
References MediaWiki\MediaWikiServices\getInstance().
MediaWiki\Installer\WebInstallerOutput::getHeadAttribs | ( | ) |
Definition at line 188 of file WebInstallerOutput.php.
Referenced by MediaWiki\Installer\WebInstallerOutput\outputHeader().
MediaWiki\Installer\WebInstallerOutput::getJQuery | ( | ) |
Definition at line 284 of file WebInstallerOutput.php.
Referenced by MediaWiki\Installer\WebInstallerOutput\outputHeader().
MediaWiki\Installer\WebInstallerOutput::headerDone | ( | ) |
Get whether the header has been output.
Definition at line 200 of file WebInstallerOutput.php.
Referenced by MediaWiki\Installer\WebInstallerOutput\flush(), MediaWiki\Installer\WebInstallerOutput\outputHeader(), and MediaWiki\Installer\WebInstallerOutput\redirect().
MediaWiki\Installer\WebInstallerOutput::output | ( | ) |
Definition at line 111 of file WebInstallerOutput.php.
References MediaWiki\Installer\WebInstallerOutput\flush(), and MediaWiki\Installer\WebInstallerOutput\outputFooter().
MediaWiki\Installer\WebInstallerOutput::outputFooter | ( | ) |
Definition at line 237 of file WebInstallerOutput.php.
References wfMessage().
Referenced by MediaWiki\Installer\WebInstallerOutput\output().
MediaWiki\Installer\WebInstallerOutput::outputHeader | ( | ) |
Definition at line 204 of file WebInstallerOutput.php.
References MediaWiki\Installer\WebInstallerOutput\getCodex(), MediaWiki\Installer\WebInstallerOutput\getHeadAttribs(), MediaWiki\Installer\WebInstallerOutput\getJQuery(), MediaWiki\Installer\WebInstallerOutput\headerDone(), and MediaWiki\Installer\WebInstallerOutput\outputTitle().
Referenced by MediaWiki\Installer\WebInstallerOutput\flush().
MediaWiki\Installer\WebInstallerOutput::outputTitle | ( | ) |
Definition at line 277 of file WebInstallerOutput.php.
References MW_VERSION, and wfMessage().
Referenced by MediaWiki\Installer\WebInstallerOutput\outputHeader().
MediaWiki\Installer\WebInstallerOutput::redirect | ( | $url | ) |
string | $url |
Definition at line 104 of file WebInstallerOutput.php.
References $url, and MediaWiki\Installer\WebInstallerOutput\headerDone().
WebInstaller MediaWiki\Installer\WebInstallerOutput::$parent |
The WebInstaller object this WebInstallerOutput is used by.
Definition at line 52 of file WebInstallerOutput.php.
Referenced by MediaWiki\Installer\WebInstallerOutput\__construct().
string MediaWiki\Installer\WebInstallerOutput::$redirectTarget |
Definition at line 69 of file WebInstallerOutput.php.