protected function view_grading_page() {
        global $CFG;

        $o = '';
        // Need submit permission to submit an assignment.
        $this->require_view_grades();
        require_once($CFG->dirroot . '/mod/assign/gradeform.php');

        $this->add_grade_notices();

        // Only load this if it is.
        $o .= $this->view_grading_table();

        $o .= $this->view_footer();

        \mod_assign\event\grading_table_viewed::create_from_assign($this)->trigger();

        return $o;
    }
protected function view_grading_page() {
        global $CFG;

        $o = '';
        // Need submit permission to submit an assignment.
        $this->require_view_grades();
        require_once($CFG->dirroot . '/mod/assign/gradeform.php');

        $this->add_grade_notices();

        // Only load this if it is.
        $o .= $this->view_grading_table();

        $o .= $this->view_footer();

        \mod_assign\event\grading_table_viewed::create_from_assign($this)->trigger();

        return $o;
    }
protected function view_grading_page ( ) { global $ CFG ; $ o = '' ; // Need submit permission to submit an assignment. $ this -> require_view_grades ( ) ; require_once ( $ CFG -> dirroot . '/mod/assign/gradeform.php' ) ; $ this -> add_grade_notices ( ) ; // Only load this if it is. $ o .= $ this -> view_grading_table ( ) ; $ o .= $ this -> view_footer ( ) ; \ mod_assign \ event \ grading_table_viewed :: create_from_assign ( $ this ) -> trigger ( ) ; return $ o ; }
View entire grading page.

@return string
View entire grading page .