Model for a select group element of the select widget.
- Author
- Stefan Osterloh s.ost.nosp@m.erlo.nosp@m.h@uni.nosp@m.-old.nosp@m.enbur.nosp@m.g.de GPL2 or any later version
- Since
- Stud.IP 3.5
__construct |
( |
|
$label, |
|
|
|
$elements = [] |
|
) |
| |
Constructs the element with an id (value of the according option element) and a label (text content of the according option element).
- Parameters
-
String | $label | Label content of the element |
Array | $elements | SelectElement-Objects for Optgroup |
- Returns
- Array with SelectElements
Sets the SelectElement-Objects for this Element
- Parameters
-
The documentation for this class was generated from the following file: