‪TYPO3CMS  11.5
TYPO3\CMS\Impexp\Controller\ExportController Class Reference
Inheritance diagram for TYPO3\CMS\Impexp\Controller\ExportController:
TYPO3\CMS\Impexp\Controller\ImportExportController

Public Member Functions

 __construct (IconFactory $iconFactory, PageRenderer $pageRenderer, UriBuilder $uriBuilder, ModuleTemplateFactory $moduleTemplateFactory, ResponseFactoryInterface $responseFactory)
 
ResponseInterface mainAction (ServerRequestInterface $request)
 
array preprocessInputData (array $inData)
 
array processPresets (array $presetAction, array $inData)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Impexp\Controller\ImportExportController
 __construct (IconFactory $iconFactory, PageRenderer $pageRenderer, UriBuilder $uriBuilder, ModuleTemplateFactory $moduleTemplateFactory)
 

Protected Member Functions

array exportData (array $inData)
 
 makeConfigurationForm (array $inData)
 
 makeAdvancedOptionsForm ()
 
 makeSaveForm (array $inData)
 
array getTableSelectOptions (string $excludeList='')
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Impexp\Controller\ImportExportController
 main (ServerRequestInterface $request)
 
 registerDocHeaderButtons ()
 
BackendUserAuthentication getBackendUser ()
 
LanguageService getLanguageService ()
 

Protected Attributes

string $routeName = 'tx_impexp_export'
 
Export $export
 
PresetRepository $presetRepository
 
ResponseFactoryInterface $responseFactory
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Impexp\Controller\ImportExportController
int $id
 
array $pageInfo
 
string $permsClause
 
string $routeName = ''
 
ModuleTemplate $moduleTemplate
 
string $returnUrl
 
LanguageService $lang
 
StandaloneView $standaloneView
 
IconFactory $iconFactory
 
PageRenderer $pageRenderer
 
UriBuilder $uriBuilder
 
ModuleTemplateFactory $moduleTemplateFactory
 

Detailed Description

Main script class for the Export facility

This class is not considered part of the public TYPO3 API.

Definition at line 47 of file ExportController.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ exportData()

array TYPO3\CMS\Impexp\Controller\ExportController::exportData ( array  $inData)
protected

Export part of module

Parameters
array$inData
Returns
‪array Modified data
Exceptions
ExistingTargetFileNameException

Definition at line 227 of file ExportController.php.

References TYPO3\CMS\Core\Utility\PathUtility\basename(), TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), and TYPO3\CMS\Core\Messaging\AbstractMessage\ERROR.

Referenced by TYPO3\CMS\Impexp\Controller\ExportController\mainAction().

◆ getTableSelectOptions()

array TYPO3\CMS\Impexp\Controller\ExportController::getTableSelectOptions ( string  $excludeList = '')
protected

Returns option array to be used in Fluid

Parameters
string$excludeList‪Table names (and the string "_ALL") to exclude. Comma list
Returns
‪array

Definition at line 439 of file ExportController.php.

References $GLOBALS, and TYPO3\CMS\Impexp\Controller\ImportExportController\getBackendUser().

Referenced by TYPO3\CMS\Impexp\Controller\ExportController\makeConfigurationForm().

◆ mainAction()

ResponseInterface TYPO3\CMS\Impexp\Controller\ExportController::mainAction ( ServerRequestInterface  $request)

Incoming array has syntax:

file[] = file dir[] = dir list[] = table:pid record[] = table:uid

pagetree[id] = (single id) pagetree[levels]=1,2,3, -1 = currently unpacked tree, -2 = only tables on page pagetree[tables][]=table/_ALL

external_ref[tables][]=table/_ALL

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface
Exceptions
ExistingTargetFileNameException

Reimplemented from TYPO3\CMS\Impexp\Controller\ImportExportController.

Definition at line 94 of file ExportController.php.

References TYPO3\CMS\Impexp\Controller\ExportController\exportData(), TYPO3\CMS\Impexp\Controller\ImportExportController\getBackendUser(), TYPO3\CMS\Impexp\Controller\ImportExportController\main(), TYPO3\CMS\Impexp\Controller\ExportController\makeAdvancedOptionsForm(), TYPO3\CMS\Impexp\Controller\ExportController\makeConfigurationForm(), TYPO3\CMS\Impexp\Controller\ExportController\makeSaveForm(), TYPO3\CMS\Impexp\Controller\ExportController\preprocessInputData(), TYPO3\CMS\Impexp\Controller\ExportController\processPresets(), and TYPO3\CMS\Impexp\Controller\ImportExportController\registerDocHeaderButtons().

◆ makeAdvancedOptionsForm()

TYPO3\CMS\Impexp\Controller\ExportController::makeAdvancedOptionsForm ( )
protected

◆ makeConfigurationForm()

◆ makeSaveForm()

TYPO3\CMS\Impexp\Controller\ExportController::makeSaveForm ( array  $inData)
protected

Create configuration form

Parameters
array$inDataForm configuration data

Definition at line 413 of file ExportController.php.

Referenced by TYPO3\CMS\Impexp\Controller\ExportController\mainAction().

◆ preprocessInputData()

array TYPO3\CMS\Impexp\Controller\ExportController::preprocessInputData ( array  $inData)
Parameters
array$inData
Returns
‪array Modified data

Definition at line 131 of file ExportController.php.

Referenced by TYPO3\CMS\Impexp\Controller\ExportController\mainAction().

◆ processPresets()

array TYPO3\CMS\Impexp\Controller\ExportController::processPresets ( array  $presetAction,
array  $inData 
)

Process export preset

Parameters
array$presetAction
array$inData
Returns
‪array Modified data

Definition at line 151 of file ExportController.php.

References TYPO3\CMS\Core\Messaging\AbstractMessage\ERROR, and TYPO3\CMS\Core\Messaging\AbstractMessage\INFO.

Referenced by TYPO3\CMS\Impexp\Controller\ExportController\mainAction().

Member Data Documentation

◆ $export

Export TYPO3\CMS\Impexp\Controller\ExportController::$export
protected

Definition at line 55 of file ExportController.php.

◆ $presetRepository

PresetRepository TYPO3\CMS\Impexp\Controller\ExportController::$presetRepository
protected

Definition at line 59 of file ExportController.php.

◆ $responseFactory

ResponseFactoryInterface TYPO3\CMS\Impexp\Controller\ExportController::$responseFactory
protected

◆ $routeName

string TYPO3\CMS\Impexp\Controller\ExportController::$routeName = 'tx_impexp_export'
protected

Definition at line 51 of file ExportController.php.