public static function renderFormFiledsByTab($bind_type, $object, $sf_user, $tab) { $extra_fields = ExtraFieldsList::getFieldsByType($bind_type, $sf_user, false, array('tab' => $tab)); return ExtraFieldsList::renderFormFileds($bind_type, $object, $sf_user, $extra_fields); }
<th><?php echo $form['event_name']->renderLabel(); ?> </th> <td> <?php echo $form['event_name']->renderError(); ?> <?php echo $form['event_name']; ?> </td> </tr> <?php echo ExtraFieldsList::renderFormFileds('events', $form->getObject(), $sf_user); ?> <tr> <th><?php echo $form['start_date']->renderLabel(); ?> </th> <td> <?php echo $form['start_date']->renderError(); ?> <?php echo $form['start_date']; ?> </td>