original_string: 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);
              }
          }
      }
code: 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);
              }
          }
      }
code_tokens: 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 ) ; } } }
docstring: 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
docstring_tokens: Add elements in grading plugin form .