Habari\FormControlTabs::get PHP Метод

get() публичный Метод

Produce HTML output for all this fieldset and all contained controls
public get ( Theme $theme ) : string
$theme Theme
Результат string HTML that will render this control in the form
    function get(Theme $theme)
    {
        $this->settings['ignore_name'] = true;
        $controls = array();
        foreach ($this->controls as $control) {
            if ($class = $this->get_setting('class_each', '')) {
                $control->add_class($class);
            }
            if ($control instanceof FormContainer) {
                $control->set_template($this->get_setting('tab_template', 'control.fieldset.fortabs'));
                $controls[$control->caption] = $control->get($theme);
            }
        }
        $this->vars['controls'] = $controls;
        return parent::get($theme);
    }
FormControlTabs