original_string: public function answerImportAction()
      {
          $controller   = 'answers';
          $importLoader = $this->loader->getImportLoader();
  
          $params['defaultImportTranslator'] = $importLoader->getDefaultTranslator($controller);
          $params['formatBoxClass']          = 'browser table';
          $params['importer']                = $importLoader->getImporter($controller);
          $params['importLoader']            = $importLoader;
          $params['tempDirectory']           = $importLoader->getTempDirectory();
          $params['importTranslators']       = $importLoader->getTranslators($controller);
  
          $this->addSnippets('Survey_AnswerImportSnippet', $params);
      }
code: public function answerImportAction()
      {
          $controller   = 'answers';
          $importLoader = $this->loader->getImportLoader();
  
          $params['defaultImportTranslator'] = $importLoader->getDefaultTranslator($controller);
          $params['formatBoxClass']          = 'browser table';
          $params['importer']                = $importLoader->getImporter($controller);
          $params['importLoader']            = $importLoader;
          $params['tempDirectory']           = $importLoader->getTempDirectory();
          $params['importTranslators']       = $importLoader->getTranslators($controller);
  
          $this->addSnippets('Survey_AnswerImportSnippet', $params);
      }
code_tokens: public function answerImportAction ( ) { $ controller = 'answers' ; $ importLoader = $ this -> loader -> getImportLoader ( ) ; $ params [ 'defaultImportTranslator' ] = $ importLoader -> getDefaultTranslator ( $ controller ) ; $ params [ 'formatBoxClass' ] = 'browser table' ; $ params [ 'importer' ] = $ importLoader -> getImporter ( $ controller ) ; $ params [ 'importLoader' ] = $ importLoader ; $ params [ 'tempDirectory' ] = $ importLoader -> getTempDirectory ( ) ; $ params [ 'importTranslators' ] = $ importLoader -> getTranslators ( $ controller ) ; $ this -> addSnippets ( 'Survey_AnswerImportSnippet' , $ params ) ; }
docstring: Import answers to a survey
docstring_tokens: Import answers to a survey