public function export()
    {
        // Disable any access to use of WorkflowExport if user has no SecurityAdmin access
        if (!Permission::check('CMS_ACCESS_SecurityAdmin')) {
            throw new Exception(_t('SilverStripe\\ErrorPage\\ErrorPage.CODE_403', '403 - Forbidden'), 403);
        }
        $def = $this->getDefinition();
        $templateData = new ArrayData(array(
            'ExportMetaData' => $this->ExportMetaData(),
            'ExportActions' => $def->Actions(),
            'ExportUsers' => $def->Users(),
            'ExportGroups' => $def->Groups()
        ));
        return $this->format($templateData);
    }
public function export()
    {
        // Disable any access to use of WorkflowExport if user has no SecurityAdmin access
        if (!Permission::check('CMS_ACCESS_SecurityAdmin')) {
            throw new Exception(_t('SilverStripe\\ErrorPage\\ErrorPage.CODE_403', '403 - Forbidden'), 403);
        }
        $def = $this->getDefinition();
        $templateData = new ArrayData(array(
            'ExportMetaData' => $this->ExportMetaData(),
            'ExportActions' => $def->Actions(),
            'ExportUsers' => $def->Users(),
            'ExportGroups' => $def->Groups()
        ));
        return $this->format($templateData);
    }
public function export ( ) { // Disable any access to use of WorkflowExport if user has no SecurityAdmin access if ( ! Permission :: check ( 'CMS_ACCESS_SecurityAdmin' ) ) { throw new Exception ( _t ( 'SilverStripe\\ErrorPage\\ErrorPage.CODE_403' , '403 - Forbidden' ) , 403 ) ; } $ def = $ this -> getDefinition ( ) ; $ templateData = new ArrayData ( array ( 'ExportMetaData' => $ this -> ExportMetaData ( ) , 'ExportActions' => $ def -> Actions ( ) , 'ExportUsers' => $ def -> Users ( ) , 'ExportGroups' => $ def -> Groups ( ) ) ) ; return $ this -> format ( $ templateData ) ; }
Runs the export

@return string $template
@throws Exception if the current user doesn't have permission to access export functionality
Runs the export