‪TYPO3CMS  9.5
TYPO3\CMS\Impexp\ImportExport Class Reference
Inheritance diagram for TYPO3\CMS\Impexp\ImportExport:
TYPO3\CMS\Impexp\Export TYPO3\CMS\Impexp\Import

Public Member Functions

 __construct ()
 
 init ()
 
array displayContentOverview ()
 
 traversePageTree ($pT, &$lines, $preCode='')
 
 traversePageRecords ($pT, &$lines)
 
 traverseAllRecords ($pT, &$lines)
 
 singleRecordLines ($table, $uid, &$lines, $preCode, $checkImportInPidRecord=false)
 
 addRelations ($rels, &$lines, $preCode, $recurCheck=[], $htmlColorClass='')
 
 addFiles ($rels, &$lines, $preCode, $htmlColorClass='', $tokenID='')
 
bool checkDokType ($checkTable, $doktype)
 
string renderControls ($r)
 
string softrefSelector ($cfg)
 
string bool verifyFolderAccess ($dirPrefix, $noAlternative=false)
 
array flatInversePageTree ($idH, $a=[])
 
bool isTableStatic ($table)
 
bool inclRelation ($table)
 
bool isExcluded ($table, $uid)
 
bool includeSoftref ($tokenID)
 
bool checkPID ($pid)
 
bool dontIgnorePid ($table, $uid)
 
array doesRecordExist ($table, $uid, $fields='')
 
string getRecordPath ($pid)
 
string renderSelectBox ($prefix, $value, $optValues)
 
string compareRecords ($databaseRecord, $importRecord, $table, $inverseDiff=false)
 
string null getRTEoriginalFilename ($string)
 
ExtendedFileUtility getFileProcObj ()
 
 callHook ($name, $params)
 
TYPO3 CMS Impexp ImportExport setExcludeDisabledRecords ($excludeDisabledRecords=false)
 
 error ($msg)
 
string printErrorLog ()
 

Public Attributes

bool $showStaticRelations = false
 
string $fileadminFolderName = ''
 
string $mode = ''
 
bool $update = false
 
bool $doesImport = false
 
array $display_import_pid_record = array( )
 
array $import_mode = array( )
 
bool $global_ignore_pid = false
 
bool $force_all_UIDS = false
 
bool $showDiff = false
 
bool $allowPHPScripts = false
 
array $softrefInputValues = array( )
 
array $fileIDMap = array( )
 
array $relOnlyTables = array( )
 
array $relStaticTables = array( )
 
array $excludeMap = array( )
 
array $softrefCfg = array( )
 
array $extensionDependencies = array( )
 
array $import_mapId = array( )
 
array $errorLog = array( )
 
array $cache_getRecordPath = array( )
 
array $checkPID_cache = array( )
 
bool $compress = false
 
array $dat = array( )
 

Protected Member Functions

bool isActive ($table, $uid)
 
 excludePageAndRecords ($pageUid, $pageTree)
 
 addGeneralErrorsByTable ($table)
 
string getTemporaryFolderName ()
 
BackendUserAuthentication getBackendUser ()
 
LanguageService getLanguageService ()
 

Protected Attributes

ExtendedFileUtility $fileProcObj
 
array $remainHeader = array( )
 
IconFactory $iconFactory
 
bool $excludeDisabledRecords = false
 

Detailed Description

EXAMPLE for using the impexp-class for exporting stuff:

Create and initialize: $this->export = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Impexp\ImportExport::class); $this->export->init(); Set which tables relations we will allow: $this->export->relOnlyTables[]="tt_news"; // exclusively includes. See comment in the class

Adding records: $this->export->export_addRecord("pages", $this->pageinfo); $this->export->export_addRecord("pages", \TYPO3\CMS\Backend\Utility\BackendUtility::getRecord("pages", 38)); $this->export->export_addRecord("pages", \TYPO3\CMS\Backend\Utility\BackendUtility::getRecord("pages", 39)); $this->export->export_addRecord("tt_content", \TYPO3\CMS\Backend\Utility\BackendUtility::getRecord("tt_content", 12)); $this->export->export_addRecord("tt_content", \TYPO3\CMS\Backend\Utility\BackendUtility::getRecord("tt_content", 74)); $this->export->export_addRecord("sys_template", \TYPO3\CMS\Backend\Utility\BackendUtility::getRecord("sys_template", 20));

Adding all the relations (recursively in 5 levels so relations has THEIR relations registered as well) for($a=0;$a<5;$a++) { $addR = $this->export->export_addDBRelations($a); if (empty($addR)) break; }

Finally load all the files. $this->export->export_addFilesFromRelations(); // MUST be after the DBrelations are set so that file from ALL added records are included!

Write export $out = $this->export->compileMemoryToFileContent();

this is not part of TYPO3's Core API. T3D file Import/Export library (TYPO3 Record Document)

Definition at line 67 of file ImportExport.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Impexp\ImportExport::__construct ( )

The constructor

Definition at line 242 of file ImportExport.php.

Member Function Documentation

◆ addFiles()

TYPO3\CMS\Impexp\ImportExport::addFiles (   $rels,
$lines,
  $preCode,
  $htmlColorClass = '',
  $tokenID = '' 
)

Add file relation entries for a record's rels-array

Parameters
array$rels‪Array of file IDs
array$lines‪Output lines array (is passed by reference and modified)
string$preCode‪Pre-HTML code
string$htmlColorClass‪Alternative HTML color class to use.
string$tokenID‪Token ID if this is a softreference (in which case it only makes sense with a single element in the $rels array!)
See also
singleRecordLines()

Definition at line 703 of file ImportExport.php.

◆ addGeneralErrorsByTable()

TYPO3\CMS\Impexp\ImportExport::addGeneralErrorsByTable (   $table)
protected

◆ addRelations()

TYPO3\CMS\Impexp\ImportExport::addRelations (   $rels,
$lines,
  $preCode,
  $recurCheck = [],
  $htmlColorClass = '' 
)

Add DB relations entries for a record's rels-array

Parameters
array$rels‪Array of relations
array$lines‪Output lines array (is passed by reference and modified)
string$preCode‪Pre-HTML code
array$recurCheck‪Recursivity check stack
string$htmlColorClass‪Alternative HTML color class to use.
See also
singleRecordLines()

Definition at line 639 of file ImportExport.php.

◆ callHook()

◆ checkDokType()

bool TYPO3\CMS\Impexp\ImportExport::checkDokType (   $checkTable,
  $doktype 
)

Verifies that a table is allowed on a certain doktype of a page

Parameters
string$checkTable‪Table name to check
int$doktype‪doktype value.
Returns
‪bool TRUE if OK

Definition at line 803 of file ImportExport.php.

◆ checkPID()

bool TYPO3\CMS\Impexp\ImportExport::checkPID (   $pid)

Checking if a PID is in the webmounts of the user

Parameters
int$pid‪Page ID to check
Returns
‪bool TRUE if OK

Definition at line 1017 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\export_addRecord().

◆ compareRecords()

string TYPO3\CMS\Impexp\ImportExport::compareRecords (   $databaseRecord,
  $importRecord,
  $table,
  $inverseDiff = false 
)

Compares two records, the current database record and the one from the import memory. Will return HTML code to show any differences between them!

Parameters
array$databaseRecord‪Database record, all fields (new values)
array$importRecordImport memorys record for the same table/uid, all fields (old values)
string$table‪The table name of the record
bool$inverseDiff‪Inverse the diff view (switch red/green, needed for pre-update difference view)
Returns
‪string HTML

Definition at line 1100 of file ImportExport.php.

◆ displayContentOverview()

◆ doesRecordExist()

array TYPO3\CMS\Impexp\ImportExport::doesRecordExist (   $table,
  $uid,
  $fields = '' 
)

Checks if the record exists

Parameters
string$table‪Table name
int$uid‪UID of record
string$fields‪Field list to select. Default is "uid,pid
Returns
‪array Result of \TYPO3\CMS\Backend\Utility\BackendUtility::getRecord() which means the record if found, otherwise FALSE

Definition at line 1045 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Import\addSingle().

◆ dontIgnorePid()

bool TYPO3\CMS\Impexp\ImportExport::dontIgnorePid (   $table,
  $uid 
)

Checks if the position of an updated record is configured to be corrected. This can be disabled globally and changed for elements individually.

Parameters
string$table‪Table name
int$uid‪Uid or record
Returns
‪bool TRUE if the position of the record should be updated to match the one in the import structure

Definition at line 1032 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Import\writeRecords_pages_order(), and TYPO3\CMS\Impexp\Import\writeRecords_records_order().

◆ error()

◆ excludePageAndRecords()

TYPO3\CMS\Impexp\ImportExport::excludePageAndRecords (   $pageUid,
  $pageTree 
)
protected

Exclude a page, its sub pages (recursively) and records placed in them from this import/export

Parameters
int$pageUid‪Uid of the page to exclude
array$pageTree‪Page tree array with uid/subrow (from ->dat[header][pagetree]

Definition at line 382 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\ImportExport\traversePageTree().

◆ flatInversePageTree()

array TYPO3\CMS\Impexp\ImportExport::flatInversePageTree (   $idH,
  $a = [] 
)

Recursively flattening the idH array

Parameters
array$idH‪Page uid hierarchy
array$a‪Accumulation array of pages (internal, don't set from outside)
Returns
‪array Array with uid-uid pairs for all pages in the page tree.
See also
Import::flatInversePageTree_pid()

Definition at line 946 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\setPageTree(), TYPO3\CMS\Impexp\Import\writeRecords_pages(), and TYPO3\CMS\Impexp\Import\writeRecords_records_order().

◆ getBackendUser()

BackendUserAuthentication TYPO3\CMS\Impexp\ImportExport::getBackendUser ( )
protected
Returns
‪BackendUserAuthentication

Definition at line 1231 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Import\addSingle(), and TYPO3\CMS\Impexp\ImportExport\singleRecordLines().

◆ getFileProcObj()

ExtendedFileUtility TYPO3\CMS\Impexp\ImportExport::getFileProcObj ( )

Returns file processing object, initialized only once.

Returns
‪ExtendedFileUtility File processor object

Definition at line 1169 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Import\processSoftReferences_saveFile(), TYPO3\CMS\Impexp\Import\processSoftReferences_saveFile_createRelFile(), and TYPO3\CMS\Impexp\Import\writeFileVerify().

◆ getLanguageService()

LanguageService TYPO3\CMS\Impexp\ImportExport::getLanguageService ( )
protected
Returns
‪LanguageService

Definition at line 1239 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\ImportExport\singleRecordLines().

◆ getRecordPath()

string TYPO3\CMS\Impexp\ImportExport::getRecordPath (   $pid)

Returns the page title path of a PID value. Results are cached internally

Parameters
int$pid‪Record PID to check
Returns
‪string The path for the input PID

Definition at line 1056 of file ImportExport.php.

◆ getRTEoriginalFilename()

string null TYPO3\CMS\Impexp\ImportExport::getRTEoriginalFilename (   $string)

Creates the original file name for a copy-RTE image (magic type)

Parameters
string$string‪RTE copy filename, eg. "RTEmagicC_user_pm_icon_01.gif.gif @return string|null RTE original filename, eg. "RTEmagicP_user_pm_icon_01.gif". If the input filename was NOT prefixed RTEmagicC_ as RTE images would be, NULL is returned!

Definition at line 1151 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\export_addFile(), and TYPO3\CMS\Impexp\Import\processSoftReferences_saveFile().

◆ getTemporaryFolderName()

string TYPO3\CMS\Impexp\ImportExport::getTemporaryFolderName ( )
protected

◆ inclRelation()

bool TYPO3\CMS\Impexp\ImportExport::inclRelation (   $table)

Returns TRUE if the input table name is to be included as relation

Parameters
string$table‪Table name
Returns
‪bool TRUE, if table is marked static

Definition at line 980 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\export_addDBRelations_registerRelation().

◆ includeSoftref()

bool TYPO3\CMS\Impexp\ImportExport::includeSoftref (   $tokenID)

Returns TRUE if soft reference should be included in exported file.

Parameters
string$tokenID‪Token ID for soft reference
Returns
‪bool TRUE if softreference media should be included

Definition at line 1005 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\export_addDBRelations(), TYPO3\CMS\Impexp\Export\export_addDBRelations_registerRelation(), and TYPO3\CMS\Impexp\Export\export_addFilesFromRelations().

◆ init()

TYPO3\CMS\Impexp\ImportExport::init ( )

Init the object, both import and export

Reimplemented in TYPO3\CMS\Impexp\Import.

Definition at line 254 of file ImportExport.php.

References $GLOBALS.

◆ isActive()

bool TYPO3\CMS\Impexp\ImportExport::isActive (   $table,
  $uid 
)
protected

Test whether a record is active (i.e. not hidden)

Parameters
string$table‪Name of the records' database table
int$uid‪Database uid of the record
Returns
‪bool true if the record is active, false otherwise

Definition at line 367 of file ImportExport.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Impexp\Export\export_addRecord(), TYPO3\CMS\Impexp\ImportExport\singleRecordLines(), and TYPO3\CMS\Impexp\ImportExport\traversePageTree().

◆ isExcluded()

bool TYPO3\CMS\Impexp\ImportExport::isExcluded (   $table,
  $uid 
)

Returns TRUE if the element should be excluded as static record.

Parameters
string$table‪Table name
int$uid‪UID value
Returns
‪bool TRUE, if table is marked static

Definition at line 994 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\export_addDBRelations_registerRelation(), and TYPO3\CMS\Impexp\Import\setRelations_db().

◆ isTableStatic()

bool TYPO3\CMS\Impexp\ImportExport::isTableStatic (   $table)

Returns TRUE if the input table name is to be regarded as a static relation (that is, not exported etc).

Parameters
string$table‪Table name
Returns
‪bool TRUE, if table is marked static

Definition at line 966 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\export_addDBRelations_registerRelation(), and TYPO3\CMS\Impexp\Import\setRelations_db().

◆ printErrorLog()

string TYPO3\CMS\Impexp\ImportExport::printErrorLog ( )

Returns a table with the error-messages.

Returns
‪string HTML print of error log

Definition at line 1223 of file ImportExport.php.

◆ renderControls()

string TYPO3\CMS\Impexp\ImportExport::renderControls (   $r)

Render input controls for import or export

Parameters
array$r‪Configuration for element
Returns
‪string HTML

Definition at line 820 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\ImportExport\displayContentOverview().

◆ renderSelectBox()

string TYPO3\CMS\Impexp\ImportExport::renderSelectBox (   $prefix,
  $value,
  $optValues 
)

Makes a selector-box from optValues

Parameters
string$prefixForm element name
string$value‪Current value
array$optValues‪Options to display (key/value pairs)
Returns
‪string HTML select element

Definition at line 1073 of file ImportExport.php.

◆ setExcludeDisabledRecords()

TYPO3 CMS Impexp ImportExport TYPO3\CMS\Impexp\ImportExport::setExcludeDisabledRecords (   $excludeDisabledRecords = false)

Set flag to control whether disabled records and their children are excluded (true) or included (false). Defaults to the old behaviour of including everything.

Parameters
bool$excludeDisabledRecords‪Set to true if if all disabled records should be excluded, false otherwise
Returns
‪\TYPO3\CMS\Impexp\ImportExport $this for fluent calls

Definition at line 1198 of file ImportExport.php.

◆ singleRecordLines()

TYPO3\CMS\Impexp\ImportExport::singleRecordLines (   $table,
  $uid,
$lines,
  $preCode,
  $checkImportInPidRecord = false 
)

Add entries for a single record

Parameters
string$table‪Table name
int$uid‪Record uid
array$lines‪Output lines array (is passed by reference and modified)
string$preCode‪Pre-HTML code
bool$checkImportInPidRecord‪If you want import validation, you can set this so it checks if the import can take place on the specified page.

Definition at line 473 of file ImportExport.php.

References $GLOBALS, TYPO3\CMS\Impexp\ImportExport\error(), TYPO3\CMS\Impexp\ImportExport\getBackendUser(), TYPO3\CMS\Impexp\ImportExport\getLanguageService(), and TYPO3\CMS\Impexp\ImportExport\isActive().

Referenced by TYPO3\CMS\Impexp\ImportExport\traverseAllRecords(), TYPO3\CMS\Impexp\ImportExport\traversePageRecords(), and TYPO3\CMS\Impexp\ImportExport\traversePageTree().

◆ softrefSelector()

string TYPO3\CMS\Impexp\ImportExport::softrefSelector (   $cfg)

Selectorbox with export options for soft references

Parameters
array$cfg‪Softref configuration array. An export box is shown only if a substitution scheme is found for the soft reference.
Returns
‪string Selector box HTML

Definition at line 848 of file ImportExport.php.

◆ traverseAllRecords()

TYPO3\CMS\Impexp\ImportExport::traverseAllRecords (   $pT,
$lines 
)

Go through ALL records (if the pages are displayed first, those will not be among these!)

Parameters
array$pT‪Page tree array with uid/subrow (from ->dat[header][pagetree]
array$lines‪Output lines array (is passed by reference and modified)

Definition at line 436 of file ImportExport.php.

References TYPO3\CMS\Impexp\ImportExport\addGeneralErrorsByTable(), and TYPO3\CMS\Impexp\ImportExport\singleRecordLines().

Referenced by TYPO3\CMS\Impexp\ImportExport\displayContentOverview().

◆ traversePageRecords()

TYPO3\CMS\Impexp\ImportExport::traversePageRecords (   $pT,
$lines 
)

Go through remaining pages (not in tree)

Parameters
array$pT‪Page tree array with uid/subrow (from ->dat[header][pagetree]
array$lines‪Output lines array (is passed by reference and modified)

Definition at line 412 of file ImportExport.php.

References TYPO3\CMS\Impexp\ImportExport\singleRecordLines().

Referenced by TYPO3\CMS\Impexp\ImportExport\displayContentOverview().

◆ traversePageTree()

TYPO3\CMS\Impexp\ImportExport::traversePageTree (   $pT,
$lines,
  $preCode = '' 
)

Go through page tree for display

Parameters
array$pT‪Page tree array with uid/subrow (from ->dat[header][pagetree]
array$lines‪Output lines array (is passed by reference and modified)
string$preCode‪Pre-HTML code

Definition at line 332 of file ImportExport.php.

References TYPO3\CMS\Impexp\ImportExport\excludePageAndRecords(), TYPO3\CMS\Impexp\ImportExport\isActive(), and TYPO3\CMS\Impexp\ImportExport\singleRecordLines().

Referenced by TYPO3\CMS\Impexp\ImportExport\displayContentOverview().

◆ verifyFolderAccess()

string bool TYPO3\CMS\Impexp\ImportExport::verifyFolderAccess (   $dirPrefix,
  $noAlternative = false 
)

Verifies that the input path relative to public web path is found in the backend users filemounts. If it doesn't it will try to find another relative filemount for the user and return an alternative path prefix for the file.

Parameters
string$dirPrefix‪Path relative to public web path
bool$noAlternative‪If set, Do not look for alternative path! Just return FALSE
Returns
‪string|bool If a path is available that will be returned, otherwise FALSE.

Definition at line 899 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Import\processSoftReferences_saveFile_createRelFile().

Member Data Documentation

◆ $allowPHPScripts

bool TYPO3\CMS\Impexp\ImportExport::$allowPHPScripts = false

If set, and if the user is admin, allow the writing of PHP scripts to fileadmin/ area.

Definition at line 135 of file ImportExport.php.

◆ $cache_getRecordPath

array TYPO3\CMS\Impexp\ImportExport::$cache_getRecordPath = array( )

Cache for record paths

Definition at line 197 of file ImportExport.php.

◆ $checkPID_cache

array TYPO3\CMS\Impexp\ImportExport::$checkPID_cache = array( )

Cache of checkPID values.

Definition at line 203 of file ImportExport.php.

◆ $compress

bool TYPO3\CMS\Impexp\ImportExport::$compress = false

Set internally if the gzcompress function exists Used by ImportExportController

Definition at line 210 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\addFilePart(), and TYPO3\CMS\Impexp\Export\compileMemoryToFileContent().

◆ $dat

◆ $display_import_pid_record

array TYPO3\CMS\Impexp\ImportExport::$display_import_pid_record = array( )

If set to a page-record, then the preview display of the content will expect this page-record to be the target for the import and accordingly display validation information. This triggers the visual view of the import/export memory to validate if import is possible

Definition at line 105 of file ImportExport.php.

◆ $doesImport

bool TYPO3\CMS\Impexp\ImportExport::$doesImport = false

Is set by importData() when an import has been done.

Definition at line 97 of file ImportExport.php.

◆ $errorLog

array TYPO3\CMS\Impexp\ImportExport::$errorLog = array( )

Error log.

Definition at line 191 of file ImportExport.php.

◆ $excludeDisabledRecords

bool TYPO3\CMS\Impexp\ImportExport::$excludeDisabledRecords = false
protected

Flag to control whether all disabled records and their children are excluded (true) or included (false). Defaults to the old behaviour of including everything.

Definition at line 237 of file ImportExport.php.

◆ $excludeMap

array TYPO3\CMS\Impexp\ImportExport::$excludeMap = array( )

Exclude map. Keys are table:uid pairs and if set, records are not added to the export.

Definition at line 167 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\setHeaderBasics().

◆ $extensionDependencies

array TYPO3\CMS\Impexp\ImportExport::$extensionDependencies = array( )

Listing extension dependencies.

Definition at line 179 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\setHeaderBasics().

◆ $fileadminFolderName

string TYPO3\CMS\Impexp\ImportExport::$fileadminFolderName = ''

Name of the "fileadmin" folder where files for export/import should be located

Definition at line 79 of file ImportExport.php.

◆ $fileIDMap

array TYPO3\CMS\Impexp\ImportExport::$fileIDMap = array( )

Mapping between the fileID from import memory and the final filenames they are written to.

Definition at line 147 of file ImportExport.php.

◆ $fileProcObj

◆ $force_all_UIDS

bool TYPO3\CMS\Impexp\ImportExport::$force_all_UIDS = false

If set, all UID values are forced! (update or import)

Definition at line 123 of file ImportExport.php.

◆ $global_ignore_pid

bool TYPO3\CMS\Impexp\ImportExport::$global_ignore_pid = false

If set, PID correct is ignored globally

Definition at line 117 of file ImportExport.php.

◆ $iconFactory

IconFactory TYPO3\CMS\Impexp\ImportExport::$iconFactory
protected

Definition at line 230 of file ImportExport.php.

◆ $import_mapId

array TYPO3\CMS\Impexp\ImportExport::$import_mapId = array( )

After records are written this array is filled with [table][original_uid] = [new_uid]

Definition at line 185 of file ImportExport.php.

◆ $import_mode

array TYPO3\CMS\Impexp\ImportExport::$import_mode = array( )

Setting import modes during update state: as_new, exclude, force_uid

Definition at line 111 of file ImportExport.php.

◆ $mode

string TYPO3\CMS\Impexp\ImportExport::$mode = ''

Whether "import" or "export" mode of object. Set through init() function

Definition at line 85 of file ImportExport.php.

◆ $relOnlyTables

array TYPO3\CMS\Impexp\ImportExport::$relOnlyTables = array( )

Add table names here which are THE ONLY ones which will be included into export if found as relations. '_ALL' will allow all tables.

Definition at line 154 of file ImportExport.php.

◆ $relStaticTables

array TYPO3\CMS\Impexp\ImportExport::$relStaticTables = array( )

Add tables names here which should not be exported with the file. (Where relations should be mapped to same UIDs in target system).

Definition at line 161 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\setHeaderBasics().

◆ $remainHeader

array TYPO3\CMS\Impexp\ImportExport::$remainHeader = array( )
protected

Definition at line 226 of file ImportExport.php.

◆ $showDiff

bool TYPO3\CMS\Impexp\ImportExport::$showDiff = false

If set, a diff-view column is added to the overview.

Definition at line 129 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\ImportExport\displayContentOverview().

◆ $showStaticRelations

bool TYPO3\CMS\Impexp\ImportExport::$showStaticRelations = false

If set, static relations (not exported) will be shown in overview as well

Definition at line 73 of file ImportExport.php.

◆ $softrefCfg

array TYPO3\CMS\Impexp\ImportExport::$softrefCfg = array( )

Soft Reference Token ID modes.

Definition at line 173 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\Export\setHeaderBasics().

◆ $softrefInputValues

array TYPO3\CMS\Impexp\ImportExport::$softrefInputValues = array( )

Array of values to substitute in editable softreferences.

Definition at line 141 of file ImportExport.php.

◆ $update

bool TYPO3\CMS\Impexp\ImportExport::$update = false

Updates all records that has same UID instead of creating new!

Definition at line 91 of file ImportExport.php.

Referenced by TYPO3\CMS\Impexp\ImportExport\displayContentOverview().