/**
  * This is construct base of the class.
  *
  * A public constructor; initializes the variable $instanceDataBase.
  *
  */
 public function __construct($instanceDataBase)
 {
     parent::__construct($instanceDataBase);
     TypePlanificationActivity::setDataOperationBusiness($instanceDataBase);
     TypePlanificationActivity::getBusiness();
     TypePlanificationActivity::getDescriptionBusiness();
 }
$valData = $action == 'EDIT' ? $data['activity'] : '';
Forms::printInput('TEXT', 'activity', $valData, null, array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]), array(), $preview_flag);
?>
                            </td>
                        </tr>
                        <tr>
                            <td class="col1">
                            <?php 
Forms::printLabel('Tipo');
?>
                                
                            </td>
                            <td class="col2">
                                
                               <?php 
$type_activity = new TypePlanificationActivity($registry[$nameDataBase]);
$itemsSelectactivity = array();
$list_type_act = $type_activity->getListTypePlanificationActivity();
foreach ($list_type_act as $item_type) {
    $itemsSelectactivity[$item_type['pk_id_type_planification_activity']] = $item_type['type_planification_activity'];
}
$pk_id_type_activity = '';
if ($action == 'EDIT') {
    $pk_id_type_activity = $data['fk_id_type_planification_activity'];
}
Forms::printInput('SELECT', 'pk_id_type_planification_activity', $pk_id_type_activity, '', array(), $itemsSelectactivity);
?>
                                
                                
                            </td>
                        </tr>