‪TYPO3CMS  9.5
sys_redirect.php File Reference

Go to the source code of this file.

Variables

 return ['ctrl'=>['title'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect', 'label'=> 'source_host', 'label_alt'=> 'source_path', 'label_alt_force'=> true, 'crdate'=> 'createdon', 'cruser_id'=> 'createdby', 'tstamp'=> 'updatedon', 'versioningWS'=> false, 'default_sortby'=> 'source_host, source_path', 'rootLevel'=> 1, 'security'=>['ignoreWebMountRestriction'=> true, 'ignoreRootLevelRestriction'=> true,], 'delete'=> 'deleted', 'enablecolumns'=>['disabled'=> 'disabled', 'starttime'=> 'starttime', 'endtime'=> 'endtime',], 'typeicon_classes'=>['default'=> 'mimetypes-x-sys_redirect',], 'searchFields'=> 'source_host, source_path, target, target_statuscode',], 'interface'=>['showRecordFieldList'=> 'disabled, source_host, source_path, respect_query_parameters, is_regexp, force_https, keep_query_parameters, target, target_statuscode, hitcount, lasthiton, disable_hitcount',], 'types'=>['1'=>['showitem'=> ' --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, --palette--;;source, --palette--;;targetdetails, --div--;LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:tabs.redirectCount, disable_hitcount, hitcount, lasthiton, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access, --palette--;;visibility'],], 'palettes'=>['visibility'=>['showitem'=> 'disabled, --linebreak--, starttime, endtime'], 'source'=>['showitem'=> 'source_host, --linebreak--, source_path, respect_query_parameters, is_regexp'], 'targetdetails'=>['showitem'=> 'target, target_statuscode, --linebreak--, force_https, keep_query_parameters'],], 'columns'=>['disabled'=>['exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.enabled', 'config'=>['type'=> 'check', 'renderType'=> 'checkboxToggle', 'items'=>[[0=> '', 1=> '', 'invertStateDisplay'=> true]],]], 'starttime'=>['exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime', 'config'=>['type'=> 'input', 'renderType'=> 'inputDateTime', 'eval'=> 'datetime, int', 'default'=> 0]], 'endtime'=>['exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime', 'config'=>['type'=> 'input', 'renderType'=> 'inputDateTime', 'eval'=> 'datetime, int', 'default'=> 0, 'range'=>['upper'=> mktime(0, 0, 0, 1, 1, 2038)]]], 'source_host'=>['label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.source_host', 'config'=>['type'=> 'input', 'eval'=> 'trim, required,' . \TYPO3\CMS\Redirects\Evaluation\SourceHost::class, 'valuePicker'=>['items'=>[['LLL:EXT:redirects/Resources/Private/Language/locallang_module_redirect.xlf:source_host_global_text', ' *',],],], 'default'=> ' *',],], 'source_path'=>['label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.source_path', 'config'=>['type'=> 'input', 'size'=> 30, 'eval'=> 'trim, required', 'placeholder'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_module_redirect.xlf:source_path.placeholder', 'max'=> 2048],], 'force_https'=>['exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.force_https.0', 'config'=>['type'=> 'check', 'renderType'=> 'checkboxToggle', 'default'=> 0, 'items'=>[[0=> '', 1=> '',]],]], 'keep_query_parameters'=>['exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.keep_query_parameters.0', 'config'=>['type'=> 'check', 'renderType'=> 'checkboxToggle', 'default'=> 0, 'items'=>[[0=> '', 1=> '',]],]], 'respect_query_parameters'=>['exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.respect_query_parameters.0', 'config'=>['type'=> 'check', 'renderType'=> 'checkboxToggle', 'default'=> 0, 'items'=>[[0=> '', 1=> '',]],]], 'target'=>['label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target', 'config'=>['type'=> 'input', 'eval'=> 'required', 'renderType'=> 'inputLink', 'softref'=> 'typolink', 'fieldControl'=>['linkPopup'=>['options'=>['blindLinkOptions'=> 'mail, folder, telephone', 'blindLinkFields'=> 'class, target, title'],],], 'max'=> 2048],], 'target_statuscode'=>['exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode', 'config'=>['type'=> 'select', 'renderType'=> 'selectSingle', 'items'=>[['LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode.301', 301], ['LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode.302', 302], ['LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode.303', 303], ['LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode.307', 307],], 'default'=> 307, 'size'=> 1,],], 'hitcount'=>['exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.hitcount', 'config'=>['type'=> 'input', 'size'=> 5, 'default'=> 0, 'readOnly'=> true], 'displayCond'=> 'USER:TYPO3\CMS\Redirects\UserFunctions\HitCountDisplayCondition->isEnabled'], 'lasthiton'=>['exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.lasthiton', 'config'=>['type'=> 'input', 'eval'=> 'datetime, int', 'renderType'=> 'inputDateTime', 'readOnly'=> true], 'displayCond'=> 'USER:TYPO3\CMS\Redirects\UserFunctions\HitCountDisplayCondition->isEnabled'], 'disable_hitcount'=>['exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.hitcountState', 'config'=>['type'=> 'check', 'renderType'=> 'checkboxLabeledToggle', 'items'=>[[0=> '', 1=> '', 'labelChecked'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.enabled', 'labelUnchecked'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.disabled', 'invertStateDisplay'=> true]],], 'displayCond'=> 'USER:TYPO3\CMS\Redirects\UserFunctions\HitCountDisplayCondition->isEnabled'], 'is_regexp'=>['exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.is_regexp', 'config'=>['type'=> 'check', 'renderType'=> 'checkboxToggle', 'items'=>[[0=> '', 1=> '',]],]],],]
 

Variable Documentation

◆ return

return[ 'ctrl'=>[ 'title'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect', 'label'=> 'source_host', 'label_alt'=> 'source_path', 'label_alt_force'=> true, 'crdate'=> 'createdon', 'cruser_id'=> 'createdby', 'tstamp'=> 'updatedon', 'versioningWS'=> false, 'default_sortby'=> 'source_host, source_path', 'rootLevel'=> 1, 'security'=>[ 'ignoreWebMountRestriction'=> true, 'ignoreRootLevelRestriction'=> true,], 'delete'=> 'deleted', 'enablecolumns'=>[ 'disabled'=> 'disabled', 'starttime'=> 'starttime', 'endtime'=> 'endtime',], 'typeicon_classes'=>[ 'default'=> 'mimetypes-x-sys_redirect',], 'searchFields'=> 'source_host, source_path, target, target_statuscode',], 'interface'=>[ 'showRecordFieldList'=> 'disabled, source_host, source_path, respect_query_parameters, is_regexp, force_https, keep_query_parameters, target, target_statuscode, hitcount, lasthiton, disable_hitcount',], 'types'=>[ '1'=>[ 'showitem'=> ' --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, --palette--;;source, --palette--;;targetdetails, --div--;LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:tabs.redirectCount, disable_hitcount, hitcount, lasthiton, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access, --palette--;;visibility'],], 'palettes'=>[ 'visibility'=>[ 'showitem'=> 'disabled, --linebreak--, starttime, endtime'], 'source'=>[ 'showitem'=> 'source_host, --linebreak--, source_path, respect_query_parameters, is_regexp'], 'targetdetails'=>[ 'showitem'=> 'target, target_statuscode, --linebreak--, force_https, keep_query_parameters'],], 'columns'=>[ 'disabled'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.enabled', 'config'=>[ 'type'=> 'check', 'renderType'=> 'checkboxToggle', 'items'=>[[ 0=> '', 1=> '', 'invertStateDisplay'=> true]],]], 'starttime'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime', 'config'=>[ 'type'=> 'input', 'renderType'=> 'inputDateTime', 'eval'=> 'datetime, int', 'default'=> 0]], 'endtime'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime', 'config'=>[ 'type'=> 'input', 'renderType'=> 'inputDateTime', 'eval'=> 'datetime, int', 'default'=> 0, 'range'=>[ 'upper'=> mktime(0, 0, 0, 1, 1, 2038)]]], 'source_host'=>[ 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.source_host', 'config'=>[ 'type'=> 'input', 'eval'=> 'trim, required,' . \TYPO3\CMS\Redirects\Evaluation\SourceHost::class, 'valuePicker'=>[ 'items'=>[[ 'LLL:EXT:redirects/Resources/Private/Language/locallang_module_redirect.xlf:source_host_global_text', ' *',],],], 'default'=> ' *',],], 'source_path'=>[ 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.source_path', 'config'=>[ 'type'=> 'input', 'size'=> 30, 'eval'=> 'trim, required', 'placeholder'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_module_redirect.xlf:source_path.placeholder', 'max'=> 2048],], 'force_https'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.force_https.0', 'config'=>[ 'type'=> 'check', 'renderType'=> 'checkboxToggle', 'default'=> 0, 'items'=>[[ 0=> '', 1=> '',]],]], 'keep_query_parameters'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.keep_query_parameters.0', 'config'=>[ 'type'=> 'check', 'renderType'=> 'checkboxToggle', 'default'=> 0, 'items'=>[[ 0=> '', 1=> '',]],]], 'respect_query_parameters'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.respect_query_parameters.0', 'config'=>[ 'type'=> 'check', 'renderType'=> 'checkboxToggle', 'default'=> 0, 'items'=>[[ 0=> '', 1=> '',]],]], 'target'=>[ 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target', 'config'=>[ 'type'=> 'input', 'eval'=> 'required', 'renderType'=> 'inputLink', 'softref'=> 'typolink', 'fieldControl'=>[ 'linkPopup'=>[ 'options'=>[ 'blindLinkOptions'=> 'mail, folder, telephone', 'blindLinkFields'=> 'class, target, title'],],], 'max'=> 2048],], 'target_statuscode'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode', 'config'=>[ 'type'=> 'select', 'renderType'=> 'selectSingle', 'items'=>[[ 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode.301', 301],[ 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode.302', 302],[ 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode.303', 303],[ 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.target_statuscode.307', 307],], 'default'=> 307, 'size'=> 1,],], 'hitcount'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.hitcount', 'config'=>[ 'type'=> 'input', 'size'=> 5, 'default'=> 0, 'readOnly'=> true], 'displayCond'=> 'USER:TYPO3\CMS\Redirects\UserFunctions\HitCountDisplayCondition->isEnabled'], 'lasthiton'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.lasthiton', 'config'=>[ 'type'=> 'input', 'eval'=> 'datetime, int', 'renderType'=> 'inputDateTime', 'readOnly'=> true], 'displayCond'=> 'USER:TYPO3\CMS\Redirects\UserFunctions\HitCountDisplayCondition->isEnabled'], 'disable_hitcount'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.hitcountState', 'config'=>[ 'type'=> 'check', 'renderType'=> 'checkboxLabeledToggle', 'items'=>[[ 0=> '', 1=> '', 'labelChecked'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.enabled', 'labelUnchecked'=> 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.disabled', 'invertStateDisplay'=> true]],], 'displayCond'=> 'USER:TYPO3\CMS\Redirects\UserFunctions\HitCountDisplayCondition->isEnabled'], 'is_regexp'=>[ 'exclude'=> true, 'label'=> 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.is_regexp', 'config'=>[ 'type'=> 'check', 'renderType'=> 'checkboxToggle', 'items'=>[[ 0=> '', 1=> '',]],]],],]

Definition at line 3 of file sys_redirect.php.