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);
    }
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);
    }
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 ) ; }
Import answers to a survey
Import answers to a survey