ImportExportUtility

Utility for import / export Can be used for API access for simple importing of files.

Internal

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

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

Methods

__construct()

public __construct(EventDispatcherInterface $eventDispatcher) : mixed
Parameters
$eventDispatcher : EventDispatcherInterface

importT3DFile()

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
throws
ErrorException
Return values
int

ID of first created page


        
On this page

Search results