Contao\FormFieldset::generate PHP Метод

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

Generate the widget and return it as string
public generate ( ) : string
Результат string The widget markup
    public function generate()
    {
        if ($this->fsType == 'fsStart') {
            return "  <fieldset" . ($this->strClass ? ' class="' . $this->strClass . '"' : '') . ">\n" . ($this->label != '' ? "  <legend>" . $this->label . "</legend>\n" : '');
        } else {
            return "  </fieldset>\n";
        }
    }