| 1 | <?php |
||
| 8 | class FormElementSelect extends FormElement |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Constructor |
||
| 13 | * |
||
| 14 | * @param string $name of the element. |
||
| 15 | * @param array $attributes to set to the element. Default is an empty array. |
||
| 16 | * |
||
| 17 | * @throws Exception if missing <options> |
||
| 18 | */ |
||
| 19 | 8 | public function __construct($name, $attributes = []) |
|
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | /** |
||
| 33 | * Get HTML code for a element. |
||
| 34 | * |
||
| 35 | * @return string HTML code for the element. |
||
| 36 | * |
||
| 37 | * @SuppressWarnings(PHPMD.UnusedLocalVariable) |
||
| 38 | */ |
||
| 39 | 2 | public function getHTML() |
|
| 64 | } |
||
| 65 |