MediaWiki
1.29.1
|
Public Member Functions | |
__construct ( $parser) | |
extractOptions ( $text) | |
Extract options from a blob of text. More... | |
getCommentForm () | |
Generate new section form. More... | |
getCreateForm () | |
Generate create page form. More... | |
getMoveForm () | |
Generate move page form. More... | |
getSearchForm ( $type) | |
Generate search form. More... | |
getSearchForm2 () | |
Generate search form version 2. More... | |
isValidColor ( $color) | |
Do a security check on the bgcolor parameter. More... | |
render () | |
Private Member Functions | |
bgColorStyle () | |
getEditActionArgs () | |
getLinebreakClasses () | |
Get common classes, that could be added and depend on, if a line break between a button and an input field is added or not. More... | |
Private Attributes | |
$mBGColor = 'transparent' | |
$mBR = 'yes' | |
$mButtonLabel = '' | |
$mDefaultText = '' | |
$mDir = '' | |
$mEditIntro = '' | |
$mFullTextButton = '' | |
$mHidden = '' | |
$mID = '' | |
$mInline = false | |
$mLabelText = '' | |
$mMinor = '' | |
$mNamespaces = '' | |
$mNosummary = '' | |
$mPage = '' | |
$mParser | |
$mPlaceholderText = '' | |
$mPrefix = '' | |
$mPreload = '' | |
$mPreloadparams = array() | |
$mSearchButtonLabel = '' | |
$mSummary = '' | |
$mType = '' | |
$mUseVE = '' | |
$mWidth = 50 | |
Definition at line 10 of file InputBox.classes.php.
InputBox::__construct | ( | $parser | ) |
Definition at line 42 of file InputBox.classes.php.
|
private |
Definition at line 639 of file InputBox.classes.php.
Referenced by getCommentForm(), getCreateForm(), getMoveForm(), getSearchForm(), and getSearchForm2().
InputBox::extractOptions | ( | $text | ) |
Extract options from a blob of text.
string | $text | Tag contents |
Definition at line 555 of file InputBox.classes.php.
References $line, $name, $options, $value, array(), as, isValidColor(), and list.
InputBox::getCommentForm | ( | ) |
Generate new section form.
Definition at line 491 of file InputBox.classes.php.
References $mBR, $wgScript, array(), as, bgColorStyle(), Xml::closeElement(), getEditActionArgs(), getLinebreakClasses(), global, Html::hidden(), Xml::openElement(), and wfMessage().
Referenced by render().
InputBox::getCreateForm | ( | ) |
Generate create page form.
Definition at line 362 of file InputBox.classes.php.
References $mBR, $wgScript, array(), as, bgColorStyle(), Xml::closeElement(), getEditActionArgs(), getLinebreakClasses(), global, Html::hidden(), Xml::openElement(), and wfMessage().
Referenced by render().
|
private |
Definition at line 94 of file InputBox.classes.php.
References $args, array(), and ExtensionRegistry::getInstance().
Referenced by getCommentForm(), and getCreateForm().
|
private |
Get common classes, that could be added and depend on, if a line break between a button and an input field is added or not.
Definition at line 116 of file InputBox.classes.php.
Referenced by getCommentForm(), getCreateForm(), getMoveForm(), and getSearchForm().
InputBox::getMoveForm | ( | ) |
Generate move page form.
Definition at line 436 of file InputBox.classes.php.
References $mBR, $wgScript, array(), bgColorStyle(), Xml::closeElement(), getLinebreakClasses(), SpecialPage::getTitleFor(), global, Html::hidden(), Xml::openElement(), and wfMessage().
Referenced by render().
InputBox::getSearchForm | ( | $type | ) |
Generate search form.
$type |
Definition at line 125 of file InputBox.classes.php.
References $mBR, $name, $namespaces, $type, $wgContLang, $wgNamespaceAliases, array(), as, bgColorStyle(), Xml::closeElement(), captcha-old::count, Xml::element(), getLinebreakClasses(), SpecialPage::getTitleFor(), global, Html::hidden(), Xml::label(), not, Xml::openElement(), wfMessage(), and wfRandom().
Referenced by render().
InputBox::getSearchForm2 | ( | ) |
Generate search form version 2.
Definition at line 284 of file InputBox.classes.php.
References $mID, $mLabelText, array(), bgColorStyle(), Xml::closeElement(), Xml::element(), SpecialPage::getTitleFor(), Xml::openElement(), wfMessage(), and wfRandom().
Referenced by render().
InputBox::isValidColor | ( | $color | ) |
Do a security check on the bgcolor parameter.
Definition at line 624 of file InputBox.classes.php.
References a, color, and names.
Referenced by extractOptions().
InputBox::render | ( | ) |
Definition at line 56 of file InputBox.classes.php.
References array(), Xml::element(), getCommentForm(), getCreateForm(), getMoveForm(), getSearchForm(), getSearchForm2(), Xml::tags(), text, and wfMessage().
|
private |
Definition at line 28 of file InputBox.classes.php.
|
private |
Definition at line 25 of file InputBox.classes.php.
Referenced by getCommentForm(), getCreateForm(), getMoveForm(), and getSearchForm().
|
private |
Definition at line 29 of file InputBox.classes.php.
|
private |
Definition at line 26 of file InputBox.classes.php.
|
private |
Definition at line 38 of file InputBox.classes.php.
|
private |
Definition at line 19 of file InputBox.classes.php.
|
private |
Definition at line 31 of file InputBox.classes.php.
|
private |
Definition at line 33 of file InputBox.classes.php.
|
private |
Definition at line 35 of file InputBox.classes.php.
Referenced by getSearchForm2().
|
private |
Definition at line 36 of file InputBox.classes.php.
|
private |
Definition at line 32 of file InputBox.classes.php.
Referenced by getSearchForm2().
|
private |
Definition at line 23 of file InputBox.classes.php.
|
private |
Definition at line 34 of file InputBox.classes.php.
|
private |
Definition at line 22 of file InputBox.classes.php.
|
private |
Definition at line 24 of file InputBox.classes.php.
|
private |
Definition at line 14 of file InputBox.classes.php.
|
private |
Definition at line 27 of file InputBox.classes.php.
|
private |
Definition at line 37 of file InputBox.classes.php.
|
private |
Definition at line 17 of file InputBox.classes.php.
|
private |
Definition at line 18 of file InputBox.classes.php.
|
private |
Definition at line 30 of file InputBox.classes.php.
|
private |
Definition at line 21 of file InputBox.classes.php.
|
private |
Definition at line 15 of file InputBox.classes.php.
|
private |
Definition at line 20 of file InputBox.classes.php.
|
private |
Definition at line 16 of file InputBox.classes.php.