public function doExport()
    {
        $this->downloadCsvExport();

        $settings = $this->module->getSettings('export');

        if (empty($settings['columns'])) {
            $settings['columns'] = array_keys($settings['header']);
        }

        $this->setData('settings', $settings);
        $this->setData('columns', $settings['header']);
        $this->setData('stores', $this->store->getList());

        $this->submitExport();
        $this->setTitleDoExport();
        $this->setBreadcrumbDoExport();

        $this->outputDoExport();
    }
public function doExport()
    {
        $this->downloadCsvExport();

        $settings = $this->module->getSettings('export');

        if (empty($settings['columns'])) {
            $settings['columns'] = array_keys($settings['header']);
        }

        $this->setData('settings', $settings);
        $this->setData('columns', $settings['header']);
        $this->setData('stores', $this->store->getList());

        $this->submitExport();
        $this->setTitleDoExport();
        $this->setBreadcrumbDoExport();

        $this->outputDoExport();
    }
public function doExport ( ) { $ this -> downloadCsvExport ( ) ; $ settings = $ this -> module -> getSettings ( 'export' ) ; if ( empty ( $ settings [ 'columns' ] ) ) { $ settings [ 'columns' ] = array_keys ( $ settings [ 'header' ] ) ; } $ this -> setData ( 'settings' , $ settings ) ; $ this -> setData ( 'columns' , $ settings [ 'header' ] ) ; $ this -> setData ( 'stores' , $ this -> store -> getList ( ) ) ; $ this -> submitExport ( ) ; $ this -> setTitleDoExport ( ) ; $ this -> setBreadcrumbDoExport ( ) ; $ this -> outputDoExport ( ) ; }
Route callback to display the export page
Route callback to display the export page