/**
  * This is construct base of the class.
  *
  * A public constructor; initializes the variable $instanceDataBase.
  *
  */
 public function __construct($instanceDataBase)
 {
     parent::__construct($instanceDataBase);
     EvaluationsSettings::setDataOperationBusiness($instanceDataBase);
     EvaluationsSettings::getBusiness();
     EvaluationsSettings::getDescriptionBusiness();
 }
 $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));
         break;
     case 2:
         $pk_id_evaluations_set = $eval->getEvaluationsSettingsId(array($opcion, 4));
         $pk_id_evaluations_set2 = $eval->getEvaluationsSettingsId(array($opcion, 5));
         break;
     case 3:
         $pk_id_evaluations_set = $eval->getEvaluationsSettingsId(array($opcion, 7));
         $pk_id_evaluations_set2 = $eval->getEvaluationsSettingsId(array($opcion, 8));
         break;