public function addExportContainer($label)
    {
        $export = $this->addContainer($label);

        // EXPORT
        $surveyExport = $export->addPage($this->_('Single survey answers'), 'pr.export', 'export-survey', 'index');
        $surveyExport->addAutofilterAction();

        $surveyExport->addExportAction();

        //$export->addButtonOnly('', 'pr.export', 'export', 'handle-export');
        //$export->addButtonOnly('', 'pr.export', 'export', 'download');


        $batchExport = $export->addPage(
                $this->_('Multiple surveys answers'),
                'pr.export',
                'export-multi-surveys',
                'index'
                );

        $batchExport->addAutofilterAction();

        // EXPORT TO HTML
        $export->addPage($this->_('Respondent archives'), 'pr.export-html', 'respondent-export', 'index');


        return $export;
    }
public function addExportContainer($label)
    {
        $export = $this->addContainer($label);

        // EXPORT
        $surveyExport = $export->addPage($this->_('Single survey answers'), 'pr.export', 'export-survey', 'index');
        $surveyExport->addAutofilterAction();

        $surveyExport->addExportAction();

        //$export->addButtonOnly('', 'pr.export', 'export', 'handle-export');
        //$export->addButtonOnly('', 'pr.export', 'export', 'download');


        $batchExport = $export->addPage(
                $this->_('Multiple surveys answers'),
                'pr.export',
                'export-multi-surveys',
                'index'
                );

        $batchExport->addAutofilterAction();

        // EXPORT TO HTML
        $export->addPage($this->_('Respondent archives'), 'pr.export-html', 'respondent-export', 'index');


        return $export;
    }
public function addExportContainer ( $ label ) { $ export = $ this -> addContainer ( $ label ) ; // EXPORT $ surveyExport = $ export -> addPage ( $ this -> _ ( 'Single survey answers' ) , 'pr.export' , 'export-survey' , 'index' ) ; $ surveyExport -> addAutofilterAction ( ) ; $ surveyExport -> addExportAction ( ) ; //$export->addButtonOnly('', 'pr.export', 'export', 'handle-export'); //$export->addButtonOnly('', 'pr.export', 'export', 'download'); $ batchExport = $ export -> addPage ( $ this -> _ ( 'Multiple surveys answers' ) , 'pr.export' , 'export-multi-surveys' , 'index' ) ; $ batchExport -> addAutofilterAction ( ) ; // EXPORT TO HTML $ export -> addPage ( $ this -> _ ( 'Respondent archives' ) , 'pr.export-html' , 'respondent-export' , 'index' ) ; return $ export ; }
Shortcut function to create the export container.

@param string $label Label for the container
@return \Gems_Menu_MenuAbstract The new contact page
Shortcut function to create the export container .