$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));
         break;
     case 2:
         $pk_id_evaluations_set = $eval->getEvaluationsSettingsId(array($opcion, 4));
         $pk_id_evaluations_set2 = $eval->getEvaluationsSettingsId(array($opcion, 5));
         break;
     case 3:
Example #2
0
            ?>
</td>
                          </tr> 
                          <?php 
        }
        ?>
                        </table>
                            </div>
                        </td>
                      </tr>                    
                    </table>  
                <?php 
    }
    if ($item == 4) {
        $id_student = $_GET['VIEW_NOTE'];
        $matt = new Matter($db);
        $materia = $matt->getListMatterStudent($id_student);
        ?>
  
            
                    <table >
                        <tr>
                            <td><a href=""><img src="view/img/pdf.jpg" height="80px"/></a></td>
                        </tr>                        
                    </table>
                    <table class="form">                        
                      <tr>
                        <td class="col2">
                            <div class="form_note">
                             <table class="form">
                          <tr>
Example #3
0
/**
 * Begins execution of the plugin.
 *
 * Since everything within the plugin is registered via hooks,
 * then kicking off the plugin from this point in the file does
 * not affect the page life cycle.
 *
 * @since    1.0.0
 */
function run_matter()
{
    $plugin = new Matter();
    $plugin->run();
}