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";
}
}