1 | <?php |
||
11 | class NumberValidator extends AbstractFormatValidator |
||
12 | { |
||
13 | /** |
||
14 | * Validate that the input is a valid number (float). |
||
15 | * |
||
16 | * @access protected |
||
17 | * |
||
18 | * @return boolean Whether the input is valid. |
||
19 | */ |
||
20 | 1 | protected function formatDefault() |
|
24 | |||
25 | |||
26 | /** |
||
27 | * Validate that the input is a valid currency. |
||
28 | * |
||
29 | * @access protected |
||
30 | * |
||
31 | * @return boolean Whether the input is valid. |
||
32 | */ |
||
33 | 1 | protected function formatCurrency() |
|
47 | } |
||
48 |