MediaWiki
REL1_31
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
}
HTMLFormFieldRequiredOptionsException
Definition
HTMLFormFieldRequiredOptionsException.php:3
HTMLFormFieldRequiredOptionsException\__construct
__construct(HTMLFormField $field, array $missing)
Definition
HTMLFormFieldRequiredOptionsException.php:4
HTMLFormField
The parent class to generate form fields.
Definition
HTMLFormField.php:7
MWException
MediaWiki exception.
Definition
MWException.php:26
includes
htmlform
HTMLFormFieldRequiredOptionsException.php
Generated on Mon Nov 25 2024 15:34:50 for MediaWiki by
1.10.0