/**
  * This is construct base of the class.
  *
  * A public constructor; initializes the variable $instanceDataBase.
  *
  */
 public function __construct($instanceDataBase)
 {
     parent::__construct($instanceDataBase);
     MCourseStructureNotes::setDataOperationBusiness($instanceDataBase);
     MCourseStructureNotes::getBusiness();
     MCourseStructureNotes::getDescriptionBusiness();
 }
     //adicionar la confirmacion o error del insert
     //adicionar registro de los logs
     $res = $id_note;
     //resultado final
     break;
 case 4:
     $student = new Student($db);
     $id_student = $student->getStudentId($datos[0]);
     //idStudent
     $course = new CourseHard($db);
     $id_course_hard = $course->getCourseHardId($datos[3]);
     //nombre curso
     $mcourse = new MainCourse($db);
     $id_mcourse = $mcourse->getMainCourseId($datos[3]);
     //nombre curso
     $mcourse_structure = new MCourseStructureNotes($db);
     $data_mcourse = array($id_mcourse, $opcion);
     $id_mcourse_structure = $mcourse_structure->getMCourseStructureNotesId($data_mcourse);
     $ballot = new CourseNotesBallot($db);
     $data = array($id_student, $id_course_hard, $id_mcourse_structure);
     $id_ballot = $ballot->insertCourseNotesBallot($data, $idTransaction);
     $matter = new Matter($db);
     $id_matter = $matter->getMatterId($datos[2]);
     //nombre materia
     $eval = new EvaluationsSettings($db);
     $pk_id_evaluations_settings = 0;
     $pk_id_evaluations_settings2 = 0;
     switch ($datos[6]) {
         case 1:
             $pk_id_evaluations_set = $eval->getEvaluationsSettingsId(array($opcion, 1));
             $pk_id_evaluations_set2 = $eval->getEvaluationsSettingsId(array($opcion, 2));