Habari\FormControlLabel::get PHP Method

get() public method

Produce HTML output for all this fieldset and all contained controls
public get ( Theme $theme ) : string
$theme Theme
return string HTML that will render this control in the form
    function get(Theme $theme)
    {
        $this->vars['label'] = $this->label;
        $this->properties['for'] = reset($this->controls)->get_visualizer();
        return parent::get($theme);
    }