original_string: protected function ensure_question_loaded($id) {
          if (isset($this->questions[$id]->_partiallyloaded)) {
              throw new moodle_quiz_exception($this, 'questionnotloaded', $id);
          }
      }
code: protected function ensure_question_loaded($id) {
          if (isset($this->questions[$id]->_partiallyloaded)) {
              throw new moodle_quiz_exception($this, 'questionnotloaded', $id);
          }
      }
code_tokens: protected function ensure_question_loaded ( $ id ) { if ( isset ( $ this -> questions [ $ id ] -> _partiallyloaded ) ) { throw new moodle_quiz_exception ( $ this , 'questionnotloaded' , $ id ) ; } }
docstring: Check that the definition of a particular question is loaded, and if not throw an exception.
  @param $id a questionid.
docstring_tokens: Check that the definition of a particular question is loaded and if not throw an exception .