Example #1
0
 /**
  * Render a Fieldset
  *
  * @param Zend\Form\Fieldset $fieldset
  * @return void
  */
 public function renderFieldset(Fieldset $fieldset)
 {
     $id = $fieldset->getId() ?: $fieldset->getName();
     return '<fieldset id="fieldset-' . $id . '">' . $this->render($fieldset) . '</fieldset>';
 }