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;
    }
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;
    }
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 ; }
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
Get the question_attempt object for a particular question in this attempt .