public function renderFieldset(Fieldset $fieldset)
	{
		// Create a new renderer and render the content
		$fieldsetRenderer = new static($this->csrfProvider);

		// Generate all the content
		foreach ($fieldset as $item)
		{
			$fieldsetRenderer->render($item);
		}

		$content = $fieldsetRenderer->getRenderedForm();

		// Create the fieldset tag and add the content
		$tag = Html::tag('fieldset', $fieldset->getAttributes(), $content);

		// Make sure everything is added to the parent table
		$cell = new Table\Cell($tag);
		$cell->setAttributes(['colspan' => 2]);

		$this->table->addCell($cell);
		$this->table->addRow();

		return '';
	}
public function renderFieldset(Fieldset $fieldset)
	{
		// Create a new renderer and render the content
		$fieldsetRenderer = new static($this->csrfProvider);

		// Generate all the content
		foreach ($fieldset as $item)
		{
			$fieldsetRenderer->render($item);
		}

		$content = $fieldsetRenderer->getRenderedForm();

		// Create the fieldset tag and add the content
		$tag = Html::tag('fieldset', $fieldset->getAttributes(), $content);

		// Make sure everything is added to the parent table
		$cell = new Table\Cell($tag);
		$cell->setAttributes(['colspan' => 2]);

		$this->table->addCell($cell);
		$this->table->addRow();

		return '';
	}
public function renderFieldset ( Fieldset $ fieldset ) { // Create a new renderer and render the content $ fieldsetRenderer = new static ( $ this -> csrfProvider ) ; // Generate all the content foreach ( $ fieldset as $ item ) { $ fieldsetRenderer -> render ( $ item ) ; } $ content = $ fieldsetRenderer -> getRenderedForm ( ) ; // Create the fieldset tag and add the content $ tag = Html :: tag ( 'fieldset' , $ fieldset -> getAttributes ( ) , $ content ) ; // Make sure everything is added to the parent table $ cell = new Table \ Cell ( $ tag ) ; $ cell -> setAttributes ( [ 'colspan' => 2 ] ) ; $ this -> table -> addCell ( $ cell ) ; $ this -> table -> addRow ( ) ; return '' ; }
Adds a fieldset object to the table.

@param  Fieldset $fieldset

@since 2.0
Adds a fieldset object to the table .