Conditions | 6 |
Paths | 32 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function html(): string |
||
28 | { |
||
29 | $content = '<textarea class="resizable_textarea '.$this->class.'"'; |
||
30 | $content .= $this->required ? ' required="required"' : ''; |
||
31 | $content .= ' type="text" name="' . $this->getNamePrefix() . $this->name . |
||
32 | ($this->batch ? '[{_creation_form_items_counter}]' : '') . '"'; |
||
33 | $content .= $this->disabled ? ' disabled ' : ''; |
||
34 | $content .= $this->toggler === '' ? '' : 'toggler="' . $this->toggler . '" '; |
||
35 | $content .= $this->toggler === '' ? '' : 'toggle-value="' . $this->toggleValue . '"'; |
||
36 | $content .= '>' . $this->value; |
||
37 | |||
38 | return $content . '</textarea>'; |
||
39 | } |
||
41 |