MediaWiki
REL1_35
HTMLFormFieldRequiredOptionsException.php
Go to the documentation of this file.
1
<?php
2
7
class
HTMLFormFieldRequiredOptionsException
extends
MWException
{
8
15
public
function
__construct
(
HTMLFormField
$field, array $missing ) {
16
parent::__construct( sprintf(
"Form type `%s` expected the following parameters to be set: %s"
,
17
get_class( $field ),
18
implode(
', '
, $missing ) ) );
19
}
20
}
HTMLFormFieldRequiredOptionsException
@newable Stable to extend
Definition
HTMLFormFieldRequiredOptionsException.php:7
HTMLFormFieldRequiredOptionsException\__construct
__construct(HTMLFormField $field, array $missing)
Stable to call.
Definition
HTMLFormFieldRequiredOptionsException.php:15
HTMLFormField
The parent class to generate form fields.
Definition
HTMLFormField.php:9
MWException
MediaWiki exception.
Definition
MWException.php:29
includes
htmlform
HTMLFormFieldRequiredOptionsException.php
Generated on Sat Apr 6 2024 00:07:16 for MediaWiki by
1.9.8