MediaWiki  REL1_31
WebInstallerOptions Class Reference
Inheritance diagram for WebInstallerOptions:
Collaboration diagram for WebInstallerOptions:

Public Member Functions

 execute ()
 
 getCCChooser ()
 
 getCCDoneBox ()
 
 getCCPartnerUrl ()
 
 submit ()
 
 submitCC ()
 
 submitSkins ()
 If the user skips this installer page, we still need to set up the default skins, but ignore everything else. More...
 
- Public Member Functions inherited from WebInstallerPage
 __construct (WebInstaller $parent)
 
 addHTML ( $html)
 
 endForm ( $continue='continue', $back='back')
 
 getName ()
 
 getVar ( $var, $default=null)
 
 isSlow ()
 Is this a slow-running page in the installer? If so, WebInstaller will set_time_limit(0) before calling execute(). More...
 
 setVar ( $name, $value)
 
 startForm ()
 

Private Member Functions

 makeScreenshotsLink ( $name, $screenshots)
 

Additional Inherited Members

- Public Attributes inherited from WebInstallerPage
WebInstaller $parent
 The WebInstaller object this WebInstallerPage belongs to. More...
 
- Protected Member Functions inherited from WebInstallerPage
 endLiveBox ()
 Opposite to WebInstallerPage::startLiveBox. More...
 
 getFieldsetEnd ()
 Get the end tag of a fieldset. More...
 
 getFieldsetStart ( $legend)
 Get the starting tags of a fieldset. More...
 
 getId ()
 
 startLiveBox ()
 Opens a textarea used to display the progress of a long operation. More...
 

Detailed Description

Definition at line 22 of file WebInstallerOptions.php.

Member Function Documentation

◆ execute()

◆ getCCChooser()

WebInstallerOptions::getCCChooser ( )
Returns
string

Definition at line 383 of file WebInstallerOptions.php.

References Html\element(), getCCPartnerUrl(), and WebInstallerPage\getVar().

◆ getCCDoneBox()

WebInstallerOptions::getCCDoneBox ( )
Returns
string

Definition at line 407 of file WebInstallerOptions.php.

References div, Html\element(), getCCPartnerUrl(), WebInstallerPage\getVar(), text, and wfMessage().

Referenced by submitCC().

◆ getCCPartnerUrl()

WebInstallerOptions::getCCPartnerUrl ( )
Returns
string

Definition at line 357 of file WebInstallerOptions.php.

References WebInstallerPage\getVar(), and wfArrayToCgi().

Referenced by getCCChooser(), and getCCDoneBox().

◆ makeScreenshotsLink()

WebInstallerOptions::makeScreenshotsLink (   $name,
  $screenshots 
)
private

Definition at line 329 of file WebInstallerOptions.php.

References $link, $name, $wgLang, as, Html\element(), global, text, and wfMessage().

Referenced by execute().

◆ submit()

WebInstallerOptions::submit ( )
Returns
bool

Definition at line 467 of file WebInstallerOptions.php.

References $code, $ext, $skin, as, WebInstallerPage\getVar(), IP\isValid(), key, WebInstallerPage\setVar(), text, and wfMessage().

Referenced by execute().

◆ submitCC()

WebInstallerOptions::submitCC ( )

◆ submitSkins()

WebInstallerOptions::submitSkins ( )

If the user skips this installer page, we still need to set up the default skins, but ignore everything else.

Returns
bool

Definition at line 452 of file WebInstallerOptions.php.

Referenced by execute().


The documentation for this class was generated from the following file: