public function addFieldset($header = null, $noteHeader = null, $noteBody = null, $meta = array())
    {
        $objFieldSet = new Fieldset($header, $noteHeader, $noteBody, $meta);

        $objPage = $this->__elements->getLast("ValidFormBuilder\\Page");
        if (! is_object($objPage)) {
            $objPage = $this->addPage();
        }

        $objPage->addField($objFieldSet);

        return $objFieldSet;
    }
public function addFieldset($header = null, $noteHeader = null, $noteBody = null, $meta = array())
    {
        $objFieldSet = new Fieldset($header, $noteHeader, $noteBody, $meta);

        $objPage = $this->__elements->getLast("ValidFormBuilder\\Page");
        if (! is_object($objPage)) {
            $objPage = $this->addPage();
        }

        $objPage->addField($objFieldSet);

        return $objFieldSet;
    }
public function addFieldset ( $ header = null , $ noteHeader = null , $ noteBody = null , $ meta = array ( ) ) { $ objFieldSet = new Fieldset ( $ header , $ noteHeader , $ noteBody , $ meta ) ; $ objPage = $ this -> __elements -> getLast ( "ValidFormBuilder\\Page" ) ; if ( ! is_object ( $ objPage ) ) { $ objPage = $ this -> addPage ( ) ; } $ objPage -> addField ( $ objFieldSet ) ; return $ objFieldSet ; }
Add a fieldset

See {@link \ValidFormBuilder\ValidForm::addFieldset()}

@see \ValidFormBuilder\ValidForm::addFieldset()

@param string $header The header for this fieldset
@param string $noteHeader An optional header for the 'note' block on the side of this fieldset
@param string $noteBody The optional body for the 'note block on the side of this fieldset
@param array $meta The meta array

@return \ValidFormBuilder\Fieldset
Add a fieldset