ImportExportUtility
Utility for import / export Can be used for API access for simple importing of files.
This class is not considered part of the public TYPO3 API.
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Properties
- $eventDispatcher : EventDispatcherInterface
- $import : Import|null
Methods
- __construct() : mixed
- getImport() : Import|null
- importT3DFile() : int
- Import a T3D file directly
Properties
$eventDispatcher
protected
EventDispatcherInterface
$eventDispatcher
$import
protected
Import|null
$import
= null
Methods
__construct()
public
__construct(EventDispatcherInterface $eventDispatcher) : mixed
Parameters
- $eventDispatcher : EventDispatcherInterface
getImport()
public
getImport() : Import|null
Return values
Import|nullimportT3DFile()
Import a T3D file directly
public
importT3DFile(string $file, int $pid) : int
Parameters
- $file : string
-
The full absolute path to the file
- $pid : int
-
The pid under which the t3d file should be imported
Tags
Return values
int —ID of first created page