Zend\Form\View\Helper\FormSelect::renderOptgroup
Render an optgroup
See for the options specification. Basically, an optgroup is simply an option that has an additional "options" key with an array following the specification for renderOptions().
Signature
public function renderOptgroup(array
$optgroup,
array
$selectedOptions )
Parameters
$optgroup
— array$selectedOptions
— array
Returns
- string