ExportController

class \TYPO3\CMS\Impexp\Controller\ExportController

Extends
ImportExportController

Main script class for the Export facility

Table of Contents

Properties

$export  : Export
$iconFactory  : IconFactory
$id  : int
Page id
$lang  : LanguageService
$moduleTemplate  : ModuleTemplate
$moduleTemplateFactory  : ModuleTemplateFactory
$pageInfo  : array
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
processPresets()  : array
Process export preset
exportData()  : array
Export part of module
getBackendUser()  : BackendUserAuthentication
getLanguageService()  : LanguageService
getTableSelectOptions()  : array
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 $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 $inData) : array

Parameters

$inData : array

Return values

array —

Modified data

processPresets()

Process export preset

public processPresets(array $presetAction, array $inData) : array

Parameters

$presetAction : array
$inData : array

Return values

array —

Modified data

getTableSelectOptions()

Returns option array to be used in Fluid

protected getTableSelectOptions([string $excludeList = '' ]) : array

Parameters

$excludeList : string = ''

Table names (and the string "_ALL") to exclude. Comma list

Return values

array

makeAdvancedOptionsForm()

Create advanced options form

protected makeAdvancedOptionsForm() : void

makeConfigurationForm()

Create configuration form

protected makeConfigurationForm(array $inData) : void

Parameters

$inData : array

Form configuration data

makeSaveForm()

Create configuration form

protected makeSaveForm(array $inData) : void

Parameters

$inData : array

Form configuration data

registerDocHeaderButtons()

Create the panel of buttons for submitting the form or otherwise perform operations.

protected registerDocHeaderButtons() : void
On this page