| 1 | <?php |
||
| 8 | class FormElementSelectMultiple extends FormElementSelect |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Constructor |
||
| 12 | * |
||
| 13 | * @param string $name of the element. |
||
| 14 | * @param array $attributes to set to the element. Default is an |
||
| 15 | * empty array. |
||
| 16 | */ |
||
| 17 | 4 | public function __construct($name, $attributes = []) |
|
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | /** |
||
| 26 | * Get the value of the form element. |
||
| 27 | * |
||
| 28 | * @return array the checked values of the form element. |
||
| 29 | */ |
||
| 30 | public function value() |
||
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | /** |
||
| 38 | * Get HTML code for a element. |
||
| 39 | * |
||
| 40 | * @return string HTML code for the element. |
||
| 41 | * |
||
| 42 | * @SuppressWarnings(PHPMD.UnusedLocalVariable) |
||
| 43 | */ |
||
| 44 | 2 | public function getHTML() |
|
| 71 | } |
||
| 72 |