original_string: public function all_question_attempts_originally_in_slot($slot) {
          $qas = array();
          foreach ($this->quba->get_attempt_iterator() as $qa) {
              if ($qa->get_metadata('originalslot') == $slot) {
                  $qas[] = $qa;
              }
          }
          $qas[] = $this->quba->get_question_attempt($slot);
          return $qas;
      }
code: public function all_question_attempts_originally_in_slot($slot) {
          $qas = array();
          foreach ($this->quba->get_attempt_iterator() as $qa) {
              if ($qa->get_metadata('originalslot') == $slot) {
                  $qas[] = $qa;
              }
          }
          $qas[] = $this->quba->get_question_attempt($slot);
          return $qas;
      }
code_tokens: public function all_question_attempts_originally_in_slot ( $ slot ) { $ qas = array ( ) ; foreach ( $ this -> quba -> get_attempt_iterator ( ) as $ qa ) { if ( $ qa -> get_metadata ( 'originalslot' ) == $ slot ) { $ qas [ ] = $ qa ; } } $ qas [ ] = $ this -> quba -> get_question_attempt ( $ slot ) ; return $ qas ; }
docstring: Get the question_attempt object for a particular question in this attempt.
  @param int $slot the number used to identify this question within this attempt.
  @return question_attempt
docstring_tokens: Get the question_attempt object for a particular question in this attempt .