original_string: public static function load_categories_and_questions_to_tempids($restoreid, $questionsfile) {
  
          if (!file_exists($questionsfile)) { // Shouldn't happen ever, but...
              throw new backup_helper_exception('missing_questions_xml_file', $questionsfile);
          }
          // Let's parse, custom processor will do its work, sending info to DB
          $xmlparser = new progressive_parser();
          $xmlparser->set_file($questionsfile);
          $xmlprocessor = new restore_questions_parser_processor($restoreid);
          $xmlparser->set_processor($xmlprocessor);
          $xmlparser->process();
      }
code: public static function load_categories_and_questions_to_tempids($restoreid, $questionsfile) {
  
          if (!file_exists($questionsfile)) { // Shouldn't happen ever, but...
              throw new backup_helper_exception('missing_questions_xml_file', $questionsfile);
          }
          // Let's parse, custom processor will do its work, sending info to DB
          $xmlparser = new progressive_parser();
          $xmlparser->set_file($questionsfile);
          $xmlprocessor = new restore_questions_parser_processor($restoreid);
          $xmlparser->set_processor($xmlprocessor);
          $xmlparser->process();
      }
code_tokens: public static function load_categories_and_questions_to_tempids ( $ restoreid , $ questionsfile ) { if ( ! file_exists ( $ questionsfile ) ) { // Shouldn't happen ever, but... throw new backup_helper_exception ( 'missing_questions_xml_file' , $ questionsfile ) ; } // Let's parse, custom processor will do its work, sending info to DB $ xmlparser = new progressive_parser ( ) ; $ xmlparser -> set_file ( $ questionsfile ) ; $ xmlprocessor = new restore_questions_parser_processor ( $ restoreid ) ; $ xmlparser -> set_processor ( $ xmlprocessor ) ; $ xmlparser -> process ( ) ; }
docstring: Load the needed questions.xml file to backup_ids table for future reference
docstring_tokens: Load the needed questions . xml file to backup_ids table for future reference