protected function renderOptionTag($value, $label)
    {
        $output = '<option value="' . htmlspecialchars($value) . '"';
        if ($this->isSelected($value)) {
            $output .= ' selected="selected"';
        }

        $output .= '>' . htmlspecialchars($label) . '</option>';

        return $output;
    }
protected function renderOptionTag($value, $label)
    {
        $output = '<option value="' . htmlspecialchars($value) . '"';
        if ($this->isSelected($value)) {
            $output .= ' selected="selected"';
        }

        $output .= '>' . htmlspecialchars($label) . '</option>';

        return $output;
    }
protected function renderOptionTag ( $ value , $ label ) { $ output = '<option value="' . htmlspecialchars ( $ value ) . '"' ; if ( $ this -> isSelected ( $ value ) ) { $ output .= ' selected="selected"' ; } $ output .= '>' . htmlspecialchars ( $ label ) . '</option>' ; return $ output ; }
Render one option tag

@param string $value value attribute of the option tag (will be escaped)
@param string $label content of the option tag (will be escaped)
@return string the rendered option tag
Render one option tag