Class representing generic form field referencing item by its ID.
More...
Class representing generic form field referencing item by its ID.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Specials\HTMLForm\HTMLItemReferenceField::__construct |
( |
array |
$params, |
|
|
EntityLookup |
$entityLookup = null |
|
) |
| |
- Can be used without placeholder - has some predefined value.
- Doesn't accept
type
parameter.
- See also
- \HTMLForm There is detailed description of the allowed $params (named $info there).
◆ validate()
Wikibase\Repo\Specials\HTMLForm\HTMLItemReferenceField::validate |
( |
|
$value, |
|
|
|
$alldata |
|
) |
| |
- See also
- \HTMLFormField::validate
- Parameters
-
string | $value | |
array | $alldata | |
- Returns
- bool|string|Message
◆ $entityLookup
Wikibase\Repo\Specials\HTMLForm\HTMLItemReferenceField::$entityLookup |
|
private |
The documentation for this class was generated from the following file: