FluidTYPO3\Vhs\ViewHelpers\Form\SelectViewHelper::renderOptionTags PHP Method

renderOptionTags() protected method

Render the option tags.
protected renderOptionTags ( array $options ) : string
$options array the options for the form.
return string rendered tags.
    protected function renderOptionTags($options)
    {
        $output = '';
        foreach ($options as $value => $label) {
            $isSelected = $this->isSelected($value);
            $output .= $this->renderOptionTag($value, $label, $isSelected) . chr(10);
        }
        return $output;
    }