protected function add_plugin_grade_elements($grade, MoodleQuickForm $mform, stdClass $data, $userid) {
        foreach ($this->feedbackplugins as $plugin) {
            if ($plugin->is_enabled() && $plugin->is_visible()) {
                $plugin->get_form_elements_for_user($grade, $mform, $data, $userid);
            }
        }
    }
protected function add_plugin_grade_elements($grade, MoodleQuickForm $mform, stdClass $data, $userid) {
        foreach ($this->feedbackplugins as $plugin) {
            if ($plugin->is_enabled() && $plugin->is_visible()) {
                $plugin->get_form_elements_for_user($grade, $mform, $data, $userid);
            }
        }
    }
protected function add_plugin_grade_elements ( $ grade , MoodleQuickForm $ mform , stdClass $ data , $ userid ) { foreach ( $ this -> feedbackplugins as $ plugin ) { if ( $ plugin -> is_enabled ( ) && $ plugin -> is_visible ( ) ) { $ plugin -> get_form_elements_for_user ( $ grade , $ mform , $ data , $ userid ) ; } } }
Add elements in grading plugin form.

@param mixed $grade stdClass|null
@param MoodleQuickForm $mform
@param stdClass $data
@param int $userid - The userid we are grading
@return void
Add elements in grading plugin form .