예제 #1
0
 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);
 }
예제 #2
0
파일: _form.php 프로젝트: noikiy/qdpm
                <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>