Total Complexity | 6 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class InputMaskCurrencyField extends InputMaskNumericField |
||
16 | { |
||
17 | use CurrencyFormatter; |
||
18 | |||
19 | public function __construct($name, $title = null, $value = null) |
||
20 | { |
||
21 | parent::__construct($name, $title, $value); |
||
22 | $this->setAlias(self::ALIAS_CURRENCY); |
||
23 | $this->setPrefix($this->getCurrencySymbol() . ' '); |
||
24 | } |
||
25 | |||
26 | public function setValue($value, $data = null) |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * Create a new class for this field |
||
37 | */ |
||
38 | public function performReadonlyTransformation() |
||
43 | } |
||
44 | } |
||
45 |