Zend\Form\View\Helper\FormSelect::renderOptions
Render an array of options
Individual options should be of the form: <code> array( 'value' => 'value', 'label' => 'label', 'disabled' => $booleanFlag, 'selected' => $booleanFlag, ) </code>
Signature
public function renderOptions(array
$options,
array
$selectedOptions )
Parameters
$options
— array$selectedOptions
— array- Option values that should be marked as selected
Returns
- string