public function addFieldset($name, $legend, $fieldsetId = '', $fieldsetClass = '', $fieldsetAttributes = '',
                                $legendId = '', $legendClass = '', $legendAttributes = '')
    {
        $this->fieldsetData[$this->nrFieldset]['name'] = $name;
        $this->fieldsetData[$this->nrFieldset]['legend'] = $legend;
        $this->fieldsetData[$this->nrFieldset]['fieldsetId'] = $fieldsetId;
        $this->fieldsetData[$this->nrFieldset]['fieldsetClass'] = $fieldsetClass;
        $this->fieldsetData[$this->nrFieldset]['fieldsetAttributes'] = $fieldsetAttributes;
        $this->fieldsetData[$this->nrFieldset]['legendId'] = $legendId;
        $this->fieldsetData[$this->nrFieldset]['legendClass'] = $legendClass;
        $this->fieldsetData[$this->nrFieldset]['legendAttributes'] = $legendAttributes;
        $this->nrFieldset++;
    }
public function addFieldset($name, $legend, $fieldsetId = '', $fieldsetClass = '', $fieldsetAttributes = '',
                                $legendId = '', $legendClass = '', $legendAttributes = '')
    {
        $this->fieldsetData[$this->nrFieldset]['name'] = $name;
        $this->fieldsetData[$this->nrFieldset]['legend'] = $legend;
        $this->fieldsetData[$this->nrFieldset]['fieldsetId'] = $fieldsetId;
        $this->fieldsetData[$this->nrFieldset]['fieldsetClass'] = $fieldsetClass;
        $this->fieldsetData[$this->nrFieldset]['fieldsetAttributes'] = $fieldsetAttributes;
        $this->fieldsetData[$this->nrFieldset]['legendId'] = $legendId;
        $this->fieldsetData[$this->nrFieldset]['legendClass'] = $legendClass;
        $this->fieldsetData[$this->nrFieldset]['legendAttributes'] = $legendAttributes;
        $this->nrFieldset++;
    }
public function addFieldset ( $ name , $ legend , $ fieldsetId = '' , $ fieldsetClass = '' , $ fieldsetAttributes = '' , $ legendId = '' , $ legendClass = '' , $ legendAttributes = '' ) { $ this -> fieldsetData [ $ this -> nrFieldset ] [ 'name' ] = $ name ; $ this -> fieldsetData [ $ this -> nrFieldset ] [ 'legend' ] = $ legend ; $ this -> fieldsetData [ $ this -> nrFieldset ] [ 'fieldsetId' ] = $ fieldsetId ; $ this -> fieldsetData [ $ this -> nrFieldset ] [ 'fieldsetClass' ] = $ fieldsetClass ; $ this -> fieldsetData [ $ this -> nrFieldset ] [ 'fieldsetAttributes' ] = $ fieldsetAttributes ; $ this -> fieldsetData [ $ this -> nrFieldset ] [ 'legendId' ] = $ legendId ; $ this -> fieldsetData [ $ this -> nrFieldset ] [ 'legendClass' ] = $ legendClass ; $ this -> fieldsetData [ $ this -> nrFieldset ] [ 'legendAttributes' ] = $ legendAttributes ; $ this -> nrFieldset ++ ; }
With this function you add a fieldset to your form

@param string $name Specifies a name for the fieldset-tag
@param string $legend Specifies the text to show for the legend-tag
@param string $fieldsetId Specifies the id of the fieldset-tag
@param string $fieldsetClass Specifies the class of the fieldset-tag
@param string|array $fieldsetAttributes Specifies the other attributes for the fieldset-tag
@param string $legendId Specifies the id of the legend-tag
@param string $legendClass Specifies the class of the legend-tag
@param string|array $legendAttributes Specifies the other attributes for the legend-tag

The information is added to the $fieldsetData array
With this function you add a fieldset to your form