MediaWiki
1.34.0
HTMLFormFieldRequiredOptionsException.php
Go to the documentation of this file.
1
<?php
2
3
class
HTMLFormFieldRequiredOptionsException
extends
MWException
{
4
public
function
__construct
(
HTMLFormField
$field, array $missing ) {
5
parent::__construct( sprintf(
"Form type `%s` expected the following parameters to be set: %s"
,
6
get_class( $field ),
7
implode(
', '
, $missing ) ) );
8
}
9
}
MWException
MediaWiki exception.
Definition:
MWException.php:26
HTMLFormField
The parent class to generate form fields.
Definition:
HTMLFormField.php:7
HTMLFormFieldRequiredOptionsException
Definition:
HTMLFormFieldRequiredOptionsException.php:3
HTMLFormFieldRequiredOptionsException\__construct
__construct(HTMLFormField $field, array $missing)
Definition:
HTMLFormFieldRequiredOptionsException.php:4
includes
htmlform
HTMLFormFieldRequiredOptionsException.php
Generated on Thu Dec 19 2019 14:54:22 for MediaWiki by
1.8.16