Class representing generic alias field.
More...
Class representing generic alias field.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::__construct |
( |
array |
$params | ) |
|
Can be used without label and placeholder - has some predefined values.
- Doesn't accept
filter-callback
parameter.
- Doesn't accept
type
parameter.
- See also
- \HTMLForm There is detailed description of the allowed $params (named $info there).
◆ arrayToString()
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::arrayToString |
( |
|
$value | ) |
|
|
private |
◆ filter()
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::filter |
( |
|
$value, |
|
|
|
$alldata |
|
) |
| |
- Parameters
-
string | $value | |
array | $alldata | |
- Returns
- array
◆ getDiv()
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::getDiv |
( |
|
$value | ) |
|
◆ getInline()
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::getInline |
( |
|
$value | ) |
|
◆ getOOUI()
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::getOOUI |
( |
|
$value | ) |
|
- Parameters
-
- Returns
- \OOUI\ActionFieldLayout|\OOUI\FieldLayout
◆ getRaw()
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::getRaw |
( |
|
$value | ) |
|
◆ getTableRow()
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::getTableRow |
( |
|
$value | ) |
|
◆ getVForm()
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::getVForm |
( |
|
$value | ) |
|
◆ validate()
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::validate |
( |
|
$value, |
|
|
|
$alldata |
|
) |
| |
- Parameters
-
array | $value | |
array | $alldata | |
- Returns
- bool|\Message|string
◆ $defaultParameters
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::$defaultParameters |
|
private |
Initial value:= [
'placeholder-message' => 'wikibase-aliases-edit-placeholder',
'label-message' => 'wikibase-aliases-edit-label',
]
◆ $stringNormalizer
Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::$stringNormalizer |
|
private |
◆ DELIMITER
const Wikibase\Repo\Specials\HTMLForm\HTMLAliasesField::DELIMITER = '|' |
The documentation for this class was generated from the following file: