original_string: public function get_assign_attempt_history_renderable($user) {
  
          $allsubmissions = $this->get_all_submissions($user->id);
          $allgrades = $this->get_all_grades($user->id);
  
          $history = new assign_attempt_history($allsubmissions,
                                                $allgrades,
                                                $this->get_submission_plugins(),
                                                $this->get_feedback_plugins(),
                                                $this->get_course_module()->id,
                                                $this->get_return_action(),
                                                $this->get_return_params(),
                                                false,
                                                0,
                                                0);
          return $history;
      }
code: public function get_assign_attempt_history_renderable($user) {
  
          $allsubmissions = $this->get_all_submissions($user->id);
          $allgrades = $this->get_all_grades($user->id);
  
          $history = new assign_attempt_history($allsubmissions,
                                                $allgrades,
                                                $this->get_submission_plugins(),
                                                $this->get_feedback_plugins(),
                                                $this->get_course_module()->id,
                                                $this->get_return_action(),
                                                $this->get_return_params(),
                                                false,
                                                0,
                                                0);
          return $history;
      }
code_tokens: public function get_assign_attempt_history_renderable ( $ user ) { $ allsubmissions = $ this -> get_all_submissions ( $ user -> id ) ; $ allgrades = $ this -> get_all_grades ( $ user -> id ) ; $ history = new assign_attempt_history ( $ allsubmissions , $ allgrades , $ this -> get_submission_plugins ( ) , $ this -> get_feedback_plugins ( ) , $ this -> get_course_module ( ) -> id , $ this -> get_return_action ( ) , $ this -> get_return_params ( ) , false , 0 , 0 ) ; return $ history ; }
docstring: Creates an assign_attempt_history renderable.
  
  @param stdClass $user the user to get the report for
  @return assign_attempt_history renderable object
docstring_tokens: Creates an assign_attempt_history renderable .