ImportCommand

class \TYPO3\CMS\Impexp\Command\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
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

Parameters

$input : InputInterface
$optionName : string
$separator : string

Return values

array
On this page