ImportCommand extends Command
Command for importing T3D/XML data files
Table of Contents
Properties
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
$import
protected
Import
$import
Methods
__construct()
public
__construct(Import $import) : mixed
Parameters
- $import : Import
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
intparseAssociativeArray()
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