[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/installer/ -> WebInstallerOutput.php (summary)

Output handler for the web installer. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 338 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WebInstallerOutput:: (20 methods):
  __construct()
  addHTML()
  addWikiText()
  addHTMLNoFlush()
  redirect()
  output()
  getCSS()
  getCssUrl()
  useShortHeader()
  allowFrames()
  flush()
  getDir()
  getLanguageCode()
  getHeadAttribs()
  headerDone()
  outputHeader()
  outputFooter()
  outputShortHeader()
  outputTitle()
  getJQuery()


Class: WebInstallerOutput  - X-Ref

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.

__construct( WebInstaller $parent )   X-Ref

param: WebInstaller $parent

addHTML( $html )   X-Ref

param: string $html

addWikiText( $text )   X-Ref

param: string $text

addHTMLNoFlush( $html )   X-Ref

param: string $html

redirect( $url )   X-Ref

param: string $url

output()   X-Ref
No description

getCSS()   X-Ref
Get the stylesheet of the MediaWiki skin.

return: string

getCssUrl()   X-Ref
"<link>" to index.php?css=1 for the "<head>"

return: string

useShortHeader( $use = true )   X-Ref
No description

allowFrames( $allow = true )   X-Ref
No description

flush()   X-Ref
No description

getDir()   X-Ref

return: string

getLanguageCode()   X-Ref

return: string

getHeadAttribs()   X-Ref

return: string[]

headerDone()   X-Ref
Get whether the header has been output

return: bool

outputHeader()   X-Ref
No description

outputFooter()   X-Ref
No description

outputShortHeader()   X-Ref
No description

outputTitle()   X-Ref
No description

getJQuery()   X-Ref

return: string



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1