| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class FormElementFileMultiple extends FormElement |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Constructor |
||
| 12 | * |
||
| 13 | * @param string $name of the element. |
||
| 14 | * @param array $attributes to set to the element. Default is an empty array. |
||
| 15 | */ |
||
| 16 | public function __construct($name, $attributes = []) |
||
| 17 | { |
||
| 18 | parent::__construct($name, $attributes); |
||
| 19 | $this['type'] = 'file-multiple'; |
||
| 20 | $this->UseNameAsDefaultLabel(); |
||
| 21 | } |
||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | /** |
||
| 26 | * Get HTML code for a element. |
||
| 27 | * |
||
| 28 | * @return string HTML code for the element. |
||
| 29 | * |
||
| 30 | * @SuppressWarnings(PHPMD.UnusedLocalVariable) |
||
| 31 | */ |
||
| 32 | public function getHTML() |
||
| 44 | EOD; |
||
| 45 | } |
||
| 47 |