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;
    }
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;
    }
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 ; }
Return the answermodel for the given filter

@param array $filter
@param array $data
@param array|string $sort
@return type
Return the answermodel for the given filter