ExportController extends ImportExportController
Main script class for the Export facility
This class is not considered part of the public TYPO3 API.
Table of Contents
Properties
- $export : Export
- $iconFactory : IconFactory
- $id : int
- Page id
- $lang : LanguageService
- $moduleTemplate : ModuleTemplate
- $moduleTemplateFactory : ModuleTemplateFactory
- $pageInfo : array<string|int, mixed>
- Page record of page id
- $pageRenderer : PageRenderer
- $permsClause : string
- A WHERE clause for selection records from the pages table based on read-permissions of the current backend user.
- $presetRepository : PresetRepository
- $responseFactory : ResponseFactoryInterface
- $returnUrl : string
- Return URL of list module
- $routeName : string
- $standaloneView : StandaloneView
- $uriBuilder : UriBuilder
Methods
- __construct() : mixed
- Constructor
- mainAction() : ResponseInterface
- Incoming array has syntax:
- preprocessInputData() : array<string|int, mixed>
- processPresets() : array<string|int, mixed>
- Process export preset
- exportData() : array<string|int, mixed>
- Export part of module
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService
- getTableSelectOptions() : array<string|int, mixed>
- Returns option array to be used in Fluid
- main() : void
- makeAdvancedOptionsForm() : void
- Create advanced options form
- makeConfigurationForm() : void
- Create configuration form
- makeSaveForm() : void
- Create configuration form
- registerDocHeaderButtons() : void
- Create the panel of buttons for submitting the form or otherwise perform operations.
Properties
$export
protected
Export
$export
$iconFactory
protected
IconFactory
$iconFactory
$id
Page id
protected
int
$id
$lang
protected
LanguageService
$lang
$moduleTemplate
protected
ModuleTemplate
$moduleTemplate
$moduleTemplateFactory
protected
ModuleTemplateFactory
$moduleTemplateFactory
$pageInfo
Page record of page id
protected
array<string|int, mixed>
$pageInfo
$pageRenderer
protected
PageRenderer
$pageRenderer
$permsClause
A WHERE clause for selection records from the pages table based on read-permissions of the current backend user.
protected
string
$permsClause
$presetRepository
protected
PresetRepository
$presetRepository
$responseFactory
protected
ResponseFactoryInterface
$responseFactory
$returnUrl
Return URL of list module
protected
string
$returnUrl
$routeName
protected
string
$routeName
= 'tx_impexp_export'
$standaloneView
protected
StandaloneView
$standaloneView
$uriBuilder
protected
UriBuilder
$uriBuilder
Methods
__construct()
Constructor
public
__construct(IconFactory $iconFactory, PageRenderer $pageRenderer, UriBuilder $uriBuilder, ModuleTemplateFactory $moduleTemplateFactory, ResponseFactoryInterface $responseFactory) : mixed
Parameters
- $iconFactory : IconFactory
- $pageRenderer : PageRenderer
- $uriBuilder : UriBuilder
- $moduleTemplateFactory : ModuleTemplateFactory
- $responseFactory : ResponseFactoryInterface
mainAction()
Incoming array has syntax:
public
mainAction(ServerRequestInterface $request) : ResponseInterface
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
- $request : ServerRequestInterface
Tags
Return values
ResponseInterfacepreprocessInputData()
public
preprocessInputData(array<string|int, mixed> $inData) : array<string|int, mixed>
Parameters
- $inData : array<string|int, mixed>
Return values
array<string|int, mixed> —Modified data
processPresets()
Process export preset
public
processPresets(array<string|int, mixed> $presetAction, array<string|int, mixed> $inData) : array<string|int, mixed>
Parameters
- $presetAction : array<string|int, mixed>
- $inData : array<string|int, mixed>
Return values
array<string|int, mixed> —Modified data
exportData()
Export part of module
protected
exportData(array<string|int, mixed> $inData) : array<string|int, mixed>
Parameters
- $inData : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —Modified data
getBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetTableSelectOptions()
Returns option array to be used in Fluid
protected
getTableSelectOptions([string $excludeList = '' ]) : array<string|int, mixed>
Parameters
- $excludeList : string = ''
-
Table names (and the string "_ALL") to exclude. Comma list
Return values
array<string|int, mixed>main()
protected
main(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
Tags
makeAdvancedOptionsForm()
Create advanced options form
protected
makeAdvancedOptionsForm() : void
makeConfigurationForm()
Create configuration form
protected
makeConfigurationForm(array<string|int, mixed> $inData) : void
Parameters
- $inData : array<string|int, mixed>
-
Form configuration data
makeSaveForm()
Create configuration form
protected
makeSaveForm(array<string|int, mixed> $inData) : void
Parameters
- $inData : array<string|int, mixed>
-
Form configuration data
registerDocHeaderButtons()
Create the panel of buttons for submitting the form or otherwise perform operations.
protected
registerDocHeaderButtons() : void