‪TYPO3CMS  ‪main
TYPO3\CMS\Impexp\Controller\ExportController Class Reference

Public Member Functions

 __construct (protected readonly IconFactory $iconFactory, protected readonly ModuleTemplateFactory $moduleTemplateFactory, protected readonly ResponseFactoryInterface $responseFactory, protected readonly PresetRepository $presetRepository)
 
 handleRequest (ServerRequestInterface $request)
 

Protected Member Functions

 processPresets (ModuleTemplate $view, array $presetAction, array $inputData)
 
 configureExportFromFormData (array $inputData)
 
 getDownload (Export $export)
 
 saveExportToFile (ModuleTemplate $view, Export $export, Folder $saveFolder)
 
 getPageLevelSelectOptions (array $inputData)
 
 getRecordSelectOptions (array $inputData)
 
 getSelectableTableList (array $inputData)
 
 getExtensionList ()
 
 getFileSelectOptions (Export $export)
 
 getTableSelectOptions (array $excludeList=[])
 
 getBackendUser ()
 
 getLanguageService ()
 

Protected Attributes

array $defaultInputData
 

Detailed Description

Export module controller

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

Definition at line 52 of file ExportController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Impexp\Controller\ExportController::__construct ( protected readonly IconFactory  $iconFactory,
protected readonly ModuleTemplateFactory  $moduleTemplateFactory,
protected readonly ResponseFactoryInterface  $responseFactory,
protected readonly PresetRepository  $presetRepository 
)

Definition at line 76 of file ExportController.php.

Member Function Documentation

◆ configureExportFromFormData()

TYPO3\CMS\Impexp\Controller\ExportController::configureExportFromFormData ( array  $inputData)
protected

◆ getBackendUser()

◆ getDownload()

◆ getExtensionList()

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

◆ getFileSelectOptions()

TYPO3\CMS\Impexp\Controller\ExportController::getFileSelectOptions ( Export  $export)
protected

◆ getLanguageService()

◆ getPageLevelSelectOptions()

◆ getRecordSelectOptions()

TYPO3\CMS\Impexp\Controller\ExportController::getRecordSelectOptions ( array  $inputData)
protected

Definition at line 291 of file ExportController.php.

References TYPO3\CMS\Webhooks\Message\$record.

◆ getSelectableTableList()

TYPO3\CMS\Impexp\Controller\ExportController::getSelectableTableList ( array  $inputData)
protected

◆ getTableSelectOptions()

TYPO3\CMS\Impexp\Controller\ExportController::getTableSelectOptions ( array  $excludeList = [])
protected

Get a list of all exportable tables - basically all TCA tables. Blacklist some if wanted. Returned array keys are table names, values are "translations".

Definition at line 355 of file ExportController.php.

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

◆ handleRequest()

◆ processPresets()

TYPO3\CMS\Impexp\Controller\ExportController::processPresets ( ModuleTemplate  $view,
array  $presetAction,
array  $inputData 
)
protected

◆ saveExportToFile()

Member Data Documentation

◆ $defaultInputData

array TYPO3\CMS\Impexp\Controller\ExportController::$defaultInputData
protected
Initial value:
= [
'excludeDisabled' => 1,
'preset' => [],
'external_static' => [
'tables' => [],
],
'external_ref' => [
'tables' => [],
],
'pagetree' => [
'tables' => [],
],
'extension_dep' => [],
'meta' => [
'title' => '',
'description' => '',
'notes' => '',
],
'record' => [],
'list' => [],
]

Definition at line 54 of file ExportController.php.

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