MediaWiki  1.34.0
HTMLFormFieldRequiredOptionsException.php
Go to the documentation of this file.
1 <?php
2 
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