public function standard_upload_file_form($course, $mform) {

        $output = groups_print_course_menu($course, 'index.php?id=' . $course->id, true);
        $output .= html_writer::start_tag('div', array('class' => 'clearer'));
        $output .= html_writer::end_tag('div');

        // Form.
        ob_start();
        $mform->display();
        $output .= ob_get_contents();
        ob_end_clean();

        return $output;
    }
public function standard_upload_file_form($course, $mform) {

        $output = groups_print_course_menu($course, 'index.php?id=' . $course->id, true);
        $output .= html_writer::start_tag('div', array('class' => 'clearer'));
        $output .= html_writer::end_tag('div');

        // Form.
        ob_start();
        $mform->display();
        $output .= ob_get_contents();
        ob_end_clean();

        return $output;
    }
public function standard_upload_file_form ( $ course , $ mform ) { $ output = groups_print_course_menu ( $ course , 'index.php?id=' . $ course -> id , true ) ; $ output .= html_writer :: start_tag ( 'div' , array ( 'class' => 'clearer' ) ) ; $ output .= html_writer :: end_tag ( 'div' ) ; // Form. ob_start ( ) ; $ mform -> display ( ) ; $ output .= ob_get_contents ( ) ; ob_end_clean ( ) ; return $ output ; }
A renderer for the standard upload file form.

@param object $course The course we are doing all of this action in.
@param object $mform The mform for uploading CSV files.
@return string html to be displayed.
A renderer for the standard upload file form .