Conditions | 6 |
Paths | 32 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function html(): string |
||
28 | { |
||
29 | return '<input class="' . $this->class . ' date-input""' . ($this->required ? ' required="required"' : '') . |
||
30 | ' type="text" name="' . $this->getNamePrefix() . $this->name . |
||
31 | ($this->batch ? '[{_creation_form_items_counter}]' : '') . '"' . ($this->disabled ? ' disabled ' : '') . |
||
32 | ($this->toggler === '' ? '' : 'toggler="' . $this->toggler . '" ') . |
||
33 | ($this->toggler === '' ? '' : 'toggle-value="') . $this->toggleValue . '"' . '>'; |
||
34 | } |
||
36 |