original_string: public function report_answers($answerpage, $answerdata, $useranswer, $pagestats, &$i, &$n) {
          $answers = $this->get_answers();
          $formattextdefoptions = new stdClass;
          $formattextdefoptions->para = false;  //I'll use it widely in this page
          foreach ($answers as $answer) {
              $data = get_string('jumpsto', 'lesson', $this->get_jump_name($answer->jumpto));
              $answerdata->answers[] = array($data, "");
              $answerpage->answerdata = $answerdata;
          }
          return $answerpage;
      }
code: public function report_answers($answerpage, $answerdata, $useranswer, $pagestats, &$i, &$n) {
          $answers = $this->get_answers();
          $formattextdefoptions = new stdClass;
          $formattextdefoptions->para = false;  //I'll use it widely in this page
          foreach ($answers as $answer) {
              $data = get_string('jumpsto', 'lesson', $this->get_jump_name($answer->jumpto));
              $answerdata->answers[] = array($data, "");
              $answerpage->answerdata = $answerdata;
          }
          return $answerpage;
      }
code_tokens: public function report_answers ( $ answerpage , $ answerdata , $ useranswer , $ pagestats , & $ i , & $ n ) { $ answers = $ this -> get_answers ( ) ; $ formattextdefoptions = new stdClass ; $ formattextdefoptions -> para = false ; //I'll use it widely in this page foreach ( $ answers as $ answer ) { $ data = get_string ( 'jumpsto' , 'lesson' , $ this -> get_jump_name ( $ answer -> jumpto ) ) ; $ answerdata -> answers [ ] = array ( $ data , "" ) ; $ answerpage -> answerdata = $ answerdata ; } return $ answerpage ; }
docstring: Formats the answers of this page for a report
  
  @param object $answerpage
  @param object $answerdata
  @param object $useranswer
  @param array $pagestats
  @param int $i Count of first level answers
  @param int $n Count of second level answers
  @return object The answer page for this
docstring_tokens: Formats the answers of this page for a report