ExportController extends ImportExportController

Main script class for the Export facility

Internal

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

$pageInfo

Page record of page id

protected array<string|int, mixed> $pageInfo

$permsClause

A WHERE clause for selection records from the pages table based on read-permissions of the current backend user.

protected string $permsClause

$responseFactory

protected ResponseFactoryInterface $responseFactory

$returnUrl

Return URL of list module

protected string $returnUrl

$routeName

protected string $routeName = 'tx_impexp_export'

Methods

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
throws
ExistingTargetFileNameException
Return values
ResponseInterface

preprocessInputData()

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
throws
ExistingTargetFileNameException
Return values
array<string|int, mixed>

Modified data

getTableSelectOptions()

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>

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

        
On this page

Search results