‪TYPO3CMS  11.5
RenderPreviewImportPageAndRecordsByUpdate.php File Reference

Go to the source code of this file.

Variables

 return ['update'=> true, 'showDiff'=> false, 'insidePageTree'=>[0=>['ref'=> 'pages:1', 'type'=> 'record', 'msg'=> '', 'preCode'=> '< span title="pages:1">< span class="t3js-icon icon icon-size-small icon-state-default icon-apps-pagetree-page-default" data-identifier="apps-pagetree-page-default">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/apps.svg#apps-pagetree-page-default"/></svg ></span ></span ></span >', 'title'=> '< a href="#" >Root</a >', 'active'=> 'active', 'updatePath'=> '/', 'updateMode'=> sprintf('< select name="tx_impexp[import_mode][pages:1]">< option value="0">Update</option >< option value="%s">Import as new</option >< option value="%s">Ignore PID</option >< option value="%s">Exclude</option ></select >', \TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE), 'controls'=> '', 'message'=> '',], 1=>['ref'=> 'tt_content:1', 'type'=> 'record', 'msg'=> '', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;< span title="tt_content:1">< span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text" data-identifier="mimetypes-x-content-text">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-x-content-text"/></svg ></span ></span ></span >', 'title'=> 'Test content', 'active'=> 'active', 'updatePath'=> '/Root/', 'updateMode'=> sprintf('< select name="tx_impexp[import_mode][tt_content:1]">< option value="0">Update</option >< option value="%s">Import as new</option >< option value="%s">Ignore PID</option >< option value="%s">Exclude</option ></select >', \TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE), 'controls'=> '', 'message'=> '',], 2=>['ref'=> 'SOFTREF', 'type'=> 'softref', 'msg'=> '', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;< span title="SOFTREF">< span class="t3js-icon icon icon-size-small icon-state-default icon-status-reference-soft" data-identifier="status-reference-soft">< span class="icon-markup">< img src="typo3/sysext/impexp/Resources/Public/Icons/status-reference-soft.png" width="16" height="16" alt=""/></span ></span ></span >', 'title'=> '< em >header_link, "typolink"</em > :< span title="file:2">file:2</span >< br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Record< strong >sys_file:2</strong >', '_softRefInfo'=>['field'=> 'header_link', 'spKey'=> 'typolink', 'matchString'=> 'file:2', 'subst'=>['type'=> 'db', 'recordRef'=> 'sys_file:2', 'tokenID'=> '2487ce518ed56d22f20f259928ff43f1', 'tokenValue'=> 'file:2',],], 'controls'=> '', 'message'=> '',], 3=>['ref'=> 'sys_file:2', 'type'=> 'rel', 'msg'=> 'LOST RELATION(Path:/)', 'title'=> '< span title="/">sys_file:2</span >', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;< span class="text-danger" title="sys_file:2">< span class="t3js-icon icon icon-size-small icon-state-default icon-status-dialog-warning" data-identifier="status-dialog-warning">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-exclamation-triangle"/></svg ></span ></span ></span >', 'controls'=> '', 'message'=> '',], 4=>['ref'=> 'tt_content:2', 'type'=> 'record', 'msg'=> '', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;< span title="tt_content:2">< span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text" data-identifier="mimetypes-x-content-text">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-x-content-text"/></svg ></span ></span ></span >', 'title'=> 'Test content 2', 'active'=> 'active', 'updatePath'=> '/Root/', 'updateMode'=> sprintf('< select name="tx_impexp[import_mode][tt_content:2]">< option value="0">Update</option >< option value="%s">Import as new</option >< option value="%s">Ignore PID</option >< option value="%s">Exclude</option ></select >', \TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE), 'controls'=> '', 'message'=> '',], 5=>['ref'=> 'SOFTREF', 'type'=> 'softref', 'msg'=> '', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;< span title="SOFTREF">< span class="t3js-icon icon icon-size-small icon-state-default icon-status-reference-soft" data-identifier="status-reference-soft">< span class="icon-markup">< img src="typo3/sysext/impexp/Resources/Public/Icons/status-reference-soft.png" width="16" height="16" alt=""/></span ></span ></span >', 'title'=> '< em >header_link, "typolink"</em > :< span title="file:4">file:4</span >< br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Record< strong >sys_file:4</strong >', '_softRefInfo'=>['field'=> 'header_link', 'spKey'=> 'typolink', 'matchString'=> 'file:4', 'subst'=>['type'=> 'db', 'recordRef'=> 'sys_file:4', 'tokenID'=> '81b8b33df54ef433f1cbc7c3e513e6c4', 'tokenValue'=> 'file:4',],], 'controls'=> '', 'message'=> '',], 6=>['ref'=> 'sys_file:4', 'type'=> 'rel', 'msg'=> 'LOST RELATION(Record not found!)', 'title'=> '< span title="/">sys_file:4</span >', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;< span class="text-danger" title="sys_file:4">< span class="t3js-icon icon icon-size-small icon-state-default icon-status-dialog-warning" data-identifier="status-dialog-warning">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-exclamation-triangle"/></svg ></span ></span ></span >', 'controls'=> '', 'message'=> '',], 7=>['ref'=> 'pages:2', 'type'=> 'record', 'msg'=> '', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;< span title="pages:2">< span class="t3js-icon icon icon-size-small icon-state-default icon-apps-pagetree-page-default" data-identifier="apps-pagetree-page-default">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/apps.svg#apps-pagetree-page-default"/></svg ></span ></span ></span >', 'title'=> '< a href="#" >Dummy 1-2</a >', 'active'=> 'active', 'updatePath'=> '/Root/', 'updateMode'=> sprintf('< select name="tx_impexp[import_mode][pages:2]">< option value="0">Update</option >< option value="%s">Import as new</option >< option value="%s">Ignore PID</option >< option value="%s">Exclude</option ></select >', \TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE), 'controls'=> '', 'message'=> '',],], 'outsidePageTree'=>[],]
 

Variable Documentation

◆ return

return[ 'update'=> true, 'showDiff'=> false, 'insidePageTree'=>[ 0=>[ 'ref'=> 'pages:1', 'type'=> 'record', 'msg'=> '', 'preCode'=> '< span title="pages:1">< span class="t3js-icon icon icon-size-small icon-state-default icon-apps-pagetree-page-default" data-identifier="apps-pagetree-page-default">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/apps.svg#apps-pagetree-page-default"/></svg ></span ></span ></span >', 'title'=> '< a href="#" >Root</a >', 'active'=> 'active', 'updatePath'=> '/', 'updateMode'=> sprintf('< select name="tx_impexp[import_mode][pages:1]">< option value="0">Update</option >< option value="%s">Import as new</option >< option value="%s">Ignore PID</option >< option value="%s">Exclude</option ></select >', \TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE), 'controls'=> '', 'message'=> '',], 1=>[ 'ref'=> 'tt_content:1', 'type'=> 'record', 'msg'=> '', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;< span title="tt_content:1">< span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text" data-identifier="mimetypes-x-content-text">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-x-content-text"/></svg ></span ></span ></span >', 'title'=> 'Test content', 'active'=> 'active', 'updatePath'=> '/Root/', 'updateMode'=> sprintf('< select name="tx_impexp[import_mode][tt_content:1]">< option value="0">Update</option >< option value="%s">Import as new</option >< option value="%s">Ignore PID</option >< option value="%s">Exclude</option ></select >', \TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE), 'controls'=> '', 'message'=> '',], 2=>[ 'ref'=> 'SOFTREF', 'type'=> 'softref', 'msg'=> '', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;< span title="SOFTREF">< span class="t3js-icon icon icon-size-small icon-state-default icon-status-reference-soft" data-identifier="status-reference-soft">< span class="icon-markup">< img src="typo3/sysext/impexp/Resources/Public/Icons/status-reference-soft.png" width="16" height="16" alt=""/></span ></span ></span >', 'title'=> '< em >header_link, "typolink"</em > :< span title="file:2">file:2</span >< br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Record< strong >sys_file:2</strong >', '_softRefInfo'=>[ 'field'=> 'header_link', 'spKey'=> 'typolink', 'matchString'=> 'file:2', 'subst'=>[ 'type'=> 'db', 'recordRef'=> 'sys_file:2', 'tokenID'=> '2487ce518ed56d22f20f259928ff43f1', 'tokenValue'=> 'file:2',],], 'controls'=> '', 'message'=> '',], 3=>[ 'ref'=> 'sys_file:2', 'type'=> 'rel', 'msg'=> 'LOST RELATION(Path:/)', 'title'=> '< span title="/">sys_file:2</span >', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;< span class="text-danger" title="sys_file:2">< span class="t3js-icon icon icon-size-small icon-state-default icon-status-dialog-warning" data-identifier="status-dialog-warning">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-exclamation-triangle"/></svg ></span ></span ></span >', 'controls'=> '', 'message'=> '',], 4=>[ 'ref'=> 'tt_content:2', 'type'=> 'record', 'msg'=> '', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;< span title="tt_content:2">< span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text" data-identifier="mimetypes-x-content-text">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-x-content-text"/></svg ></span ></span ></span >', 'title'=> 'Test content 2', 'active'=> 'active', 'updatePath'=> '/Root/', 'updateMode'=> sprintf('< select name="tx_impexp[import_mode][tt_content:2]">< option value="0">Update</option >< option value="%s">Import as new</option >< option value="%s">Ignore PID</option >< option value="%s">Exclude</option ></select >', \TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE), 'controls'=> '', 'message'=> '',], 5=>[ 'ref'=> 'SOFTREF', 'type'=> 'softref', 'msg'=> '', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;< span title="SOFTREF">< span class="t3js-icon icon icon-size-small icon-state-default icon-status-reference-soft" data-identifier="status-reference-soft">< span class="icon-markup">< img src="typo3/sysext/impexp/Resources/Public/Icons/status-reference-soft.png" width="16" height="16" alt=""/></span ></span ></span >', 'title'=> '< em >header_link, "typolink"</em > :< span title="file:4">file:4</span >< br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Record< strong >sys_file:4</strong >', '_softRefInfo'=>[ 'field'=> 'header_link', 'spKey'=> 'typolink', 'matchString'=> 'file:4', 'subst'=>[ 'type'=> 'db', 'recordRef'=> 'sys_file:4', 'tokenID'=> '81b8b33df54ef433f1cbc7c3e513e6c4', 'tokenValue'=> 'file:4',],], 'controls'=> '', 'message'=> '',], 6=>[ 'ref'=> 'sys_file:4', 'type'=> 'rel', 'msg'=> 'LOST RELATION(Record not found!)', 'title'=> '< span title="/">sys_file:4</span >', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;< span class="text-danger" title="sys_file:4">< span class="t3js-icon icon icon-size-small icon-state-default icon-status-dialog-warning" data-identifier="status-dialog-warning">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-exclamation-triangle"/></svg ></span ></span ></span >', 'controls'=> '', 'message'=> '',], 7=>[ 'ref'=> 'pages:2', 'type'=> 'record', 'msg'=> '', 'preCode'=> '&nbsp;&nbsp;&nbsp;&nbsp;< span title="pages:2">< span class="t3js-icon icon icon-size-small icon-state-default icon-apps-pagetree-page-default" data-identifier="apps-pagetree-page-default">< span class="icon-markup">< svg class="icon-color">< use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/apps.svg#apps-pagetree-page-default"/></svg ></span ></span ></span >', 'title'=> '< a href="#" >Dummy 1-2</a >', 'active'=> 'active', 'updatePath'=> '/Root/', 'updateMode'=> sprintf('< select name="tx_impexp[import_mode][pages:2]">< option value="0">Update</option >< option value="%s">Import as new</option >< option value="%s">Ignore PID</option >< option value="%s">Exclude</option ></select >', \TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE), 'controls'=> '', 'message'=> '',],], 'outsidePageTree'=>[],]