ImportCommand extends Command

Command for importing T3D/XML data files

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.
triggerCommandOptionDeprecation()  : void

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>

triggerCommandOptionDeprecation()

protected triggerCommandOptionDeprecation(string $deprecatedName, string $actualName) : void
Deprecated

since v11, will be removed in v12. Drop all options below and look for other fallbacks in the class.

Parameters
$deprecatedName : string
$actualName : string

        
On this page

Search results