TYPO3
7.6
|
Public Member Functions | |
__construct () | |
init ($dontCompress=false, $mode= '') | |
setHeaderBasics () | |
setCharset ($charset) | |
setMetaData ($title, $description, $notes, $packager_username, $packager_name, $packager_email) | |
setSaveFilesOutsideExportFile ($saveFilesOutsideExportFile) | |
addThumbnail ($imgFilepath) | |
setPageTree ($idH) | |
unsetExcludedSections ($idH) | |
flatInversePageTree ($idH, $a=array()) | |
flatInversePageTree_pid ($idH, $a=array(), $pid=-1) | |
setRecordTypesIncludeFields (array $recordTypesIncludeFields) | |
setRecordTypeIncludeFields ($table, array $fields) | |
export_addRecord ($table, $row, $relationLevel=0) | |
export_addDBRelations ($relationLevel=0) | |
export_addDBRelations_registerRelation ($fI, &$addR, $tokenID= '') | |
export_addFilesFromRelations () | |
export_addFilesFromSysFilesRecords () | |
export_addSysFile (\TYPO3\CMS\Core\Resource\File $file) | |
export_addFile ($fI, $recordRef= '', $fieldname= '') | |
getTemporaryFilesPathForExport () | |
flatDBrels ($dbrels) | |
flatSoftRefs ($dbrels) | |
compileMemoryToFileContent ($type= '') | |
createXML () | |
doOutputCompress () | |
addFilePart ($data, $compress=false) | |
importData ($pid) | |
writeRecords_pages ($pid) | |
writeRecords_pages_order ($pid) | |
writeRecords_records ($pid) | |
writeRecords_records_order ($mainPid) | |
addSingle ($table, $uid, $pid) | |
addToMapId ($substNEWwithIDs) | |
getNewTCE () | |
unlinkTempFiles () | |
setRelations () | |
setRelations_db ($itemArray, $itemConfig) | |
import_addFileNameToBeCopied ($fI) | |
setFlexFormRelations () | |
remapListedDBRecords_flexFormCallBack ($pParams, $dsConf, $dataValue, $dataValue_ext1, $dataValue_ext2, $path) | |
processSoftReferences_flexFormCallBack ($pParams, $dsConf, $dataValue, $dataValue_ext1, $dataValue_ext2, $path) | |
processSoftReferences_substTokens ($tokenizedContent, $softRefCfgs, $table, $uid) | |
processSoftReferences_saveFile ($relFileName, $cfg, $table, $uid) | |
processSoftReferences_saveFile_createRelFile ($origDirPrefix, $fileName, $fileID, $table, $uid) | |
writeFileVerify ($fileName, $fileID, $bypassMountCheck=false) | |
checkOrCreateDir ($dirPrefix) | |
verifyFolderAccess ($dirPrefix, $noAlternative=false) | |
loadFile ($filename, $all=false) | |
getNextFilePart ($fd, $unserialize=false, $name= '') | |
loadContent ($filecontent) | |
getNextContentPart ($filecontent, &$pointer, $unserialize=false, $name= '') | |
loadInit () | |
fixCharsets () | |
displayContentOverview () | |
traversePageTree ($pT, &$lines, $preCode= '') | |
traversePageRecords ($pT, &$lines) | |
traverseAllRecords ($pT, &$lines) | |
singleRecordLines ($table, $uid, &$lines, $preCode, $checkImportInPidRecord=false) | |
addRelations ($rels, &$lines, $preCode, $recurCheck=array(), $htmlColorClass= '') | |
addFiles ($rels, &$lines, $preCode, $htmlColorClass= '', $tokenID= '') | |
checkDokType ($checkTable, $doktype) | |
renderControls ($r) | |
softrefSelector ($cfg) | |
isTableStatic ($table) | |
inclRelation ($table) | |
isExcluded ($table, $uid) | |
includeSoftref ($tokenID) | |
checkPID ($pid) | |
dontIgnorePid ($table, $uid) | |
doesRecordExist ($table, $uid, $fields= '') | |
getRecordPath ($pid) | |
renderSelectBox ($prefix, $value, $optValues) | |
compareRecords ($databaseRecord, $importRecord, $table, $inverseDiff=false) | |
getRTEoriginalFilename ($string) | |
getFileProcObj () | |
callHook ($name, $params) | |
error ($msg) | |
printErrorLog () | |
Public Attributes | |
$showStaticRelations = false | |
$fileadminFolderName = '' | |
$mode = '' | |
$update = false | |
$doesImport = false | |
$display_import_pid_record = array() | |
$suggestedInsertUids = array() | |
$import_mode = array() | |
$global_ignore_pid = false | |
$force_all_UIDS = false | |
$showDiff = false | |
$allowPHPScripts = false | |
$enableLogging = false | |
$softrefInputValues = array() | |
$fileIDMap = array() | |
$maxFileSize = 1000000 | |
$maxRecordSize = 1000000 | |
$maxExportSize = 10000000 | |
$relOnlyTables = array() | |
$relStaticTables = array() | |
$excludeMap = array() | |
$softrefCfg = array() | |
$extensionDependencies = array() | |
$dontCompress = false | |
$includeExtFileResources = false | |
$extFileResourceExtensions = 'html,htm,css' | |
$import_mapId = array() | |
$import_newId = array() | |
$import_newId_pids = array() | |
$import_data = array() | |
$errorLog = array() | |
$cache_getRecordPath = array() | |
$checkPID_cache = array() | |
$compress = false | |
$dat = array() | |
Protected Member Functions | |
fixFileIDsInRelations (array $relations) | |
removeSoftrefsHavingTheSameDatabaseRelation ($relations) | |
getTemporaryFolderName () | |
filterRecordFields ($table, array $row) | |
initializeImport () | |
isFallbackStorage ($storageId) | |
fixUidLocalInSysFileReferenceRecords ($oldFileUid, $newFileUid) | |
fetchStorageRecords () | |
writeTemporaryFileFromData ($fileId, $dataKey= 'files_fal') | |
writeSysFileResourceForLegacyImport (&$fileName, $fileId) | |
migrateLegacyImportRecords () | |
addGeneralErrorsByTable ($table) | |
Protected Attributes | |
$fileProcObj = null | |
$recordTypesIncludeFields = array() | |
$defaultRecordIncludeFields = array('uid', 'pid') | |
$storageObjects = array() | |
$legacyImport = false | |
$legacyImportFolder = null | |
$legacyImportTargetPath = '_imported/' | |
$legacyImportMigrationTables | |
$legacyImportMigrationRecords = array() | |
$saveFilesOutsideExportFile = false | |
$temporaryFilesPathForExport = null | |
$filesPathForImport = null | |
$unlinkFiles = array() | |
$alternativeFileName = array() | |
$alternativeFilePath = array() | |
$filePathMap = array() | |
$remainHeader = array() | |
$iconFactory | |
EXAMPLE for using the impexp-class for exporting stuff:
Create and initialize: $this->export = ::makeInstance(::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", ::getRecord("pages", 38)); $this->export->export_addRecord("pages", ::getRecord("pages", 39)); $this->export->export_addRecord("tt_content", ::getRecord("tt_content", 12)); $this->export->export_addRecord("tt_content", ::getRecord("tt_content", 74)); $this->export->export_addRecord("sys_template", ::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(); T3D file Import/Export library (TYPO3 Record Document)
Definition at line 62 of file ImportExport.php.
__construct | ( | ) |
The constructor
Definition at line 447 of file ImportExport.php.
References GeneralUtility\makeInstance().
addFilePart | ( | $data, | |
$compress = false |
|||
) |
Returns a content part for a filename being build.
array | $data | Data to store in part |
bool | $compress | Compress file? |
Definition at line 1527 of file ImportExport.php.
References ImportExport\$compress.
Referenced by ImportExport\compileMemoryToFileContent().
addFiles | ( | $rels, | |
& | $lines, | ||
$preCode, | |||
$htmlColorClass = '' , |
|||
$tokenID = '' |
|||
) |
Add file relation entries for a record's rels-array
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!) |
Definition at line 3876 of file ImportExport.php.
|
protected |
Log general error message for a given table
string | $table | database table name |
Definition at line 3623 of file ImportExport.php.
References ImportExport\error().
Referenced by ImportExport\traverseAllRecords(), ImportExport\writeRecords_pages(), and ImportExport\writeRecords_records().
addRelations | ( | $rels, | |
& | $lines, | ||
$preCode, | |||
$recurCheck = array() , |
|||
$htmlColorClass = '' |
|||
) |
Add DB relations entries for a record's rels-array
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. |
Definition at line 3809 of file ImportExport.php.
addSingle | ( | $table, | |
$uid, | |||
$pid | |||
) |
Adds a single record to the $importData array. Also copies files to tempfolder. However all File/DB-references and flexform field contents are set to blank for now! That is done with setRelations() later
string | $table | Table name (from import memory) |
int | $uid | Record UID (from import memory) |
int | $pid | Page id |
Definition at line 2141 of file ImportExport.php.
References $GLOBALS, ImportExport\doesRecordExist(), elseif, ImportExport\error(), and StringUtility\getUniqueId().
Referenced by ImportExport\writeRecords_pages(), and ImportExport\writeRecords_records().
addThumbnail | ( | $imgFilepath | ) |
Sets a thumbnail image to the exported file
string | $imgFilepath | Filename reference, gif, jpg, png. Absolute path. |
Definition at line 559 of file ImportExport.php.
References PathUtility\basename(), and GeneralUtility\getUrl().
addToMapId | ( | $substNEWwithIDs | ) |
Registers the substNEWids in memory.
array | $substNEWwithIDs | From tcemain to be merged into internal mapping variable in this object |
Definition at line 2235 of file ImportExport.php.
References elseif, and ImportExport\error().
Referenced by ImportExport\writeRecords_pages(), and ImportExport\writeRecords_records().
callHook | ( | $name, | |
$params | |||
) |
Call Hook
string | $name | Name of the hook |
array | $params | Array with params |
Definition at line 4300 of file ImportExport.php.
Referenced by ImportExport\setFlexFormRelations(), ImportExport\setRelations(), ImportExport\writeRecords_pages(), ImportExport\writeRecords_pages_order(), ImportExport\writeRecords_records(), and ImportExport\writeRecords_records_order().
checkDokType | ( | $checkTable, | |
$doktype | |||
) |
Verifies that a table is allowed on a certain doktype of a page
string | $checkTable | Table name to check |
int | $doktype | doktype value. |
Definition at line 3982 of file ImportExport.php.
checkOrCreateDir | ( | $dirPrefix | ) |
Returns TRUE if directory exists and if it doesn't it will create directory and return TRUE if that succeeded.
string | $dirPrefix | Directory to create. Having a trailing slash. Must be in fileadmin/. Relative to PATH_site |
Definition at line 3168 of file ImportExport.php.
References elseif, ImportExport\error(), GeneralUtility\getFileAbsFileName(), and GeneralUtility\mkdir().
Referenced by ImportExport\processSoftReferences_saveFile_createRelFile().
checkPID | ( | $pid | ) |
Checking if a PID is in the webmounts of the user
int | $pid | Page ID to check |
Definition at line 4131 of file ImportExport.php.
Referenced by ImportExport\export_addRecord().
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!
array | $databaseRecord | Database record, all fields (new values) |
array | $importRecord | Import 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) |
Definition at line 4214 of file ImportExport.php.
compileMemoryToFileContent | ( | $type = '' | ) |
This compiles and returns the data content for an exported file
string | $type | Type of output; "xml" gives xml, otherwise serialized array, possibly compressed. |
Definition at line 1394 of file ImportExport.php.
References ImportExport\$compress, ImportExport\addFilePart(), ImportExport\createXML(), and ImportExport\doOutputCompress().
createXML | ( | ) |
Creates XML string from input array
Definition at line 1418 of file ImportExport.php.
References GeneralUtility\array2xml().
Referenced by ImportExport\compileMemoryToFileContent().
displayContentOverview | ( | ) |
Displays an overview of the header-content.
Definition at line 3451 of file ImportExport.php.
References $GLOBALS, ImportExport\error(), GeneralUtility\formatSize(), ImportExport\renderControls(), ImportExport\traverseAllRecords(), ImportExport\traversePageRecords(), and ImportExport\traversePageTree().
doesRecordExist | ( | $table, | |
$uid, | |||
$fields = '' |
|||
) |
Checks if the record exists
string | $table | Table name |
int | $uid | UID of record |
string | $fields | Field list to select. Default is "uid,pid |
Definition at line 4159 of file ImportExport.php.
Referenced by ImportExport\addSingle().
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.
string | $table | Table name |
int | $uid | Uid or record |
Definition at line 4146 of file ImportExport.php.
Referenced by ImportExport\writeRecords_pages_order(), and ImportExport\writeRecords_records_order().
doOutputCompress | ( | ) |
Returns TRUE if the output should be compressed.
Definition at line 1515 of file ImportExport.php.
References ImportExport\$dontCompress.
Referenced by ImportExport\compileMemoryToFileContent().
error | ( | $msg | ) |
Sets error message in the internal error log
string | $msg | Error message |
Definition at line 4319 of file ImportExport.php.
Referenced by ImportExport\addGeneralErrorsByTable(), ImportExport\addSingle(), ImportExport\addToMapId(), ImportExport\checkOrCreateDir(), ImportExport\displayContentOverview(), ImportExport\export_addDBRelations(), ImportExport\export_addFile(), ImportExport\export_addFilesFromRelations(), ImportExport\export_addRecord(), ImportExport\export_addSysFile(), ImportExport\fixCharsets(), ImportExport\getNextContentPart(), ImportExport\getNextFilePart(), ImportExport\import_addFileNameToBeCopied(), ImportExport\loadFile(), ImportExport\processSoftReferences_saveFile(), ImportExport\processSoftReferences_saveFile_createRelFile(), ImportExport\setFlexFormRelations(), ImportExport\setRelations(), ImportExport\setRelations_db(), ImportExport\singleRecordLines(), ImportExport\unlinkTempFiles(), ImportExport\writeFileVerify(), ImportExport\writeRecords_records(), ImportExport\writeSysFileResourceForLegacyImport(), and ImportExport\writeTemporaryFileFromData().
export_addDBRelations | ( | $relationLevel = 0 | ) |
This analyses the existing added records, finds all database relations to records and adds these records to the export file. This function can be called repeatedly until it returns an empty array. In principle it should not allow to infinite recursivity, but you better set a limit... Call this BEFORE the ext_addFilesFromRelations (so files from added relations are also included of course)
int | $relationLevel | Recursion level |
Definition at line 839 of file ImportExport.php.
References ImportExport\error(), ImportExport\export_addDBRelations_registerRelation(), ImportExport\export_addRecord(), BackendUtility\getRecord(), and ImportExport\includeSoftref().
export_addDBRelations_registerRelation | ( | $fI, | |
& | $addR, | ||
$tokenID = '' |
|||
) |
Helper function for export_addDBRelations()
array | $fI | Array with table/id keys to add |
array | $addR | Add array, passed by reference to be modified |
string | $tokenID | Softref Token ID, if applicable. |
Definition at line 937 of file ImportExport.php.
References $GLOBALS, ImportExport\inclRelation(), ImportExport\includeSoftref(), ImportExport\isExcluded(), and ImportExport\isTableStatic().
Referenced by ImportExport\export_addDBRelations().
export_addFile | ( | $fI, | |
$recordRef = '' , |
|||
$fieldname = '' |
|||
) |
Adds a files content to the export memory
array | $fI | File information with three keys: "filename" = filename without path, "ID_absFile" = absolute filepath to the file (including the filename), "ID" = md5 hash of "ID_absFile". "relFileName" is optional for files attached to records, but mandatory for soft referenced files (since the relFileName determines where such a file should be stored!) |
string | $recordRef | If the file is related to a record, this is the id on the form [table]:[id]. Information purposes only. |
string | $fieldname | If the file is related to a record, this is the field name it was related to. Information purposes only. |
Definition at line 1129 of file ImportExport.php.
References $GLOBALS, PathUtility\basename(), PathUtility\dirname(), ImportExport\error(), GeneralUtility\formatSize(), GeneralUtility\getFileAbsFileName(), ImportExport\getRTEoriginalFilename(), ImportExport\getTemporaryFilesPathForExport(), GeneralUtility\getUrl(), GeneralUtility\inList(), GeneralUtility\isFirstPartOfStr(), GeneralUtility\makeInstance(), GeneralUtility\resolveBackPath(), PathUtility\stripPathSitePrefix(), and GeneralUtility\upload_copy_move().
Referenced by ImportExport\export_addFilesFromRelations().
export_addFilesFromRelations | ( | ) |
This adds all files in relations. Call this method AFTER adding all records including relations.
Definition at line 958 of file ImportExport.php.
References PathUtility\basename(), ImportExport\error(), ImportExport\export_addFile(), GeneralUtility\getFileAbsFileName(), and ImportExport\includeSoftref().
export_addFilesFromSysFilesRecords | ( | ) |
This adds all files from sys_file records
Definition at line 1049 of file ImportExport.php.
References ImportExport\export_addSysFile(), and ResourceFactory\getInstance().
export_addRecord | ( | $table, | |
$row, | |||
$relationLevel = 0 |
|||
) |
Adds the record $row from $table. No checking for relations done here. Pure data.
string | $table | Table name |
array | $row | Record row. |
int | $relationLevel | (Internal) if the record is added as a relation, this is set to the "level" it was on. |
Definition at line 701 of file ImportExport.php.
References ImportExport\checkPID(), ImportExport\error(), ImportExport\filterRecordFields(), GeneralUtility\fixed_lgd_cs(), ImportExport\fixFileIDsInRelations(), ImportExport\flatDBrels(), ImportExport\flatSoftRefs(), GeneralUtility\formatSize(), BackendUtility\getRecordTitle(), GeneralUtility\makeInstance(), ImportExport\removeSoftrefsHavingTheSameDatabaseRelation(), and BackendUtility\workspaceOL().
Referenced by ImportExport\export_addDBRelations().
export_addSysFile | ( | \TYPO3\CMS\Core\Resource\File | $file | ) |
Adds a files content from a sys file record to the export memory
\TYPO3\CMS\Core\Resource\File | $file |
Definition at line 1067 of file ImportExport.php.
References ImportExport\$maxFileSize, ImportExport\error(), GeneralUtility\formatSize(), ImportExport\getTemporaryFilesPathForExport(), and GeneralUtility\upload_copy_move().
Referenced by ImportExport\export_addFilesFromSysFilesRecords().
|
protected |
Fetched fresh storage records from database because the new imported ones are not in cached data of the StorageRepository
Definition at line 1873 of file ImportExport.php.
References $GLOBALS, BackendUtility\BEenableFields(), and BackendUtility\deleteClause().
|
protected |
If include fields for a specific record type are set, the data are filtered out with fields are not included in the fields.
string | $table | The record type to be filtered |
array | $row | The data to be filtered |
Definition at line 1364 of file ImportExport.php.
Referenced by ImportExport\export_addRecord().
fixCharsets | ( | ) |
Fix charset of import memory if different from system charset
Definition at line 3418 of file ImportExport.php.
References $GLOBALS, and ImportExport\error().
Referenced by ImportExport\loadInit().
|
protected |
This changes the file reference ID from a hash based on the absolute file path (coming from ReferenceIndex) to a hash based on the relative file path.
array | $relations |
Definition at line 759 of file ImportExport.php.
References GeneralUtility\isFirstPartOfStr(), and PathUtility\stripPathSitePrefix().
Referenced by ImportExport\export_addRecord().
|
protected |
Normally the importer works like the following: Step 1: import the records with cleared field values of relation fields (see addSingle()) Step 2: update the records with the right relation ids (see setRelations())
In step 2 the saving fields of type "relation to sys_file_reference" checks the related sys_file_reference record (created in step 1) with the FileExtensionFilter for matching file extensions of the related file. To make this work correct, the uid_local of sys_file_reference records has to be not empty AND has to relate to the correct (imported) sys_file record uid!!!
This is fixed here.
int | $oldFileUid | |
int | $newFileUid |
Definition at line 1829 of file ImportExport.php.
flatDBrels | ( | $dbrels | ) |
DB relations flattend to 1-dim array. The list will be unique, no table/uid combination will appear twice.
array | $dbrels | 2-dim Array of database relations organized by table key |
Definition at line 1290 of file ImportExport.php.
References ImportExport\$dat, and $list.
Referenced by ImportExport\export_addRecord().
flatInversePageTree | ( | $idH, | |
$a = array() |
|||
) |
Recursively flattening the idH array (for setPageTree() function)
array | $idH | Page uid hierarchy |
array | $a | Accumulation array of pages (internal, don't set from outside) |
Definition at line 622 of file ImportExport.php.
Referenced by ImportExport\setPageTree(), ImportExport\writeRecords_pages(), and ImportExport\writeRecords_records_order().
flatInversePageTree_pid | ( | $idH, | |
$a = array() , |
|||
$pid = -1 |
|||
) |
Recursively flattening the idH array (for setPageTree() function), setting PIDs as values
array | $idH | Page uid hierarchy |
array | $a | Accumulation array of pages (internal, don't set from outside) |
int | $pid | PID value (internal) |
Definition at line 645 of file ImportExport.php.
Referenced by ImportExport\writeRecords_pages_order().
flatSoftRefs | ( | $dbrels | ) |
Soft References flattend to 1-dim array.
array | $dbrels | 2-dim Array of database relations organized by table key |
Definition at line 1316 of file ImportExport.php.
References ImportExport\$dat, and $list.
Referenced by ImportExport\export_addRecord().
getFileProcObj | ( | ) |
Returns file processing object, initialized only once.
Definition at line 4283 of file ImportExport.php.
Referenced by ImportExport\processSoftReferences_saveFile(), ImportExport\processSoftReferences_saveFile_createRelFile(), ImportExport\verifyFolderAccess(), and ImportExport\writeFileVerify().
getNewTCE | ( | ) |
Returns a new $TCE object
Definition at line 2261 of file ImportExport.php.
References ImportExport\$alternativeFileName, ImportExport\$alternativeFilePath, ImportExport\$enableLogging, and GeneralUtility\makeInstance().
Referenced by ImportExport\migrateLegacyImportRecords(), ImportExport\setFlexFormRelations(), ImportExport\setRelations(), ImportExport\writeRecords_pages(), ImportExport\writeRecords_pages_order(), ImportExport\writeRecords_records(), and ImportExport\writeRecords_records_order().
getNextContentPart | ( | $filecontent, | |
& | $pointer, | ||
$unserialize = false , |
|||
$name = '' |
|||
) |
Returns the next content part from the $filecontent
string | $filecontent | File content string |
int | $pointer | File pointer (where to read from) |
bool | $unserialize | If set, the returned content is unserialized into an array, otherwise you get the raw string |
string | $name | For error messages this indicates the section of the problem. |
Definition at line 3363 of file ImportExport.php.
References ImportExport\error().
Referenced by ImportExport\loadContent().
getNextFilePart | ( | $fd, | |
$unserialize = false , |
|||
$name = '' |
|||
) |
Returns the next content part form the fileresource (t3d), $fd
int | $fd | File pointer |
bool | $unserialize | If set, the returned content is unserialized into an array, otherwise you get the raw string |
string | $name | For error messages this indicates the section of the problem. |
Definition at line 3303 of file ImportExport.php.
References ImportExport\error().
Referenced by ImportExport\loadFile().
getRecordPath | ( | $pid | ) |
Returns the page title path of a PID value. Results are cached internally
int | $pid | Record PID to check |
Definition at line 4170 of file ImportExport.php.
getRTEoriginalFilename | ( | $string | ) |
Creates the original file name for a copy-RTE image (magic type)
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 4265 of file ImportExport.php.
Referenced by ImportExport\export_addFile(), and ImportExport\processSoftReferences_saveFile().
getTemporaryFilesPathForExport | ( | ) |
If saveFilesOutsideExportFile is enabled, this function returns the path where the files referenced in the export are copied to.
\RuntimeException |
Definition at line 1257 of file ImportExport.php.
References ImportExport\$temporaryFilesPathForExport, and ImportExport\getTemporaryFolderName().
Referenced by ImportExport\export_addFile(), and ImportExport\export_addSysFile().
|
protected |
Definition at line 1273 of file ImportExport.php.
References GeneralUtility\mkdir().
Referenced by ImportExport\getTemporaryFilesPathForExport(), and ImportExport\loadFile().
import_addFileNameToBeCopied | ( | $fI | ) |
Writes the file from import array to temp dir and returns the filename of it.
array | $fI | File information with three keys: "filename" = filename without path, "ID_absFile" = absolute filepath to the file (including the filename), "ID" = md5 hash of "ID_absFile |
Definition at line 2480 of file ImportExport.php.
References ImportExport\error(), GeneralUtility\tempnam(), and GeneralUtility\writeFile().
Referenced by ImportExport\remapListedDBRecords_flexFormCallBack(), and ImportExport\setRelations().
importData | ( | $pid | ) |
Imports the internal data array to $pid.
int | $pid | Page ID in which to import the content |
Definition at line 1579 of file ImportExport.php.
References ImportExport\initializeImport(), ImportExport\migrateLegacyImportRecords(), ImportExport\setFlexFormRelations(), ImportExport\setRelations(), ImportExport\unlinkTempFiles(), ImportExport\writeRecords_pages(), and ImportExport\writeRecords_records().
inclRelation | ( | $table | ) |
Returns TRUE if the input table name is to be included as relation
string | $table | Table name |
Definition at line 4095 of file ImportExport.php.
Referenced by ImportExport\export_addDBRelations_registerRelation().
includeSoftref | ( | $tokenID | ) |
Returns TRUE if soft reference should be included in exported file.
string | $tokenID | Token ID for soft reference |
Definition at line 4120 of file ImportExport.php.
Referenced by ImportExport\export_addDBRelations(), ImportExport\export_addDBRelations_registerRelation(), and ImportExport\export_addFilesFromRelations().
init | ( | $dontCompress = false , |
|
$mode = '' |
|||
) |
Init the object, both import and export
bool | $dontCompress | If set, compression of t3d files is disabled |
string | $mode | Mode of usage, either "import" or "export |
Definition at line 463 of file ImportExport.php.
References ImportExport\$dontCompress, $GLOBALS, and ImportExport\$mode.
|
protected |
Initialize all settings for the import
Definition at line 1544 of file ImportExport.php.
Referenced by ImportExport\importData().
isExcluded | ( | $table, | |
$uid | |||
) |
Returns TRUE if the element should be excluded as static record.
string | $table | Table name |
int | $uid | UID value |
Definition at line 4109 of file ImportExport.php.
Referenced by ImportExport\export_addDBRelations_registerRelation(), and ImportExport\setRelations_db().
|
protected |
Checks if the $storageId is the id of the fallback storage
int | string | $storageId |
Definition at line 1808 of file ImportExport.php.
isTableStatic | ( | $table | ) |
Returns TRUE if the input table name is to be regarded as a static relation (that is, not exported etc).
string | $table | Table name |
Definition at line 4081 of file ImportExport.php.
Referenced by ImportExport\export_addDBRelations_registerRelation(), and ImportExport\setRelations_db().
loadContent | ( | $filecontent | ) |
Loads T3D file content into the $this->dat array (This function can be used to test the output strings from ->compileMemoryToFileContent())
string | $filecontent | File content |
Definition at line 3345 of file ImportExport.php.
References ImportExport\getNextContentPart(), and ImportExport\loadInit().
loadFile | ( | $filename, | |
$all = false |
|||
) |
Loads the header section/all of the $filename into memory
string | $filename | Filename, absolute |
bool | $all | If set, all information is loaded (header, records and files). Otherwise the default is to read only the header information |
Definition at line 3239 of file ImportExport.php.
References $filename, GeneralUtility\copyDirectory(), ImportExport\error(), ImportExport\getNextFilePart(), ImportExport\getTemporaryFolderName(), GeneralUtility\getUrl(), GeneralUtility\isAllowedAbsPath(), ImportExport\loadInit(), and GeneralUtility\xml2array().
loadInit | ( | ) |
Setting up the object based on the recently loaded ->dat array
Definition at line 3396 of file ImportExport.php.
References ImportExport\fixCharsets().
Referenced by ImportExport\loadContent(), and ImportExport\loadFile().
|
protected |
Migrate legacy import records
Definition at line 3093 of file ImportExport.php.
References ImportExport\getNewTCE(), and BackendUtility\getRecord().
Referenced by ImportExport\importData().
printErrorLog | ( | ) |
Returns a table with the error-messages.
Definition at line 4329 of file ImportExport.php.
processSoftReferences_flexFormCallBack | ( | $pParams, | |
$dsConf, | |||
$dataValue, | |||
$dataValue_ext1, | |||
$dataValue_ext2, | |||
$path | |||
) |
Callback function for traversing the FlexForm structure in relation to remapping softreference relations
array | $pParams | Set of parameters in numeric array: table, uid, field |
array | $dsConf | TCA config for field (from Data Structure of course) |
string | $dataValue | Field value (from FlexForm XML) |
string | $dataValue_ext1 | Not used |
string | $dataValue_ext2 | Not used |
string | $path | Path of where the data structure where the element is found |
Definition at line 2716 of file ImportExport.php.
References ImportExport\processSoftReferences_substTokens().
processSoftReferences_saveFile | ( | $relFileName, | |
$cfg, | |||
$table, | |||
$uid | |||
) |
Process a soft reference file
string | $relFileName | Old Relative filename |
array | $cfg | soft reference configuration array |
string | $table | Table for which the processing occurs |
string | $uid | UID of record from table |
Definition at line 2808 of file ImportExport.php.
References ImportExport\$fileProcObj, PathUtility\basename(), PathUtility\dirname(), elseif, ImportExport\error(), GeneralUtility\getFileAbsFileName(), ImportExport\getFileProcObj(), ImportExport\getRTEoriginalFilename(), GeneralUtility\isFirstPartOfStr(), ImportExport\processSoftReferences_saveFile_createRelFile(), PathUtility\stripPathSitePrefix(), ImportExport\writeFileVerify(), and ImportExport\writeSysFileResourceForLegacyImport().
Referenced by ImportExport\processSoftReferences_substTokens().
processSoftReferences_saveFile_createRelFile | ( | $origDirPrefix, | |
$fileName, | |||
$fileID, | |||
$table, | |||
$uid | |||
) |
Create file in directory and return the new (unique) filename
string | $origDirPrefix | Directory prefix, relative, with trailing slash |
string | $fileName | Filename (without path) |
string | $fileID | File ID from import memory |
string | $table | Table for which the processing occurs |
string | $uid | UID of record from table |
Definition at line 2884 of file ImportExport.php.
References ImportExport\$fileProcObj, PathUtility\basename(), ImportExport\checkOrCreateDir(), PathUtility\dirname(), ImportExport\error(), GeneralUtility\getFileAbsFileName(), ImportExport\getFileProcObj(), GeneralUtility\isFirstPartOfStr(), GeneralUtility\mkdir(), GeneralUtility\resolveBackPath(), PathUtility\stripPathSitePrefix(), ImportExport\verifyFolderAccess(), GeneralUtility\writeFile(), ImportExport\writeFileVerify(), and ImportExport\writeSysFileResourceForLegacyImport().
Referenced by ImportExport\processSoftReferences_saveFile().
processSoftReferences_substTokens | ( | $tokenizedContent, | |
$softRefCfgs, | |||
$table, | |||
$uid | |||
) |
Substition of softreference tokens
string | $tokenizedContent | Content of field with soft reference tokens in. |
array | $softRefCfgs | Soft reference configurations |
string | $table | Table for which the processing occurs |
string | $uid | UID of record from table |
Definition at line 2750 of file ImportExport.php.
References elseif, BackendUtility\getRecord(), ImportExport\processSoftReferences_saveFile(), and BackendUtility\wsMapId().
Referenced by ImportExport\processSoftReferences_flexFormCallBack().
remapListedDBRecords_flexFormCallBack | ( | $pParams, | |
$dsConf, | |||
$dataValue, | |||
$dataValue_ext1, | |||
$dataValue_ext2, | |||
$path | |||
) |
Callback function for traversing the FlexForm structure in relation to remapping database relations
array | $pParams | Set of parameters in numeric array: table, uid, field |
array | $dsConf | TCA config for field (from Data Structure of course) |
string | $dataValue | Field value (from FlexForm XML) |
string | $dataValue_ext1 | Not used |
string | $dataValue_ext2 | Not used |
string | $path | Path of where the data structure of the element is found |
Definition at line 2603 of file ImportExport.php.
References ImportExport\import_addFileNameToBeCopied(), and ImportExport\setRelations_db().
|
protected |
Relations could contain db relations to sys_file records. Some configuration combinations of TCA and SoftReferenceIndex create also softref relation entries for the identical file. This results in double included files, one in array "files" and one in array "file_fal". This function checks the relations for this double inclusions and removes the redundant softref relation.
array | $relations |
Definition at line 797 of file ImportExport.php.
Referenced by ImportExport\export_addRecord().
renderControls | ( | $r | ) |
Render input controls for import or export
array | $r | Configuration for element |
Definition at line 3999 of file ImportExport.php.
Referenced by ImportExport\displayContentOverview().
renderSelectBox | ( | $prefix, | |
$value, | |||
$optValues | |||
) |
Makes a selector-box from optValues
string | $prefix | Form element name |
string | $value | Current value |
array | $optValues | Options to display (key/value pairs) |
Definition at line 4187 of file ImportExport.php.
setCharset | ( | $charset | ) |
Set charset
string | $charset | Charset for the content in the export. During import the character set will be converted if the target system uses another charset. |
Definition at line 511 of file ImportExport.php.
setFlexFormRelations | ( | ) |
After all DB relations has been set in the end of the import (see setRelations()) then it is time to correct all relations inside of FlexForm fields. The reason for doing this after is that the setting of relations may affect (quite often!) which data structure is used for the flexforms field!
Definition at line 2521 of file ImportExport.php.
References ImportExport\$dat, $GLOBALS, ImportExport\callHook(), ImportExport\error(), BackendUtility\getFlexFormDS(), ImportExport\getNewTCE(), BackendUtility\getRecord(), GeneralUtility\makeInstance(), BackendUtility\wsMapId(), and GeneralUtility\xml2array().
Referenced by ImportExport\importData().
setHeaderBasics | ( | ) |
Set header basics
Definition at line 480 of file ImportExport.php.
References ImportExport\$excludeMap, ImportExport\$extensionDependencies, ImportExport\$relStaticTables, and ImportExport\$softrefCfg.
setMetaData | ( | $title, | |
$description, | |||
$notes, | |||
$packager_username, | |||
$packager_name, | |||
$packager_email | |||
) |
Sets meta data
string | $title | Title of the export |
string | $description | Description of the export |
string | $notes | Notes about the contents |
string | $packager_username | Backend Username of the packager (the guy making the export) |
string | $packager_name | Real name of the packager |
string | $packager_email | Email of the packager |
Definition at line 527 of file ImportExport.php.
References $GLOBALS.
setPageTree | ( | $idH | ) |
Sets the page-tree array in the export header and returns the array in a flattened version
array | $idH | Hierarchy of ids, the page tree: array([uid] => array("uid" => [uid], "subrow" => array(.....)), [uid] => ....) |
Definition at line 586 of file ImportExport.php.
References ImportExport\flatInversePageTree(), and ImportExport\unsetExcludedSections().
setRecordTypeIncludeFields | ( | $table, | |
array | $fields | ||
) |
Sets the fields of a record type to be included in the export
string | $table | The record type |
array | $fields | The fields to be included |
Definition at line 687 of file ImportExport.php.
Referenced by ImportExport\setRecordTypesIncludeFields().
setRecordTypesIncludeFields | ( | array | $recordTypesIncludeFields | ) |
Sets the fields of record types to be included in the export
array | $recordTypesIncludeFields | Keys are [recordname], values are an array of fields to be included in the export |
\TYPO3\CMS\Core\Exception | if an array value is not type of array |
Definition at line 670 of file ImportExport.php.
References ImportExport\setRecordTypeIncludeFields().
setRelations | ( | ) |
At the end of the import process all file and DB relations should be set properly (that is relations to imported records are all re-created so imported records are correctly related again) Relations in flexform fields are processed in setFlexFormRelations() after this function
Definition at line 2305 of file ImportExport.php.
References ImportExport\$dat, $GLOBALS, ImportExport\callHook(), elseif, ImportExport\error(), ImportExport\getNewTCE(), StringUtility\getUniqueId(), ImportExport\import_addFileNameToBeCopied(), DuplicationBehavior\RENAME, ImportExport\setRelations_db(), and BackendUtility\wsMapId().
Referenced by ImportExport\importData().
setRelations_db | ( | $itemArray, | |
$itemConfig | |||
) |
Maps relations for database
array | $itemArray | Array of item sets (table/uid) from a dbAnalysis object |
array | $itemConfig | Array of TCA config of the field the relation to be set on |
Definition at line 2437 of file ImportExport.php.
References elseif, ImportExport\error(), ImportExport\isExcluded(), and ImportExport\isTableStatic().
Referenced by ImportExport\remapListedDBRecords_flexFormCallBack(), and ImportExport\setRelations().
setSaveFilesOutsideExportFile | ( | $saveFilesOutsideExportFile | ) |
Option to enable having the files not included in the export file. The files are saved to a temporary folder instead.
bool | $saveFilesOutsideExportFile |
Definition at line 548 of file ImportExport.php.
References ImportExport\$saveFilesOutsideExportFile.
singleRecordLines | ( | $table, | |
$uid, | |||
& | $lines, | ||
$preCode, | |||
$checkImportInPidRecord = false |
|||
) |
Add entries for a single record
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 3643 of file ImportExport.php.
References $GLOBALS, elseif, and ImportExport\error().
Referenced by ImportExport\traverseAllRecords(), ImportExport\traversePageRecords(), and ImportExport\traversePageTree().
softrefSelector | ( | $cfg | ) |
Selectorbox with export options for soft references
array | $cfg | Softref configuration array. An export box is shown only if a substitution scheme is found for the soft reference. |
Definition at line 4028 of file ImportExport.php.
traverseAllRecords | ( | $pT, | |
& | $lines | ||
) |
Go through ALL records (if the pages are displayed first, those will not be amoung these!)
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 3604 of file ImportExport.php.
References ImportExport\addGeneralErrorsByTable(), and ImportExport\singleRecordLines().
Referenced by ImportExport\displayContentOverview().
traversePageRecords | ( | $pT, | |
& | $lines | ||
) |
Go through remaining pages (not in tree)
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 3579 of file ImportExport.php.
References ImportExport\singleRecordLines().
Referenced by ImportExport\displayContentOverview().
traversePageTree | ( | $pT, | |
& | $lines, | ||
$preCode = '' |
|||
) |
Go through page tree for display
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 3549 of file ImportExport.php.
References ImportExport\singleRecordLines().
Referenced by ImportExport\displayContentOverview().
unlinkTempFiles | ( | ) |
Cleaning up all the temporary files stored in typo3temp/ folder
Definition at line 2277 of file ImportExport.php.
References ImportExport\error(), GeneralUtility\isFirstPartOfStr(), and GeneralUtility\unlink_tempfile().
Referenced by ImportExport\importData().
unsetExcludedSections | ( | $idH | ) |
Removes entries in the page tree which are found in ->excludeMap[]
array | $idH | Page uid hierarchy |
Definition at line 600 of file ImportExport.php.
References elseif.
Referenced by ImportExport\setPageTree().
verifyFolderAccess | ( | $dirPrefix, | |
$noAlternative = false |
|||
) |
Verifies that the input path (relative to PATH_site) 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.
string | $dirPrefix | Path relative to PATH_site |
bool | $noAlternative | If set, Do not look for alternative path! Just return FALSE |
Definition at line 3202 of file ImportExport.php.
References ImportExport\$fileProcObj, ImportExport\getFileProcObj(), GeneralUtility\isFirstPartOfStr(), and PathUtility\stripPathSitePrefix().
Referenced by ImportExport\processSoftReferences_saveFile_createRelFile().
writeFileVerify | ( | $fileName, | |
$fileID, | |||
$bypassMountCheck = false |
|||
) |
Writes a file from the import memory having $fileID to file name $fileName which must be an absolute path inside PATH_site
string | $fileName | Absolute filename inside PATH_site to write to |
string | $fileID | File ID from import memory |
bool | $bypassMountCheck | Bypasses the checking against filemounts - only for RTE files! |
Definition at line 2982 of file ImportExport.php.
References ImportExport\$fileProcObj, $GLOBALS, ImportExport\error(), GeneralUtility\getFileAbsFileName(), ImportExport\getFileProcObj(), GeneralUtility\getUrl(), GeneralUtility\split_fileref(), and GeneralUtility\writeFile().
Referenced by ImportExport\processSoftReferences_saveFile(), and ImportExport\processSoftReferences_saveFile_createRelFile().
writeRecords_pages | ( | $pid | ) |
Writing pagetree/pages to database:
int | $pid | PID in which to import. If the operation is an update operation, the root of the page tree inside will be moved to this PID unless it is the same as the root page from the import |
Definition at line 1928 of file ImportExport.php.
References ImportExport\$suggestedInsertUids, ImportExport\addGeneralErrorsByTable(), ImportExport\addSingle(), ImportExport\addToMapId(), ImportExport\callHook(), ImportExport\flatInversePageTree(), ImportExport\getNewTCE(), and ImportExport\writeRecords_pages_order().
Referenced by ImportExport\importData().
writeRecords_pages_order | ( | $pid | ) |
Organize all updated pages in page tree so they are related like in the import file Only used for updates and when $this->dat['header']['pagetree'] is an array.
int | $pid | Page id in which to import |
Definition at line 1985 of file ImportExport.php.
References ImportExport\callHook(), ImportExport\dontIgnorePid(), ImportExport\flatInversePageTree_pid(), and ImportExport\getNewTCE().
Referenced by ImportExport\writeRecords_pages().
writeRecords_records | ( | $pid | ) |
Write all database records except pages (writtein in writeRecords_pages())
int | $pid | Page id in which to import |
Definition at line 2025 of file ImportExport.php.
References $GLOBALS, ImportExport\$suggestedInsertUids, ImportExport\addGeneralErrorsByTable(), ImportExport\addSingle(), ImportExport\addToMapId(), ImportExport\callHook(), elseif, ImportExport\error(), ImportExport\getNewTCE(), and ImportExport\writeRecords_records_order().
Referenced by ImportExport\importData().
writeRecords_records_order | ( | $mainPid | ) |
Organize all updated record to their new positions. Only used for updates
int | $mainPid | Main PID into which we import. |
Definition at line 2087 of file ImportExport.php.
References ImportExport\callHook(), ImportExport\dontIgnorePid(), ImportExport\flatInversePageTree(), and ImportExport\getNewTCE().
Referenced by ImportExport\writeRecords_records().
|
protected |
Writes the file with the is $fileId to the legacy import folder. The file name will used from argument $fileName and the file was successfully created or an identical file was already found, $fileName will held the uid of the new created file record.
string | $fileName | The file name for the new file. Value would be changed to the uid of the new created file record. |
int | $fileId | The id of the file in data array |
Definition at line 3026 of file ImportExport.php.
References ImportExport\$legacyImportFolder, PathUtility\dirname(), ImportExport\error(), DuplicationBehavior\RENAME, and ImportExport\writeTemporaryFileFromData().
Referenced by ImportExport\processSoftReferences_saveFile(), and ImportExport\processSoftReferences_saveFile_createRelFile().
|
protected |
Writes the file from import array to temp dir and returns the filename of it.
string | $fileId | |
string | $dataKey |
Definition at line 1898 of file ImportExport.php.
References ImportExport\error(), GeneralUtility\tempnam(), and GeneralUtility\writeFile().
Referenced by ImportExport\writeSysFileResourceForLegacyImport().
$allowPHPScripts = false |
Definition at line 149 of file ImportExport.php.
|
protected |
Definition at line 422 of file ImportExport.php.
Referenced by ImportExport\getNewTCE().
|
protected |
Definition at line 427 of file ImportExport.php.
Referenced by ImportExport\getNewTCE().
$cache_getRecordPath = array() |
Definition at line 293 of file ImportExport.php.
$checkPID_cache = array() |
Definition at line 300 of file ImportExport.php.
$compress = false |
Definition at line 308 of file ImportExport.php.
Referenced by ImportExport\addFilePart(), and ImportExport\compileMemoryToFileContent().
$dat = array() |
Definition at line 315 of file ImportExport.php.
Referenced by ImportExport\flatDBrels(), ImportExport\flatSoftRefs(), ImportExport\setFlexFormRelations(), and ImportExport\setRelations().
|
protected |
Definition at line 337 of file ImportExport.php.
$display_import_pid_record = array() |
Definition at line 106 of file ImportExport.php.
$doesImport = false |
Definition at line 97 of file ImportExport.php.
$dontCompress = false |
Definition at line 235 of file ImportExport.php.
Referenced by ImportExport\doOutputCompress(), and ImportExport\init().
$enableLogging = false |
Definition at line 156 of file ImportExport.php.
Referenced by ImportExport\getNewTCE().
$errorLog = array() |
Definition at line 286 of file ImportExport.php.
$excludeMap = array() |
Definition at line 214 of file ImportExport.php.
Referenced by ImportExport\setHeaderBasics().
$extensionDependencies = array() |
Definition at line 228 of file ImportExport.php.
Referenced by ImportExport\setHeaderBasics().
$extFileResourceExtensions = 'html,htm,css' |
Definition at line 249 of file ImportExport.php.
$fileadminFolderName = '' |
Definition at line 76 of file ImportExport.php.
$fileIDMap = array() |
Definition at line 170 of file ImportExport.php.
|
protected |
Definition at line 432 of file ImportExport.php.
|
protected |
Definition at line 322 of file ImportExport.php.
Referenced by ImportExport\processSoftReferences_saveFile(), ImportExport\processSoftReferences_saveFile_createRelFile(), ImportExport\verifyFolderAccess(), and ImportExport\writeFileVerify().
|
protected |
Definition at line 412 of file ImportExport.php.
$force_all_UIDS = false |
Definition at line 135 of file ImportExport.php.
$global_ignore_pid = false |
Definition at line 128 of file ImportExport.php.
|
protected |
Definition at line 442 of file ImportExport.php.
$import_data = array() |
Definition at line 279 of file ImportExport.php.
$import_mapId = array() |
Definition at line 256 of file ImportExport.php.
$import_mode = array() |
Definition at line 121 of file ImportExport.php.
$import_newId = array() |
Definition at line 265 of file ImportExport.php.
$import_newId_pids = array() |
Definition at line 272 of file ImportExport.php.
$includeExtFileResources = false |
Definition at line 242 of file ImportExport.php.
|
protected |
Definition at line 351 of file ImportExport.php.
|
protected |
Definition at line 356 of file ImportExport.php.
Referenced by ImportExport\writeSysFileResourceForLegacyImport().
|
protected |
Definition at line 397 of file ImportExport.php.
|
protected |
Definition at line 370 of file ImportExport.php.
|
protected |
Definition at line 363 of file ImportExport.php.
$maxExportSize = 10000000 |
Definition at line 191 of file ImportExport.php.
$maxFileSize = 1000000 |
Definition at line 177 of file ImportExport.php.
Referenced by ImportExport\export_addSysFile().
$maxRecordSize = 1000000 |
Definition at line 184 of file ImportExport.php.
$mode = '' |
Definition at line 83 of file ImportExport.php.
Referenced by ImportExport\init().
|
protected |
Definition at line 330 of file ImportExport.php.
$relOnlyTables = array() |
Definition at line 199 of file ImportExport.php.
$relStaticTables = array() |
Definition at line 207 of file ImportExport.php.
Referenced by ImportExport\setHeaderBasics().
|
protected |
Definition at line 437 of file ImportExport.php.
|
protected |
Definition at line 402 of file ImportExport.php.
Referenced by ImportExport\setSaveFilesOutsideExportFile().
$showDiff = false |
Definition at line 142 of file ImportExport.php.
$showStaticRelations = false |
Definition at line 69 of file ImportExport.php.
$softrefCfg = array() |
Definition at line 221 of file ImportExport.php.
Referenced by ImportExport\setHeaderBasics().
$softrefInputValues = array() |
Definition at line 163 of file ImportExport.php.
|
protected |
Definition at line 344 of file ImportExport.php.
$suggestedInsertUids = array() |
Definition at line 114 of file ImportExport.php.
Referenced by ImportExport\writeRecords_pages(), and ImportExport\writeRecords_records().
|
protected |
Definition at line 407 of file ImportExport.php.
Referenced by ImportExport\getTemporaryFilesPathForExport().
|
protected |
Definition at line 417 of file ImportExport.php.
$update = false |
Definition at line 90 of file ImportExport.php.