/** * This is construct base of the class. * * A public constructor; initializes the variable $instanceDataBase. * */ public function __construct($instanceDataBase) { parent::__construct($instanceDataBase); AdmissionArea::setDataOperationBusiness($instanceDataBase); AdmissionArea::getBusiness(); AdmissionArea::getDescriptionBusiness(); }
?> <input type="hidden" name="ACTION" value="<?php echo $action; ?> " > <tr> <td class="col1"> <?php Forms::printLabel($v_label["ADMISSION_AREA"]); ?> </td> <td class="col2"> <?php $objectAdmissionArea = new AdmissionArea($db); $catalogoAdmissionArea = $objectAdmissionArea->getListAdmissionArea(); $itemsSelectAdmissionArea = array(); foreach ($catalogoAdmissionArea as $item) { $itemsSelectAdmissionArea[$item['id']] = $item['name']; } $idAdmissionArea = null; if ($action == 'EDIT' || $action == 'PREVIEW') { $idAdmissionArea = $data['fk_id_admission_area']; } Forms::printInput('SELECT', 'ID_ADMISSION_AREA', $idAdmissionArea, '', array(), $itemsSelectAdmissionArea); ?> </td> </tr> <tr>
$idForm = 0; if (isset($_POST['ID_FORM']) || isset($_GET['ID_FORM'])) { if (isset($_POST['ID_FORM'])) { $idForm = $_POST['ID_FORM']; } else { $idForm = $_GET['ID_FORM']; } $action = 'INSERT'; $orden_area = 0; $pk_id_process = 0; $fk_id_admision_area = 0; $observation_status = 'APROVED'; $status_admision_process = 0; $fk_id_admision_area = 0; $area = 'area'; $admissionArea = new AdmissionArea($registry[$nameDataBase]); $formObject = new MembershipAppForm($registry[$nameDataBase]); $process = new AdmissionProcess($registry[$nameDataBase]); $personObject = new Person($registry[$nameDataBase]); $assDoc = new AssignPersonIdentifyDoc($registry[$nameDataBase]); $assProf = new AssignPersonProfession($registry[$nameDataBase]); $contact = new Contact($registry[$nameDataBase]); $assContact = new AssignPersonContact($registry[$nameDataBase]); $bill = new BillingData($registry[$nameDataBase]); $element_padres = new ApplicationParents($registry[$nameDataBase]); $holder = new Holder($registry[$nameDataBase]); $assign_holder_student = new AssignHolderStudent($registry[$nameDataBase]); $student = new Student($registry[$nameDataBase]); $family = new Family($registry[$nameDataBase]); $assign_student_family = new AssignStudentFamily($registry[$nameDataBase]); $flowProcess = $admissionArea->getListAdmissionArea();