Habari\FormUI::output_controls PHP Method

output_controls() public method

Return the form control HTML.
public output_controls ( Theme $theme ) : string
$theme Theme The theme used to render the controls
return string The output of controls' HTML.
    public function output_controls(Theme $theme)
    {
        /** @var FormControl $control */
        $out = '';
        foreach ($this->controls as $control) {
            $out .= $control->get($theme);
        }
        return $out;
    }