original_string: public static function create_for_quiz($quizobj) {
          $structure = self::create();
          $structure->quizobj = $quizobj;
          $structure->populate_structure($quizobj->get_quiz());
          return $structure;
      }
code: public static function create_for_quiz($quizobj) {
          $structure = self::create();
          $structure->quizobj = $quizobj;
          $structure->populate_structure($quizobj->get_quiz());
          return $structure;
      }
code_tokens: public static function create_for_quiz ( $ quizobj ) { $ structure = self :: create ( ) ; $ structure -> quizobj = $ quizobj ; $ structure -> populate_structure ( $ quizobj -> get_quiz ( ) ) ; return $ structure ; }
docstring: Create an instance of this class representing the structure of a given quiz.
  @param \quiz $quizobj the quiz.
  @return structure
docstring_tokens: Create an instance of this class representing the structure of a given quiz .