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

Public Member Functions

 __construct (protected readonly IconFactory $iconFactory, protected readonly ModuleTemplateFactory $moduleTemplateFactory, protected readonly ExtendedFileUtility $fileProcessor, protected readonly ResourceFactory $resourceFactory)
 
 handleRequest (ServerRequestInterface $request)
 

Protected Member Functions

 addDocHeaderPreviewButton (ModuleTemplate $view, int $pageUid)
 
 handleFileUpload (ServerRequestInterface $request)
 
 configureImportFromFormDataAndImportIfRequested (ModuleTemplate $view, int $id, array $inputData)
 
 getFilePathWithinFileMountBoundaries (string $filePath)
 
 getSelectableFileList (Import $import)
 
 getBackendUser ()
 
 getLanguageService ()
 

Protected Attributes

const NO_UPLOAD = 0
 
const UPLOAD_DONE = 1
 
const UPLOAD_FAILED = 2
 

Detailed Description

Import module controller

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

Definition at line 49 of file ImportController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Impexp\Controller\ImportController::__construct ( protected readonly IconFactory  $iconFactory,
protected readonly ModuleTemplateFactory  $moduleTemplateFactory,
protected readonly ExtendedFileUtility  $fileProcessor,
protected readonly ResourceFactory  $resourceFactory 
)

Definition at line 55 of file ImportController.php.

Member Function Documentation

◆ addDocHeaderPreviewButton()

◆ configureImportFromFormDataAndImportIfRequested()

TYPO3\CMS\Impexp\Controller\ImportController::configureImportFromFormDataAndImportIfRequested ( ModuleTemplate  $view,
int  $id,
array  $inputData 
)
protected

◆ getBackendUser()

TYPO3\CMS\Impexp\Controller\ImportController::getBackendUser ( )
protected

◆ getFilePathWithinFileMountBoundaries()

TYPO3\CMS\Impexp\Controller\ImportController::getFilePathWithinFileMountBoundaries ( string  $filePath)
protected

◆ getLanguageService()

TYPO3\CMS\Impexp\Controller\ImportController::getLanguageService ( )
protected

◆ getSelectableFileList()

TYPO3\CMS\Impexp\Controller\ImportController::getSelectableFileList ( Import  $import)
protected

◆ handleFileUpload()

TYPO3\CMS\Impexp\Controller\ImportController::handleFileUpload ( ServerRequestInterface  $request)
protected

◆ handleRequest()

Member Data Documentation

◆ NO_UPLOAD

const TYPO3\CMS\Impexp\Controller\ImportController::NO_UPLOAD = 0
protected

◆ UPLOAD_DONE

const TYPO3\CMS\Impexp\Controller\ImportController::UPLOAD_DONE = 1
protected

◆ UPLOAD_FAILED

const TYPO3\CMS\Impexp\Controller\ImportController::UPLOAD_FAILED = 2
protected