| 1 | <?php |
||
| 8 | class FormElementCheckboxMultiple 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 | public function __construct($name, $attributes = []) |
||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | /** |
||
| 30 | * Get the value of the form element. |
||
| 31 | * |
||
| 32 | * @return array the checked values of the form element. |
||
| 33 | */ |
||
| 34 | public function value() |
||
| 38 | |||
| 39 | |||
| 40 | |||
| 41 | /** |
||
| 42 | * Get HTML code for a element. |
||
| 43 | * |
||
| 44 | * @return string HTML code for the element. |
||
| 45 | */ |
||
| 46 | public function getHTML() |
||
| 80 | } |
||
| 81 |