Helps EditPage build textboxes.
More...
Helps EditPage build textboxes.
- Since
- 1.31
- Author
- Kunal Mehta legok.nosp@m.tm@d.nosp@m.ebian.nosp@m..org
Definition at line 25 of file TextboxBuilder.php.
◆ __construct()
- Parameters
-
| PermissionManager | null | $permissionManager | Passing null is deprecated since 1.46 |
| RestrictionStore | null | $restrictionStore | Passing null is deprecated since 1.46 |
| UserOptionsLookup | null | $userOptionsLookup | Passing null is deprecated since 1.46 |
Definition at line 36 of file TextboxBuilder.php.
References MediaWiki\MediaWikiServices\getInstance().
◆ addNewLineAtEnd()
| MediaWiki\EditPage\TextboxBuilder::addNewLineAtEnd |
( |
| $wikitext | ) |
|
◆ buildTextboxAttribs()
| MediaWiki\EditPage\TextboxBuilder::buildTextboxAttribs |
( |
| $name, |
|
|
array | $customAttribs, |
|
|
UserIdentity | $user, |
|
|
PageIdentity | $page ) |
- Parameters
-
| string | $name | |
| mixed[] | $customAttribs | |
| UserIdentity | $user | |
| PageIdentity | $page | |
- Returns
- mixed[]
Definition at line 110 of file TextboxBuilder.php.
◆ getTextboxProtectionCSSClasses()
| MediaWiki\EditPage\TextboxBuilder::getTextboxProtectionCSSClasses |
( |
PageIdentity | $page | ) |
|
◆ mergeClassesIntoAttributes()
| MediaWiki\EditPage\TextboxBuilder::mergeClassesIntoAttributes |
( |
array | $classes, |
|
|
array | $attribs ) |
- Parameters
-
| string[] | $classes | |
| mixed[] | $attribs | |
- Returns
- mixed[]
- Deprecated
- since 1.44, use Html::addClass() instead
Definition at line 67 of file TextboxBuilder.php.
The documentation for this class was generated from the following file: