original_string: protected function getAnswerModel(array $filter, array $data, $sort)
      {
          $exportModelSource = $this->loader->getExportModelSource('AnswerExportModelSource');
          $model = $exportModelSource->getModel($filter, $data);
          $noExportColumns = $model->getColNames('noExport');
          foreach($noExportColumns as $colName) {
              $model->remove($colName, 'label');
          }
          $model->applyParameters($filter, true);
  
          $model->addSort($sort);
  
          return $model;
      }
code: protected function getAnswerModel(array $filter, array $data, $sort)
      {
          $exportModelSource = $this->loader->getExportModelSource('AnswerExportModelSource');
          $model = $exportModelSource->getModel($filter, $data);
          $noExportColumns = $model->getColNames('noExport');
          foreach($noExportColumns as $colName) {
              $model->remove($colName, 'label');
          }
          $model->applyParameters($filter, true);
  
          $model->addSort($sort);
  
          return $model;
      }
code_tokens: protected function getAnswerModel ( array $ filter , array $ data , $ sort ) { $ exportModelSource = $ this -> loader -> getExportModelSource ( 'AnswerExportModelSource' ) ; $ model = $ exportModelSource -> getModel ( $ filter , $ data ) ; $ noExportColumns = $ model -> getColNames ( 'noExport' ) ; foreach ( $ noExportColumns as $ colName ) { $ model -> remove ( $ colName , 'label' ) ; } $ model -> applyParameters ( $ filter , true ) ; $ model -> addSort ( $ sort ) ; return $ model ; }
docstring: Return the answermodel for the given filter
  
  @param array $filter
  @param array $data
  @param array|string $sort
  @return type
docstring_tokens: Return the answermodel for the given filter