1 | <?php |
||
8 | class IbanField extends TextField |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * Creates a new text field and adds IBAN sanitizer and validator |
||
13 | * |
||
14 | * @param string $slug |
||
15 | * @param string $label |
||
16 | * @param string $value |
||
17 | * @param int|string $errorMsg The error message to show if the field value is not valid |
||
18 | * @param bool $convertBban Whether to permit input of bban number (will be converted using openiban API) |
||
19 | * @param string $openIbanUsername openiban API username |
||
20 | * @param string $openIbanPassword openiban API password |
||
21 | */ |
||
22 | public function __construct ($slug, $label, $value = '', $errorMsg = validators\IbanFieldValidator::ERROR, $convertBban = false, $openIbanUsername = null, $openIbanPassword = null) |
||
29 | } |