ExportController
Export module controller
This class is not considered part of the public TYPO3 API.
Table of Contents
Properties
- $defaultInputData : array<string|int, mixed>
- $iconFactory : IconFactory
- $moduleTemplateFactory : ModuleTemplateFactory
- $presetRepository : PresetRepository
- $responseFactory : ResponseFactoryInterface
Methods
- __construct() : mixed
- handleRequest() : ResponseInterface
- configureExportFromFormData() : Export
- getBackendUser() : BackendUserAuthentication
- getDownload() : ResponseInterface
- getExtensionList() : array<string|int, mixed>
- getFileSelectOptions() : array<string|int, mixed>
- getLanguageService() : LanguageService
- getPageLevelSelectOptions() : array<string|int, mixed>
- getRecordSelectOptions() : array<string|int, mixed>
- getSelectableTableList() : array<string|int, mixed>
- getTableSelectOptions() : array<string|int, mixed>
- Get a list of all exportable tables - basically all TCA tables. Blacklist some if wanted.
- processPresets() : array<string|int, mixed>
- saveExportToFile() : void
Properties
$defaultInputData
protected
array<string|int, mixed>
$defaultInputData
= ['excludeDisabled' => 1, 'preset' => [], 'external_static' => ['tables' => []], 'external_ref' => ['tables' => []], 'pagetree' => ['tables' => []], 'extension_dep' => [], 'meta' => ['title' => '', 'description' => '', 'notes' => ''], 'record' => [], 'list' => []]
$iconFactory read-only
protected
IconFactory
$iconFactory
$moduleTemplateFactory read-only
protected
ModuleTemplateFactory
$moduleTemplateFactory
$presetRepository read-only
protected
PresetRepository
$presetRepository
$responseFactory read-only
protected
ResponseFactoryInterface
$responseFactory
Methods
__construct()
public
__construct(IconFactory $iconFactory, ModuleTemplateFactory $moduleTemplateFactory, ResponseFactoryInterface $responseFactory, PresetRepository $presetRepository) : mixed
Parameters
- $iconFactory : IconFactory
- $moduleTemplateFactory : ModuleTemplateFactory
- $responseFactory : ResponseFactoryInterface
- $presetRepository : PresetRepository
handleRequest()
public
handleRequest(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceconfigureExportFromFormData()
protected
configureExportFromFormData(array<string|int, mixed> $inputData) : Export
Parameters
- $inputData : array<string|int, mixed>
Return values
ExportgetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetDownload()
protected
getDownload(Export $export) : ResponseInterface
Parameters
- $export : Export
Return values
ResponseInterfacegetExtensionList()
protected
getExtensionList() : array<string|int, mixed>
Return values
array<string|int, mixed>getFileSelectOptions()
protected
getFileSelectOptions(Export $export) : array<string|int, mixed>
Parameters
- $export : Export
Return values
array<string|int, mixed>getLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetPageLevelSelectOptions()
protected
getPageLevelSelectOptions(array<string|int, mixed> $inputData) : array<string|int, mixed>
Parameters
- $inputData : array<string|int, mixed>
Return values
array<string|int, mixed>getRecordSelectOptions()
protected
getRecordSelectOptions(array<string|int, mixed> $inputData) : array<string|int, mixed>
Parameters
- $inputData : array<string|int, mixed>
Return values
array<string|int, mixed>getSelectableTableList()
protected
getSelectableTableList(array<string|int, mixed> $inputData) : array<string|int, mixed>
Parameters
- $inputData : array<string|int, mixed>
Return values
array<string|int, mixed>getTableSelectOptions()
Get a list of all exportable tables - basically all TCA tables. Blacklist some if wanted.
protected
getTableSelectOptions([array<string|int, mixed> $excludeList = [] ]) : array<string|int, mixed>
Returned array keys are table names, values are "translations".
Parameters
- $excludeList : array<string|int, mixed> = []
Return values
array<string|int, mixed>processPresets()
protected
processPresets(ModuleTemplate $view, array<string|int, mixed> $presetAction, array<string|int, mixed> $inputData) : array<string|int, mixed>
Parameters
- $view : ModuleTemplate
- $presetAction : array<string|int, mixed>
- $inputData : array<string|int, mixed>
Return values
array<string|int, mixed>saveExportToFile()
protected
saveExportToFile(ModuleTemplate $view, Export $export, Folder $saveFolder) : void
Parameters
- $view : ModuleTemplate
- $export : Export
- $saveFolder : Folder