ImportCommand extends Command

Command for importing T3D/XML data files

Attributes
#[AsCommand]
'impexp:import'
'Imports a T3D / XML file with content into a page tree'

Table of Contents

Properties

$import  : Import

Methods

__construct()  : mixed
configure()  : void
Configure the command by defining the name, options and arguments
execute()  : int
Executes the command for importing a t3d/xml file into the TYPO3 system
parseAssociativeArray()  : array<string|int, mixed>
Parse a basic commandline option array into an associative array by splitting each entry into a key part and a value part using a specific separator.

Properties

Methods

configure()

Configure the command by defining the name, options and arguments

protected configure() : void

execute()

Executes the command for importing a t3d/xml file into the TYPO3 system

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

parseAssociativeArray()

Parse a basic commandline option array into an associative array by splitting each entry into a key part and a value part using a specific separator.

protected parseAssociativeArray(InputInterface &$input, string $optionName, string $separator) : array<string|int, mixed>
Parameters
$input : InputInterface
$optionName : string
$separator : string
Return values
array<string|int, mixed>

        
On this page

Search results