TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Backend\Utility\BackendUtility Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Utility\BackendUtility:
t3lib_BEfunc

Static Public Member Functions

static deleteClause ($table, $tableAlias='')
 
static getRecordWSOL ($table, $uid, $fields=' *', $where='', $useDeleteClause=TRUE, $unsetMovePointers=FALSE)
 
static getRecordRaw ($table, $where='', $fields=' *')
 
static getRecordsByField ($theTable, $theField, $theValue, $whereClause='', $groupBy='', $orderBy='', $limit='', $useDeleteClause=TRUE)
 
static splitTable_Uid ($str)
 
static getSQLselectableList ($in_list, $tablename, $default_tablename)
 
static BEenableFields ($table, $inv=0)
 
static getRecordLocalization ($table, $uid, $language, $andWhereClause='')
 
static BEgetRootLine ($uid, $clause='', $workspaceOL=FALSE)
 
static openPageTree ($pid, $clearExpansion)
 
static getRecordPath ($uid, $clause, $titleLimit, $fullTitleLimit=0)
 
static getExcludeFields ()
 
static getExplicitAuthFieldValues ()
 
static getSystemLanguages ()
 
static getOriginalTranslationTable ($table)
 
static isTableLocalizable ($table)
 
static getInlineLocalizationMode ($table, $fieldOrConfig)
 
static readPageAccess ($id, $perms_clause)
 
static getTCAtypes ($table, $rec, $useFieldNameAsKey=0)
 
static getTCAtypeValue ($table, $row)
 
static getSpecConfParts ($str, $defaultExtras)
 
static getSpecConfParametersFromArray ($pArr)
 
static getFlexFormDS ($conf, $row, $table, $fieldName='', $WSOL=TRUE, $newRecordPidValue=0)
 
static getRegisteredFlexForms ($table='tt_content')
 
static storeHash ($hash, $data, $ident)
 
static getHash ($hash, $expTime=0)
 
static getPagesTSconfig ($id, $rootLine=NULL, $returnPartArray=FALSE)
 
static implodeTSParams ($p, $k='')
 
static getUserNames ($fields='username, usergroup, usergroup_cached_list, uid', $where='')
 
static getGroupNames ($fields='title, uid', $where='')
 
static getListGroupNames ($fields='title, uid')
 
static blindUserNames ($usernames, $groupArray, $excludeBlindedFlag=0)
 
static blindGroupNames ($groups, $groupArray, $excludeBlindedFlag=0)
 
static daysUntil ($tstamp)
 
static date ($tstamp)
 
static datetime ($value)
 
static time ($value, $withSeconds=TRUE)
 
static calcAge ($seconds, $labels=' min|hrs|days|yrs|min|hour|day|year')
 
static dateTimeAge ($tstamp, $prefix=1, $date='')
 
static titleAltAttrib ($content)
 
static getThumbNail ($thumbScript, $theFile, $tparams='', $size='')
 
static titleAttribForPages ($row, $perms_clause='', $includeAttrib=1)
 
static getRecordIconAltText ($row, $table='pages')
 
static getLabelFromItemlist ($table, $col, $key)
 
static getLabelFromItemListMerged ($pageId, $table, $column, $key)
 
static getLabelsFromItemsList ($table, $column, $key)
 
static getItemLabel ($table, $col, $printAllWrap='')
 
static getRecordTitle ($table, $row, $prep=FALSE, $forceResult=TRUE)
 
static getRecordTitlePrep ($title, $titleLength=0)
 
static getNoRecordTitle ($prep=FALSE)
 
static getProcessedValueExtra ($table, $fN, $fV, $fixed_lgd_chars=0, $uid=0, $forceResult=TRUE)
 
static getFileIcon ($ext)
 
static getCommonSelectFields ($table, $prefix='', $fields=array())
 
static makeConfigForm ($configArray, $defaults, $dataPrefix)
 
static helpTextIcon ($table, $field, $BACK_PATH, $force=0)
 
static helpTextArray ($table, $field)
 
static helpText ($table, $field)
 
static wrapInHelp ($table, $field, $text='', array $overloadHelpText=array())
 
static cshItem ($table, $field, $BACK_PATH, $wrap='', $onlyIconMode=FALSE, $styleAttrib='')
 
static editOnClick ($params, $backPath='', $requestUri='')
 
static viewOnClick ($pageUid, $backPath='', $rootLine='', $anchorSection='', $alternativeUrl='', $additionalGetVars='', $switchFocus=TRUE)
 
static getModTSconfig ($id, $TSref)
 
static getFuncMenu ($mainParams, $elementName, $currentValue, $menuItems, $script='', $addparams='')
 
static getFuncCheck ($mainParams, $elementName, $currentValue, $script='', $addParams='', $tagParams='')
 
static getFuncInput ($mainParams, $elementName, $currentValue, $size=10, $script='', $addParams='')
 
static unsetMenuItems ($modTSconfig, $itemArray, $TSref)
 
static setUpdateSignal ($set='', $params='')
 
static getUpdateSignalCode ()
 
static getModuleData ($MOD_MENU, $CHANGED_SETTINGS, $modName, $type='', $dontValidateList='', $setDefaultList='')
 
static getModuleUrl ($moduleName, $urlParameters=array(), $backPathOverride=FALSE, $returnAbsoluteUrl=FALSE)
 
static getAjaxUrl ($ajaxIdentifier, array $urlParameters=array(), $backPathOverride=FALSE, $returnAbsoluteUrl=FALSE)
 
static getListViewLink ($urlParameters=array(), $linkTitle='', $linkText='')
 
static getUrlToken ($formName='securityToken', $tokenName='formToken')
 
static lockRecords ($table='', $uid=0, $pid=0)
 
static isRecordLocked ($table, $uid)
 
static exec_foreign_table_where_query ($fieldValue, $field='', $TSconfig=array(), $prefix='')
 
static replaceMarkersInWhereClause ($whereClause, $table, $field='', $tsConfig=array())
 
static getTCEFORM_TSconfig ($table, $row)
 
static getTSconfig_pidValue ($table, $uid, $pid)
 
static getPidForModTSconfig ($table, $uid, $pid)
 
static getTSCpid ($table, $uid, $pid)
 
static firstDomainRecord ($rootLine)
 
static getDomainStartPage ($domain, $path='')
 
static RTEsetup ($RTEprop, $table, $field, $type='')
 
static & RTEgetObj ()
 
static & softRefParserObj ($spKey)
 
static explodeSoftRefParserList ($parserList)
 
static isModuleSetInTBE_MODULES ($modName)
 
static referenceCount ($table, $ref, $msg='', $count=NULL)
 
static translationCount ($table, $ref, $msg='')
 
static selectVersionsOfRecord ($table, $uid, $fields=' *', $workspace=0, $includeDeletedRecords=FALSE, $row=NULL)
 
static fixVersioningPid ($table, &$rr, $ignoreWorkspaceMatch=FALSE)
 
static workspaceOL ($table, &$row, $wsid=-99, $unsetMovePointers=FALSE)
 
static movePlhOL ($table, &$row)
 
static getWorkspaceVersionOfRecord ($workspace, $table, $uid, $fields=' *')
 
static getLiveVersionOfRecord ($table, $uid, $fields=' *')
 
static getLiveVersionIdOfRecord ($table, $uid)
 
static versioningPlaceholderClause ($table)
 
static getWorkspaceWhereClause ($table, $workspaceId=NULL)
 
static countVersionsOfRecordsOnPage ($workspace, $pageId)
 
static wsMapId ($table, $uid)
 
static getMovePlaceholder ($table, $uid, $fields=' *', $workspace=NULL)
 
static TYPO3_copyRightNotice ($showVersionNumber=TRUE)
 
static displayWarningMessages ()
 
static getPathType_web_nonweb ($path)
 
static processParams ($params)
 
static getBackendScript ($interface='')
 
static isTableWorkspaceEnabled ($table)
 
static isTableMovePlaceholderAware ($table)
 
static getTcaFieldConfiguration ($table, $field)
 
static isWebMountRestrictionIgnored ($table)
 
static isRootLevelRestrictionIgnored ($table)
 

Static Protected Member Functions

static getPageForRootline ($uid, $clause, $workspaceOL)
 
static getRecordsSortedByTitle (array $fields, $table, $titleField, $where='')
 
static replaceL10nModeFields ($table, array $row)
 
static createPreviewUrl ($pageUid, $rootLine, $anchorSection, $additionalGetVars, $viewScript)
 
static buildScriptUrl ($mainParams, $addParams, $script='')
 
static getRuntimeCache ()
 
static getSignalSlotDispatcher ()
 
static emitGetPagesTSconfigPreIncludeSignal (array $TSdataArray, $id, array $rootLine, $returnPartArray)
 

Static Protected Attributes

static $tcaTableTypeConfigurationCache = array()
 

Detailed Description

Standard functions available for the TYPO3 backend. You are encouraged to use this class in your own applications (Backend Modules) Don't instantiate - call functions with "\TYPO3\CMS\Backend\Utility\BackendUtility::" prefixed the function name.

Call ALL methods without making an object! Eg. to get a page-record 51 do this: '::getRecord('pages',51)'

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 42 of file BackendUtility.php.

Member Function Documentation

◆ BEenableFields()

static TYPO3\CMS\Backend\Utility\BackendUtility::BEenableFields (   $table,
  $inv = 0 
)
static

Backend implementation of enableFields() Notice that "fe_groups" is not selected for - only disabled, starttime and endtime. Notice that deleted-fields are NOT filtered - you must ALSO call deleteClause in addition. $GLOBALS["SIM_ACCESS_TIME"] is used for date.

Parameters
string$tableThe table from which to return enableFields WHERE clause. Table name must have a 'ctrl' section in $GLOBALS['TCA'].
boolean$invMeans that the query will select all records NOT VISIBLE records (inverted selection)
Returns
string WHERE clause part

Definition at line 247 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Rtehtmlarea\Extension\Acronym\buildJSAcronymArray(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\checkSchedulerUser(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_execute_type1(), TYPO3\CMS\Rtehtmlarea\Controller\FrontendRteController\drawRTE(), TYPO3\CMS\Impexp\ImportExport\fetchStorageRecords(), TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbQueryParser\getBackendConstraintStatement(), TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend\getBackendConstraintStatement(), TYPO3\CMS\Backend\View\BackendLayout\DefaultDataProvider\getBackendLayout(), TYPO3\CMS\Version\Hook\DataHandlerHook\getEmailsForStageChangeNotification(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getFileMountRecords(), TYPO3\CMS\Rtehtmlarea\Extension\Language\getLanguages(), TYPO3\CMS\Backend\View\BackendLayout\DefaultDataProvider\getLayoutData(), TYPO3\CMS\Linkvalidator\LinkAnalyzer\getLinkStatistics(), TYPO3\CMS\Workspaces\Service\StagesService\getResponsibleBeUser(), TYPO3\CMS\Backend\View\PageLayoutView\getSelectedBackendLayoutUid(), TYPO3\CMS\Backend\Controller\LoginController\getSystemNews(), TYPO3\CMS\Core\Resource\AbstractRepository\getWhereClauseForEnabledFields(), TYPO3\CMS\Rtehtmlarea\RteHtmlAreaBase\isAvailable(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\isUserAllowedToLogin(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), and TYPO3\CMS\Setup\Controller\SetupModuleController\simulateUser().

◆ BEgetRootLine()

static TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine (   $uid,
  $clause = '',
  $workspaceOL = FALSE 
)
static

Returns what is called the 'RootLine'. That is an array with information about the page records from a page id ($uid) and back to the root. By default deleted pages are filtered. This RootLine will follow the tree all the way to the root. This is opposite to another kind of root line known from the frontend where the rootline stops when a root-template is found.

Parameters
integer$uidPage id for which to create the root line.
string$clauseClause can be used to select other criteria. It would typically be where-clauses that stops the process if we meet a page, the user has no reading access to.
boolean$workspaceOLIf TRUE, version overlay is applied. This must be requested specifically because it is usually only wanted when the rootline is used for visual output while for permission checking you want the raw thing!
Returns
array Root line array, all the way to the page tree root (or as far as $clause allows!)

Definition at line 307 of file BackendUtility.php.

References $uid.

Referenced by TYPO3\CMS\Version\Controller\VersionModuleController\adminLinks(), TYPO3\CMS\SysAction\ActionTask\checkRootline(), TYPO3\CMS\Frontend\Hooks\TreelistCacheUpdateHooks\clearCacheForAllParents(), TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher\determineRootline(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_prevPageWithTemplate(), TYPO3\CMS\Linkvalidator\Linktype\InternalLinktype\getBrokenUrl(), TYPO3\CMS\Func\Controller\PageFunctionsController\getButtons(), TYPO3\CMS\Info\Controller\InfoModuleController\getButtons(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getButtons(), TYPO3\CMS\Impexp\Controller\ImportExportController\getButtons(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\getButtons(), TYPO3\CMS\Version\Controller\VersionModuleController\getButtons(), TYPO3\CMS\Perm\Controller\PermissionModuleController\getButtons(), TYPO3\CMS\Backend\Controller\NewRecordController\getButtons(), TYPO3\CMS\Backend\Controller\PageLayoutController\getButtons(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\getDomainName(), TYPO3\CMS\Backend\Tree\Pagetree\DataProvider\getRecordWithWorkspaceOverlay(), TYPO3\CMS\Backend\View\BackendLayoutView\getRootLine(), TYPO3\CMS\Backend\Controller\EditDocumentController\init(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\isInWebMount(), TYPO3\CMS\Backend\Controller\Wizard\RteController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), and TYPO3\CMS\Backend\Template\DocumentTemplate\viewPageIcon().

◆ blindGroupNames()

static TYPO3\CMS\Backend\Utility\BackendUtility::blindGroupNames (   $groups,
  $groupArray,
  $excludeBlindedFlag = 0 
)
static

Corresponds to blindUserNames but works for groups instead

Parameters
array$groupsGroup names
array$groupArrayGroup names (reference)
boolean$excludeBlindedFlagIf $excludeBlindedFlag is set, then these records are unset from the array $usernames
Returns
array

Definition at line 1380 of file BackendUtility.php.

References $uid, and TYPO3\CMS\Core\Utility\GeneralUtility\inArray().

Referenced by TYPO3\CMS\Perm\Controller\PermissionModuleController\getButtons().

◆ blindUserNames()

static TYPO3\CMS\Backend\Utility\BackendUtility::blindUserNames (   $usernames,
  $groupArray,
  $excludeBlindedFlag = 0 
)
static

Returns the array $usernames with the names of all users NOT IN $groupArray changed to the uid (hides the usernames!). If $excludeBlindedFlag is set, then these records are unset from the array $usernames Takes $usernames (array made by ::getUserNames()) and a $groupArray (array with the groups a certain user is member of) as input

Parameters
array$usernamesUser names
array$groupArrayGroup names
boolean$excludeBlindedFlagIf $excludeBlindedFlag is set, then these records are unset from the array $usernames
Returns
array User names, blinded

Definition at line 1347 of file BackendUtility.php.

References $GLOBALS, $uid, and TYPO3\CMS\Core\Utility\GeneralUtility\inList().

Referenced by TYPO3\CMS\Perm\Controller\PermissionModuleController\getButtons(), and TYPO3\CMS\Perm\Controller\PermissionAjaxController\renderUserSelector().

◆ buildScriptUrl()

static TYPO3\CMS\Backend\Utility\BackendUtility::buildScriptUrl (   $mainParams,
  $addParams,
  $script = '' 
)
staticprotected

Builds the URL to the current script with given arguments

Parameters
mixed$mainParams$id is the "&id=" parameter value to be sent to the module, but it can be also a parameter array which will be passed instead of the &id=...
string$addParamsAdditional parameters to pass to the script.
string$scriptThe script to send the &id to, if empty it's automatically found
Returns
string The completes script URL

Definition at line 2950 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\_GET(), and TYPO3\CMS\Core\Utility\GeneralUtility\implodeArrayForUrl().

◆ calcAge()

static TYPO3\CMS\Backend\Utility\BackendUtility::calcAge (   $seconds,
  $labels = ' min| hrs| days| yrs| min| hour| day| year' 
)
static

Returns the "age" in minutes / hours / days / years of the number of $seconds inputted.

Parameters
integer$secondsSeconds could be the difference of a certain timestamp and time()
string$labelsLabels should be something like ' min| hrs| days| yrs| min| hour| day| year'. This value is typically delivered by this function call: $GLOBALS["LANG"]->sL("LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears")
Returns
string Formatted time

Definition at line 1460 of file BackendUtility.php.

Referenced by TYPO3\CMS\Backend\Tests\Unit\Utility\BackendUtilityTest\calcAgeReturnsExpectedValues(), TYPO3\CMS\Backend\History\RecordHistory\displayHistory(), and TYPO3\CMS\Backend\Form\FormEngine\formatValue().

◆ countVersionsOfRecordsOnPage()

static TYPO3\CMS\Backend\Utility\BackendUtility::countVersionsOfRecordsOnPage (   $workspace,
  $pageId 
)
static

Count number of versions on a page

Parameters
integer$workspaceWorkspace ID
integer$pageIdPage ID
Returns
array Overview of records

Definition at line 4104 of file BackendUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Versioning\VersionState\MOVE_POINTER.

◆ createPreviewUrl()

static TYPO3\CMS\Backend\Utility\BackendUtility::createPreviewUrl (   $pageUid,
  $rootLine,
  $anchorSection,
  $additionalGetVars,
  $viewScript 
)
staticprotected

Creates the view-on-click preview URL without any alternative URL.

Parameters
integer$pageUidPage UID
array$rootLineIf rootline is supplied, the function will look for the first found domain record and use that URL instead
string$anchorSectionOptional anchor to the URL
string$additionalGetVarsAdditional GET variables.
string$viewScriptThe path to the script used to view the page
Returns
string The preview URL

Definition at line 2744 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv(), TYPO3\CMS\Core\Utility\GeneralUtility\intExplode(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ cshItem()

static TYPO3\CMS\Backend\Utility\BackendUtility::cshItem (   $table,
  $field,
  $BACK_PATH,
  $wrap = '',
  $onlyIconMode = FALSE,
  $styleAttrib = '' 
)
static

API for getting CSH icons/text for use in backend modules. TCA_DESCR will be loaded if it isn't already

Parameters
string$tableTable name ('MOD'+module name)
string$fieldField name (CSH locallang main key)
string$BACK_PATHBack path
string$wrapWrap code for icon-mode, splitted by "|". Not used for full-text mode.
boolean$onlyIconModeIf set, the full text will never be shown (only icon). Useful for places where it will break the page if the table with full text is shown.
string$styleAttribAdditional style-attribute content for wrapping table (full text mode only)
Returns
string HTML content for help text
See also
helpTextIcon()

Definition at line 2660 of file BackendUtility.php.

References $BACK_PATH, and $GLOBALS.

Referenced by TYPO3\CMS\Backend\Controller\ContentElement\ElementHistoryController\getButtons(), TYPO3\CMS\Func\Controller\PageFunctionsController\getButtons(), TYPO3\CMS\Info\Controller\InfoModuleController\getButtons(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getButtons(), TYPO3\CMS\Backend\Controller\Wizard\TableController\getButtons(), TYPO3\CMS\Backend\Controller\FileSystemNavigationFrameController\getButtons(), TYPO3\CMS\Backend\Controller\File\EditFileController\getButtons(), TYPO3\CMS\Backend\Controller\Wizard\FormsController\getButtons(), TYPO3\CMS\Backend\Controller\PageTreeNavigationController\getButtons(), TYPO3\CMS\Backend\Controller\NewRecordController\getButtons(), TYPO3\CMS\Perm\Controller\PermissionModuleController\getButtons(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\getButtons(), TYPO3\CMS\Form\View\Wizard\WizardView\getButtons(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\getButtons(), TYPO3\CMS\Setup\Controller\SetupModuleController\getButtons(), TYPO3\CMS\Filelist\Controller\FileListController\getButtons(), TYPO3\CMS\Backend\Controller\PageLayoutController\getButtons(), TYPO3\CMS\Recycler\Controller\RecyclerModuleController\getDocHeaderButtons(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\WizardSortpages\View\SortPagesWizardModuleFunction\main(), TYPO3\CMS\Frontend\Controller\PageInformationController\main(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\main(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\main(), TYPO3\CMS\Backend\Controller\File\FileUploadController\main(), TYPO3\CMS\Backend\Controller\File\RenameFileController\main(), TYPO3\CMS\Backend\Controller\File\CreateFolderController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Impexp\Controller\ImportExportController\makeAdvancedOptionsForm(), TYPO3\CMS\Impexp\Controller\ImportExportController\makeConfigurationForm(), TYPO3\CMS\Impexp\Controller\ImportExportController\makeSaveForm(), TYPO3\CMS\Filelist\Controller\FileListController\menuConfig(), TYPO3\CMS\WizardCrpages\Controller\CreatePagesWizardModuleFunctionController\modMenu(), and TYPO3\CMS\Fluid\ViewHelpers\Be\Buttons\CshViewHelper\render().

◆ date()

static TYPO3\CMS\Backend\Utility\BackendUtility::date (   $tstamp)
static

Returns $tstamp formatted as "ddmmyy" (According to $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'])

Parameters
integer$tstampTime stamp, seconds
Returns
string Formatted time

Definition at line 1420 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Utility\BackendUtility\datetime(), TYPO3\CMS\Backend\Controller\File\FileController\flattenResultDataValue(), TYPO3\CMS\Filelist\FileList\formatFileList(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem().

◆ datetime()

◆ dateTimeAge()

static TYPO3\CMS\Backend\Utility\BackendUtility::dateTimeAge (   $tstamp,
  $prefix = 1,
  $date = '' 
)
static

Returns a formatted timestamp if $tstamp is set. The date/datetime will be followed by the age in parenthesis.

Parameters
integer$tstampTime stamp, seconds
integer$prefix1/-1 depending on polarity of age.
string$date$date=="date" will yield "dd:mm:yy" formatting, otherwise "dd:mm:yy hh:mm
Returns
string

Definition at line 1489 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\IndexedSearch\Controller\IndexedPagesController\printPhashRow(), and TYPO3\CMS\SysAction\ActionTask\viewEditRecord().

◆ daysUntil()

static TYPO3\CMS\Backend\Utility\BackendUtility::daysUntil (   $tstamp)
static

Returns the difference in days between input $tstamp and $EXEC_TIME

Parameters
integer$tstampTime stamp, seconds
Returns
integer

Definition at line 1409 of file BackendUtility.php.

References $GLOBALS.

◆ deleteClause()

static TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause (   $table,
  $tableAlias = '' 
)
static

Returns the WHERE clause " AND NOT [tablename].[deleted-field]" if a deleted-field is configured in $GLOBALS['TCA'] for the tablename, $table This function should ALWAYS be called in the backend for selection on tables which are configured in $GLOBALS['TCA'] since it will ensure consistent selection of records, even if they are marked deleted (in which case the system must always treat them as non-existent!) In the frontend a function, ->enableFields(), is known to filter hidden-field, start- and endtime and fe_groups as well. But that is a job of the frontend, not the backend. If you need filtering on those fields as well in the backend you can use ->BEenableFields() though.

Parameters
string$tableTable name present in $GLOBALS['TCA']
string$tableAliasTable alias if any
Returns
string WHERE clause for filtering out deleted records, eg " AND tablename.deleted=0

Definition at line 71 of file BackendUtility.php.

References $GLOBALS, and $uid.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\addDefaultPermittedLanguageIfNotSet(), TYPO3\CMS\Impexp\Tests\Functional\Export\AbstractExportTestCase\addRecordsForPid(), TYPO3\CMS\Core\Database\QueryView\addToStoreQueryConfigs(), TYPO3\CMS\Workspaces\Service\AutoPublishService\autoPublishWorkspaces(), TYPO3\CMS\Version\Utility\WorkspacesUtility\autoPublishWorkspaces(), TYPO3\CMS\Rtehtmlarea\Extension\Acronym\buildJSAcronymArray(), TYPO3\CMS\Version\Hook\PreviewHook\checkForPreview(), TYPO3\CMS\Install\Updates\FilemountUpdateWizard\checkForUpdate(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\checkSchedulerUser(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\checkWorkspace(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\cleanUpOldRunningConfigurations(), TYPO3\CMS\Core\Integrity\DatabaseIntegrityCheck\countRecords(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_execute_type1(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_execute_type4(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_init(), TYPO3\CMS\Rtehtmlarea\Controller\FrontendRteController\drawRTE(), TYPO3\CMS\Backend\Controller\EditDocumentController\editRegularContentFromId(), TYPO3\CMS\Impexp\Controller\ImportExportController\exec_listQueryPid(), TYPO3\CMS\Recordlist\Browser\ElementBrowser\expandPage(), TYPO3\CMS\SysNote\Core\Bootstrap\expectOutput(), TYPO3\CMS\Backend\Form\DataPreprocessor\fetchRecord(), TYPO3\CMS\Impexp\ImportExport\fetchStorageRecords(), TYPO3\CMS\Version\Hook\DataHandlerHook\findPageElementsForVersionStageChange(), TYPO3\CMS\Version\Hook\DataHandlerHook\findPageElementsForVersionSwap(), TYPO3\CMS\Version\Hook\DataHandlerHook\findPageIdsForVersionStateChange(), TYPO3\CMS\Workspaces\Hook\DataHandlerHook\flushWorkspaceElements(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\generateList(), TYPO3\CMS\Lowlevel\CleanerCommand\genTree(), TYPO3\CMS\Core\Integrity\DatabaseIntegrityCheck\genTree_records(), TYPO3\CMS\Lowlevel\CleanerCommand\genTree_traverse(), TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools\getAvailableLanguages(), TYPO3\CMS\Backend\Form\FormEngine\getAvailableLanguages(), TYPO3\CMS\Workspaces\Service\WorkspaceService\getAvailableWorkspaces(), TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbQueryParser\getBackendConstraintStatement(), TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend\getBackendConstraintStatement(), TYPO3\CMS\Backend\View\BackendLayout\DefaultDataProvider\getBackendLayout(), TYPO3\CMS\Backend\Controller\NewRecordController\getButtons(), TYPO3\CMS\Backend\Controller\PageLayoutController\getButtons(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getCacheFloodingProtectionStatus(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\getContentElementCount(), TYPO3\CMS\SysAction\ActionTask\getCreatedUsers(), TYPO3\CMS\Backend\Form\FormEngine\getDefaultRecord(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getDefaultWorkspace(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getFileMountRecords(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\getLangStatus(), TYPO3\CMS\Rtehtmlarea\Extension\Language\getLanguages(), TYPO3\CMS\Backend\Controller\EditDocumentController\getLanguages(), TYPO3\CMS\Backend\View\BackendLayout\DefaultDataProvider\getLayoutData(), TYPO3\CMS\Backend\Controller\PageLayoutController\getLocalizedPageTitle(), TYPO3\CMS\Workspaces\Service\WorkspaceService\getMoveToPlaceHolderFromPages(), TYPO3\CMS\Frontend\View\AdminPanelView\getPreviewModule(), TYPO3\CMS\Core\Database\QueryGenerator\getSelectQuery(), TYPO3\CMS\Backend\Toolbar\ShortcutToolbarItem\getShortcutIcon(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\getSystemLanguages(), TYPO3\CMS\Backend\Controller\LoginController\getSystemNews(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Backend\View\PageLayoutView\getTableMenu(), TYPO3\CMS\Core\Database\QueryGenerator\getTreeList(), TYPO3\CMS\Backend\Tree\Pagetree\DataProvider\getWhereClause(), TYPO3\CMS\Core\Resource\AbstractRepository\getWhereClauseForEnabledFields(), TYPO3\CMS\Workspaces\Service\WorkspaceService\hasPageRecordVersions(), TYPO3\CMS\Backend\RecordList\AbstractRecordList\initializeLanguages(), TYPO3\CMS\Rtehtmlarea\RteHtmlAreaBase\isAvailable(), TYPO3\CMS\Workspaces\Service\WorkspaceService\isNewPage(), TYPO3\CMS\Backend\Controller\EditDocumentController\languageSwitch(), TYPO3\CMS\Backend\Controller\EditDocumentController\localizationRedirect(), TYPO3\CMS\Lowlevel\VersionsCommand\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Core\Database\QueryGenerator\makeOptionList(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\makeQueryArray(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\makeQuerySearchByTable(), TYPO3\CMS\Install\Updates\FilemountUpdateWizard\migrateAbsoluteFilemounts(), TYPO3\CMS\Install\Updates\FilemountUpdateWizard\migrateRelativeFilemounts(), TYPO3\CMS\Core\DataHandling\DataHandler\noRecordsFromUnallowedTables(), TYPO3\CMS\Backend\View\PageLayoutView\numberOfRecords(), TYPO3\CMS\Version\Controller\VersionModuleController\pageSubContent(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\processDatamap_afterDatabaseOperations(), TYPO3\CMS\Core\Database\QueryView\queryMaker(), TYPO3\CMS\Core\Database\RelationHandler\readForeignField(), TYPO3\CMS\Workspaces\Hook\DataHandlerHook\resetStageOfElements(), TYPO3\CMS\Workspaces\Service\WorkspaceService\selectAllVersionsFromPages(), TYPO3\CMS\Version\Utility\WorkspacesUtility\selectVersionsInWorkspace(), TYPO3\CMS\Core\Integrity\DatabaseIntegrityCheck\testDBRefs(), and TYPO3\CMS\Backend\Configuration\TranslationConfigurationProvider\translationInfo().

◆ displayWarningMessages()

static TYPO3\CMS\Backend\Utility\BackendUtility::displayWarningMessages ( )
static

Display some warning messages if this installation is obviously insecure!! These warnings are only displayed to admin users

Returns
string Rendered messages as HTML
Deprecated:
since 6.2 and is removed two versions later. This was transferred to ext:aboutmodules, do not use any longer!
See also

Definition at line 4227 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\logDeprecatedFunction().

◆ editOnClick()

static TYPO3\CMS\Backend\Utility\BackendUtility::editOnClick (   $params,
  $backPath = '',
  $requestUri = '' 
)
static

Returns a JavaScript string (for an onClick handler) which will load the alt_doc.php script that shows the form for editing of the record(s) you have send as params. REMEMBER to always htmlspecialchar() content in href-properties to ampersands get converted to entities (XHTML requirement and XSS precaution)

Parameters
string$paramsParameters sent along to alt_doc.php. This requires a much more details description which you must seek in Inside TYPO3s documentation of the alt_doc.php API. And example could be '&edit[pages][123] = edit' which will show edit form for page record 123.
string$backPathMust point back to the TYPO3_mainDir directory (where alt_doc.php is)
string$requestUriAn optional returnUrl you can set - automatically set to REQUEST_URI.
Returns
string
See also
template::issueCommand()

Definition at line 2686 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv().

Referenced by TYPO3\CMS\Version\Controller\VersionModuleController\adminLinks(), TYPO3\CMS\Filelist\FileList\formatFileList(), TYPO3\CMS\Backend\Controller\NewRecordController\getButtons(), TYPO3\CMS\Backend\Controller\PageLayoutController\getButtons(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\getRecordActions(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Backend\Controller\NewRecordController\linkWrap(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\linkWrapItems(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\main(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Filelist\FileList\makeEdit(), TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList(), TYPO3\CMS\Backend\View\PageLayoutView\pages_drawItem(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\processTemplateRowBeforeSaving(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\renderL10nTable(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawColHeader(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader(), and TYPO3\CMS\Version\Controller\VersionModuleController\versioningMgm().

◆ emitGetPagesTSconfigPreIncludeSignal()

static TYPO3\CMS\Backend\Utility\BackendUtility::emitGetPagesTSconfigPreIncludeSignal ( array  $TSdataArray,
  $id,
array  $rootLine,
  $returnPartArray 
)
staticprotected

Emits signal to modify the page TSconfig before include

Parameters
array$TSdataArrayCurrent TSconfig data array - Can be modified by slots!
int$idPage ID we are handling
array$rootLineRootline array of page
boolean$returnPartArrayWhether TSdata should be parsed by TS parser or returned as plain text
Returns
array Modified Data array

Definition at line 4393 of file BackendUtility.php.

◆ exec_foreign_table_where_query()

static TYPO3\CMS\Backend\Utility\BackendUtility::exec_foreign_table_where_query (   $fieldValue,
  $field = '',
  $TSconfig = array(),
  $prefix = '' 
)
static

Returns select statement for MM relations (as used by TCEFORMs etc)

Parameters
array$fieldValueConfiguration array for the field, taken from $GLOBALS['TCA']
string$fieldField name
array$TSconfigTSconfig array from which to get further configuration settings for the field name
string$prefixPrefix string for the key "*foreign_table_where" from $fieldValue array
Returns
string Part of query

Definition at line 3310 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Form\DataPreprocessor\selectAddForeign().

◆ explodeSoftRefParserList()

static TYPO3\CMS\Backend\Utility\BackendUtility::explodeSoftRefParserList (   $parserList)
static

Returns array of soft parser references

Parameters
string$parserListsoftRef parser list
Returns
array|bool Array where the parser key is the key and the value is the parameter string, FALSE if no parsers were found

Definition at line 3677 of file BackendUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Linkvalidator\LinkAnalyzer\getLinkStatistics(), TYPO3\CMS\Core\Database\ReferenceIndex\getRelations(), and TYPO3\CMS\Core\Database\ReferenceIndex\getRelations_flexFormCallBack().

◆ firstDomainRecord()

static TYPO3\CMS\Backend\Utility\BackendUtility::firstDomainRecord (   $rootLine)
static

Returns first found domain record "domainName" (without trailing slash) if found in the input $rootLine

Parameters
array$rootLineRoot line array
Returns
string|NULL Domain name or NULL

Definition at line 3545 of file BackendUtility.php.

Referenced by TYPO3\CMS\Linkvalidator\Linktype\InternalLinktype\getBrokenUrl(), and TYPO3\CMS\Viewpage\Controller\ViewModuleController\getDomainName().

◆ fixVersioningPid()

static TYPO3\CMS\Backend\Utility\BackendUtility::fixVersioningPid (   $table,
$rr,
  $ignoreWorkspaceMatch = FALSE 
)
static

Find page-tree PID for versionized record Will look if the "pid" value of the input record is -1 and if the table supports versioning - if so, it will translate the -1 PID into the PID of the original record Used whenever you are tracking something back, like making the root line. Will only translate if the workspace of the input record matches that of the current user (unless flag set) Principle; Record offline! => Find online?

Parameters
string$tableTable name
array$rrRecord array passed by reference. As minimum, "pid" and "uid" fields must exist! "t3ver_oid" and "t3ver_wsid" is nice and will save you a DB query.
boolean$ignoreWorkspaceMatchIgnore workspace match
Returns
void (Passed by ref). If the record had its pid corrected to the online versions pid, then "_ORIG_pid" is set to the original pid value (-1 of course). The field "_ORIG_pid" is used by various other functions to detect if a record was in fact in a versionized branch.
See also
PageRepository::fixVersioningPid()

Definition at line 3856 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Type\Enumeration\cast(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), and TYPO3\CMS\Core\Versioning\VersionState\MOVE_POINTER.

Referenced by TYPO3\CMS\Recycler\Utility\RecyclerUtility\checkAccess(), TYPO3\CMS\Backend\Form\Element\InlineElement\checkAccess(), TYPO3\CMS\Core\DataHandling\DataHandler\destNotInsideSelf(), TYPO3\CMS\Core\DataHandling\DataHandler\doesRecordExist(), TYPO3\CMS\Backend\Form\DataPreprocessor\fetchRecord(), TYPO3\CMS\Backend\Form\FormEngine\getAvailableLanguages(), TYPO3\CMS\Core\DataHandling\DataHandler\getPlaceholderTitleForTableLabel(), TYPO3\CMS\Recycler\Utility\RecyclerUtility\getRecordPath(), TYPO3\CMS\Backend\Form\FormEngine\getRecordPath(), TYPO3\CMS\Core\DataHandling\DataHandler\getRecordPropertiesFromRow(), TYPO3\CMS\Backend\View\PageLayoutView\isRTEforField(), TYPO3\CMS\Backend\Controller\Wizard\RteController\main(), TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord_processFieldValue(), and TYPO3\CMS\Backend\Controller\EditDocumentController\printContent().

◆ getAjaxUrl()

static TYPO3\CMS\Backend\Utility\BackendUtility::getAjaxUrl (   $ajaxIdentifier,
array  $urlParameters = array(),
  $backPathOverride = FALSE,
  $returnAbsoluteUrl = FALSE 
)
static

Returns the Ajax URL for a given AjaxID including a CSRF token.

This method is only called by the core and must not be used by extensions. Ajax URLs of all registered backend Ajax handlers are automatically published to JavaScript inline settings: TYPO3.settings.ajaxUrls['ajaxId']

Parameters
string$ajaxIdentifierIdentifier of the AJAX callback
array$urlParametersURL parameters that should be added as key value pairs
bool/string$backPathOverride Backpath that should be used instead of the global $BACK_PATH
bool$returnAbsoluteUrlIf set to TRUE, the URL returned will be absolute, $backPathOverride will be ignored in this case
Returns
string Calculated URL

Definition at line 3174 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\FormProtection\FormProtectionFactory\get(), TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv(), and TYPO3\CMS\Core\Utility\GeneralUtility\implodeArrayForUrl().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\addAjaxUrlsToInlineSettings(), and TYPO3\CMS\Rtehtmlarea\Extension\Spellchecker\buildJavascriptConfiguration().

◆ getBackendScript()

static TYPO3\CMS\Backend\Utility\BackendUtility::getBackendScript (   $interface = '')
static

Returns the name of the backend script relative to the TYPO3 main directory.

Parameters
string$interfaceName of the backend interface (backend, frontend) to look up the script name for. If no interface is given, the interface for the current backend user is used.
Returns
string The name of the backend script relative to the TYPO3 main directory.

Definition at line 4299 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\checkAuthentication(), and TYPO3\CMS\Frontend\View\AdminPanelView\getEditModule().

◆ getCommonSelectFields()

static TYPO3\CMS\Backend\Utility\BackendUtility::getCommonSelectFields (   $table,
  $prefix = '',
  $fields = array() 
)
static

Returns fields for a table, $table, which would typically be interesting to select This includes uid, the fields defined for title, icon-field. Returned as a list ready for query ($prefix can be set to eg. "pages." if you are selecting from the pages table and want the table name prefixed)

Parameters
string$tableTable name, present in $GLOBALS['TCA']
string$prefixTable prefix
array$fieldsPreset fields (must include prefix if that is used)
Returns
string List of fields.

Definition at line 2413 of file BackendUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Core\Integrity\DatabaseIntegrityCheck\genTree_records(), and TYPO3\CMS\Backend\Tests\Unit\Utility\BackendUtilityTest\getCommonSelectFieldsReturnsCorrectFields().

◆ getDomainStartPage()

static TYPO3\CMS\Backend\Utility\BackendUtility::getDomainStartPage (   $domain,
  $path = '' 
)
static

Returns the sys_domain record for $domain, optionally with $path appended.

Parameters
string$domainDomain name
string$pathAppended path
Returns
array Domain record, if found

Definition at line 3563 of file BackendUtility.php.

References $GLOBALS, and $result.

◆ getExcludeFields()

static TYPO3\CMS\Backend\Utility\BackendUtility::getExcludeFields ( )
static

Returns an array with the exclude-fields as defined in TCA and FlexForms Used for listing the exclude-fields in be_groups forms

Returns
array Array of arrays with excludeFields (fieldname, table:fieldname) from all TCA entries and from FlexForms (fieldname, table:extkey;sheetname;fieldname)

Definition at line 470 of file BackendUtility.php.

References $extConf, and $GLOBALS.

Referenced by TYPO3\CMS\Backend\Form\DataPreprocessor\selectAddSpecial().

◆ getExplicitAuthFieldValues()

static TYPO3\CMS\Backend\Utility\BackendUtility::getExplicitAuthFieldValues ( )
static

Returns an array with explicit Allow/Deny fields. Used for listing these field/value pairs in be_groups forms

Returns
array Array with information from all of $GLOBALS['TCA']

Definition at line 542 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Form\DataPreprocessor\selectAddSpecial().

◆ getFileIcon()

static TYPO3\CMS\Backend\Utility\BackendUtility::getFileIcon (   $ext)
static

Returns file icon name (from $FILEICONS) for the fileextension $ext

Parameters
string$extFile extension, lowercase
Returns
string File icon filename

Definition at line 2399 of file BackendUtility.php.

References $GLOBALS.

◆ getFlexFormDS()

static TYPO3\CMS\Backend\Utility\BackendUtility::getFlexFormDS (   $conf,
  $row,
  $table,
  $fieldName = '',
  $WSOL = TRUE,
  $newRecordPidValue = 0 
)
static

Finds the Data Structure for a FlexForm field

NOTE ON data structures for deleted records: This function may fail to deliver the data structure for a record for a few reasons: a) The data structure could be deleted (either with deleted-flagged or hard-deleted), b) the data structure is fetched using the ds_pointerField_searchParent in which case any deleted record on the route to the final location of the DS will make it fail. In theory, we can solve the problem in the case where records that are deleted-flagged keeps us from finding the DS - this is done at the markers ###NOTE_A### where we make sure to also select deleted records. However, we generally want the DS lookup to fail for deleted records since for the working website we expect a deleted-flagged record to be as inaccessible as one that is completely deleted from the DB. Any way we look at it, this may lead to integrity problems of the reference index and even lost files if attached. However, that is not really important considering that a single change to a data structure can instantly invalidate large amounts of the reference index which we do accept as a cost for the flexform features. Other than requiring a reference index update, deletion of/changes in data structure or the failure to look them up when completely deleting records may lead to lost files in the uploads/ folders since those are now without a proper reference.

Parameters
array$confField config array
array$rowRecord data
string$tableThe table name
string$fieldNameOptional fieldname passed to hook object
boolean$WSOLBoolean; If set, workspace overlay is applied to records. This is correct behaviour for all presentation and export, but NOT if you want a TRUE reflection of how things are in the live workspace.
integer$newRecordPidValueSPECIAL CASES: Use this, if the DataStructure may come from a parent record and the INPUT row doesn't have a uid yet (hence, the pid cannot be looked up). Then it is necessary to supply a PID value to search recursively in for the DS (used from TCEmain)
Returns
mixed If array, the data structure was found and returned as an array. Otherwise (string) it is an error message.
See also
::getSingleField_typeFlex()

Definition at line 914 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Core\Utility\GeneralUtility\getFileAbsFileName(), TYPO3\CMS\Core\Utility\GeneralUtility\getUrl(), TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj(), TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode(), and TYPO3\CMS\Core\Utility\GeneralUtility\xml2array().

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex(), TYPO3\CMS\Core\DataHandling\DataHandler\insertNewCopyVersion(), TYPO3\CMS\Backend\Form\Element\SuggestElement\processAjaxRequest(), TYPO3\CMS\Core\DataHandling\DataHandler\remapListedDBRecords(), TYPO3\CMS\Impexp\ImportExport\remapListedDBRecords_flexFormCallBack(), TYPO3\CMS\Backend\Form\DataPreprocessor\renderRecord_flexProc(), TYPO3\CMS\Impexp\ImportExport\setFlexFormRelations(), TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools\traverseFlexFormXMLData(), and TYPO3\CMS\Core\DataHandling\DataHandler\versionizeRecord().

◆ getFuncCheck()

static TYPO3\CMS\Backend\Utility\BackendUtility::getFuncCheck (   $mainParams,
  $elementName,
  $currentValue,
  $script = '',
  $addParams = '',
  $tagParams = '' 
)
static

Checkbox function menu. Works like ->getFuncMenu() but takes no $menuItem array since this is a simple checkbox.

Parameters
mixed$mainParams$id is the "&id=" parameter value to be sent to the module, but it can be also a parameter array which will be passed instead of the &id=...
string$elementNameThe form elements name, probably something like "SET[...]
string$currentValueThe value to be selected currently.
string$scriptThe script to send the &id to, if empty it's automatically found
string$addParamsAdditional parameters to pass to the script.
string$tagParamsAdditional attributes for the checkbox input tag
Returns
string HTML code for checkbox
See also
getFuncMenu()

Definition at line 2907 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\quoteJSvalue().

Referenced by TYPO3\CMS\Recordlist\RecordList\clearCache(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\func_search(), TYPO3\CMS\Backend\Tests\Unit\Utility\BackendUtilityTest\getFuncCheckReturnsInputTagWithValueAttribute(), TYPO3\CMS\IndexedSearch\Controller\IndexingStatisticsController\main(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\main(), TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController\main(), TYPO3\CMS\Lowlevel\View\ConfigurationView\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Core\Database\QueryGenerator\makeSelectorTable(), TYPO3\CMS\Filelist\Controller\FileListController\menuConfig(), and TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\processTemplateRowBeforeSaving().

◆ getFuncInput()

static TYPO3\CMS\Backend\Utility\BackendUtility::getFuncInput (   $mainParams,
  $elementName,
  $currentValue,
  $size = 10,
  $script = '',
  $addParams = '' 
)
static

Input field function menu Works like ->getFuncMenu() / ->getFuncCheck() but displays a input field instead which updates the script "onchange"

Parameters
mixed$mainParams$id is the "&id=" parameter value to be sent to the module, but it can be also a parameter array which will be passed instead of the &id=...
string$elementNameThe form elements name, probably something like "SET[...]
string$currentValueThe value to be selected currently.
integer$sizeRelative size of input field, max is 48
string$scriptThe script to send the &id to, if empty it's automatically found
string$addParamsAdditional parameters to pass to the script.
Returns
string HTML code for input text field.
See also
getFuncMenu()

Definition at line 2936 of file BackendUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\quoteJSvalue().

◆ getFuncMenu()

static TYPO3\CMS\Backend\Utility\BackendUtility::getFuncMenu (   $mainParams,
  $elementName,
  $currentValue,
  $menuItems,
  $script = '',
  $addparams = '' 
)
static

Returns a selector box "function menu" for a module Requires the JS function jumpToUrl() to be available See Inside TYPO3 for details about how to use / make Function menus

Parameters
mixed$idThe "&id=" parameter value to be sent to the module, but it can be also a parameter array which will be passed instead of the &id=...
string$elementNameThe form elements name, probably something like "SET[...]
string$currentValueThe value to be selected currently.
array$menuItemsAn array with the menu items for the selector box
string$scriptThe script to send the &id to, if empty it's automatically found
string$addParamsAdditional parameters to pass to the script.
Returns
string HTML code for selector box

Definition at line 2872 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\quoteJSvalue().

Referenced by TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\func_search(), TYPO3\CMS\Perm\Controller\PermissionModuleController\getButtons(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\getFuncMenu(), TYPO3\CMS\Lowlevel\View\ConfigurationView\getFuncMenu(), TYPO3\CMS\Recycler\Controller\RecyclerModuleController\getFunctionMenu(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\linkWrapTemplateTitle(), TYPO3\CMS\Dbal\Controller\ModuleController\main(), TYPO3\CMS\Func\Controller\PageFunctionsController\main(), TYPO3\CMS\Frontend\Controller\PageInformationController\main(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\main(), TYPO3\CMS\Info\Controller\InfoModuleController\main(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\main(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\main(), TYPO3\CMS\FuncWizards\Controller\WebFunctionWizardsBaseController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController\main(), TYPO3\CMS\IndexedSearch\Controller\IndexedPagesController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\main(), TYPO3\CMS\IndexedSearch\Controller\ModuleController\main(), TYPO3\CMS\Backend\Controller\File\FileUploadController\main(), TYPO3\CMS\Backend\Controller\File\EditFileController\main(), TYPO3\CMS\Backend\Controller\File\RenameFileController\main(), TYPO3\CMS\Backend\Controller\File\CreateFolderController\main(), TYPO3\CMS\Version\Controller\VersionModuleController\main(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\main(), TYPO3\CMS\Perm\Controller\PermissionModuleController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), and TYPO3\CMS\Filelist\Controller\FileListController\menuConfig().

◆ getGroupNames()

static TYPO3\CMS\Backend\Utility\BackendUtility::getGroupNames (   $fields = 'title,
uid'  ,
  $where = '' 
)
static

Returns an array with be_groups records (title, uid) of all groups NOT DELETED sorted by their title

Parameters
string$fieldsField list
string$whereWHERE clause
Returns
array

Definition at line 1280 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Perm\Controller\PermissionAjaxController\__construct(), TYPO3\CMS\Belog\Controller\AbstractController\createUserAndGroupListForSelectOptions(), and TYPO3\CMS\Perm\Controller\PermissionModuleController\getButtons().

◆ getHash()

static TYPO3\CMS\Backend\Utility\BackendUtility::getHash (   $hash,
  $expTime = 0 
)
static

Returns data stored for the hash string in the cache "cache_hash" Can be used to retrieved a cached value, array or object

IDENTICAL to the function by same name found in

Parameters
string$hashThe hash-string which was used to store the data value
integer$expTimeVariable is not used in the function
Returns
mixed The "data" from the cache

Definition at line 1149 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Cshmanual\Controller\HelpModuleController\createGlossaryIndex(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroupData(), and TYPO3\CMS\Backend\Configuration\TsConfigParser\parseTSconfig().

◆ getInlineLocalizationMode()

static TYPO3\CMS\Backend\Utility\BackendUtility::getInlineLocalizationMode (   $table,
  $fieldOrConfig 
)
static

Returns the value of the property localizationMode in the given $config array ($GLOBALS['TCA'][

['columns'][<field>]['config']). If the table is prepared for localization and no localizationMode is set, 'select' is returned by default. If the table is not prepared for localization or not defined at all in $GLOBALS['TCA'], FALSE is returned.

Parameters
string$tableThe name of the table to lookup in TCA
mixed$fieldOrConfigThe fieldname (string) or the configuration of the field to check (array)
Returns
mixed If table is localizable, the set localizationMode is returned (if property is not set, 'select' is returned by default); if table is not localizable, FALSE is returned

Definition at line 659 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex_procInData_travDS(), TYPO3\CMS\Backend\Form\Element\InlineElement\injectAjaxConfiguration(), TYPO3\CMS\Core\DataHandling\DataHandler\insertNewCopyVersion(), TYPO3\CMS\Core\DataHandling\DataHandler\moveL10nOverlayRecords(), TYPO3\CMS\Backend\Form\Element\InlineElement\parseStructureString(), and TYPO3\CMS\Backend\Form\Element\InlineElement\pushStructure().

◆ getItemLabel()

static TYPO3\CMS\Backend\Utility\BackendUtility::getItemLabel (   $table,
  $col,
  $printAllWrap = '' 
)
static

Returns the label-value for fieldname $col in table, $table If $printAllWrap is set (to a "wrap") then it's wrapped around the $col value IF THE COLUMN $col DID NOT EXIST in TCA!, eg. $printAllWrap = '|' and the fieldname was 'not_found_field' then the return value would be 'not_found_field'

Parameters
string$tableTable name, present in $GLOBALS['TCA']
string$colField name
string$printAllWrapWrap value - set function description - this parameter is deprecated since TYPO3 6.2 and is removed two versions later. This paramater is a conceptual failure, as the content can then never be HSCed afterwards (which is how the method is used all the time), and then the code would be HSCed twice.
Returns
string or NULL if $col is not found in the TCA table

Definition at line 1927 of file BackendUtility.php.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_check(), TYPO3\CMS\Backend\History\RecordHistory\displayHistory(), TYPO3\CMS\Workspaces\Service\HistoryService\getDifferences(), TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getStageActions(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Backend\History\RecordHistory\renderDiff(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\renderFileInformationAsTable(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\renderPropertiesAsTable(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem().

◆ getLabelFromItemlist()

static TYPO3\CMS\Backend\Utility\BackendUtility::getLabelFromItemlist (   $table,
  $col,
  $key 
)
static

Returns the label of the first found entry in an "items" array from $GLOBALS'TCA' where the value is $key

Parameters
string$tableTable name, present in $GLOBALS['TCA']
string$colField name, present in $GLOBALS['TCA']
string$keyitems-array value to match
Returns
string Label for item entry

Definition at line 1846 of file BackendUtility.php.

Referenced by TYPO3\CMS\Backend\Tests\Unit\Utility\BackendUtilityTest\getLabelFromItemlistReturnsCorrectFields(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem().

◆ getLabelFromItemListMerged()

static TYPO3\CMS\Backend\Utility\BackendUtility::getLabelFromItemListMerged (   $pageId,
  $table,
  $column,
  $key 
)
static

Return the label of a field by additionally checking TsConfig values

Parameters
integer$pageIdPage id
string$tableTable name
string$columnField Name
string$keyitem value
Returns
string Label for item entry

Definition at line 1868 of file BackendUtility.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem().

◆ getLabelsFromItemsList()

static TYPO3\CMS\Backend\Utility\BackendUtility::getLabelsFromItemsList (   $table,
  $column,
  $key 
)
static

Splits the given key with commas and returns the list of all the localized items labels, separated by a comma. NOTE: this does not take itemsProcFunc into account

Parameters
string$tableTable name, present in TCA
string$columnField name
string$keyKey or comma-separated list of keys.
Returns
string Comma-separated list of localized labels

Definition at line 1896 of file BackendUtility.php.

Referenced by TYPO3\CMS\Backend\Tests\Unit\Utility\BackendUtilityTest\getLabelsFromItemsListReturnsValueIfItemIsFound().

◆ getListGroupNames()

static TYPO3\CMS\Backend\Utility\BackendUtility::getListGroupNames (   $fields = 'title,
uid'   
)
static

Returns an array with be_groups records (like ->getGroupNames) but:

  • if the current BE_USER is admin, then all groups are returned, otherwise only groups that the current user is member of (usergroup_cached_list) will be returned.
Parameters
string$fieldsField list; $fields specify the fields selected (default: title,uid)
Returns
array

Definition at line 1329 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Perm\Controller\PermissionModuleController\getButtons().

◆ getListViewLink()

static TYPO3\CMS\Backend\Utility\BackendUtility::getListViewLink (   $urlParameters = array(),
  $linkTitle = '',
  $linkText = '' 
)
static

Return a link to the list view

Parameters
array$urlParametersURL parameters that should be added as key value pairs
string$linkTitletitle for the link tag
string$linkTextoptional link text after the icon
Returns
string A complete link tag or empty string

Definition at line 3202 of file BackendUtility.php.

References TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIcon().

Referenced by TYPO3\CMS\Version\Controller\VersionModuleController\getButtons(), and TYPO3\CMS\Backend\Template\DocumentTemplate\viewPageIcon().

◆ getLiveVersionIdOfRecord()

static TYPO3\CMS\Backend\Utility\BackendUtility::getLiveVersionIdOfRecord (   $table,
  $uid 
)
static

Gets the id of the live version of a record.

Parameters
string$tableName of the table
integer$uidUid of the offline/draft record
Returns
integer The id of the live version of the record (or NULL if nothing was found)

Definition at line 4052 of file BackendUtility.php.

References $uid.

Referenced by TYPO3\CMS\Backend\Form\DataPreprocessor\getLiveDefaultId(), TYPO3\CMS\Core\Database\RelationHandler\getLiveDefaultId(), TYPO3\CMS\Backend\Form\Element\InlineElement\getSingleField_typeInline(), TYPO3\CMS\Core\DataHandling\DataHandler\remapListedDBRecords_procDBRefs(), and TYPO3\CMS\Workspaces\Service\WorkspaceService\viewSingleRecord().

◆ getLiveVersionOfRecord()

◆ getModTSconfig()

static TYPO3\CMS\Backend\Utility\BackendUtility::getModTSconfig (   $id,
  $TSref 
)
static

Returns the merged User/Page TSconfig for page id, $id. Please read details about module programming elsewhere!

Parameters
integer$idPage uid
string$TSrefAn object string which determines the path of the TSconfig to return.
Returns
array

Definition at line 2849 of file BackendUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule().

Referenced by TYPO3\CMS\Backend\View\BackendLayoutView\addColPosListLayoutItems(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\DB_newWizard(), TYPO3\CMS\Frontend\View\AdminPanelView\ext_makeToolBar(), TYPO3\CMS\Backend\Controller\EditDocumentController\getLanguages(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\getPreviewFrameWidths(), TYPO3\CMS\Backend\Configuration\TranslationConfigurationProvider\getSystemLanguages(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\getTypeParameterIfSet(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\init(), TYPO3\CMS\Workspaces\Controller\PreviewController\initializeAction(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\loadModTsConfig(), TYPO3\CMS\Form\View\Wizard\WizardView\loadSettings(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\main(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\main(), TYPO3\CMS\Backend\Controller\NewRecordController\main(), TYPO3\CMS\Backend\Controller\EditDocumentController\main(), TYPO3\CMS\Recordlist\RecordList\menuConfig(), TYPO3\CMS\Backend\Module\BaseScriptClass\menuConfig(), TYPO3\CMS\Backend\Controller\PageLayoutController\menuConfig(), and TYPO3\CMS\Frontend\Controller\TranslationStatusController\renderL10nTable().

◆ getModuleData()

static TYPO3\CMS\Backend\Utility\BackendUtility::getModuleData (   $MOD_MENU,
  $CHANGED_SETTINGS,
  $modName,
  $type = '',
  $dontValidateList = '',
  $setDefaultList = '' 
)
static

Returns an array which is most backend modules becomes MOD_SETTINGS containing values from function menus etc. determining the function of the module. This is kind of session variable management framework for the backend users. If a key from MOD_MENU is set in the CHANGED_SETTINGS array (eg. a value is passed to the script from the outside), this value is put into the settings-array Ultimately, see Inside TYPO3 for how to use this function in relation to your modules.

Parameters
array$MOD_MENUMOD_MENU is an array that defines the options in menus.
array$CHANGED_SETTINGSCHANGED_SETTINGS represents the array used when passing values to the script from the menus.
string$modNamemodName is the name of this module. Used to get the correct module data.
string$typeIf type is 'ses' then the data is stored as session-lasting data. This means that it'll be wiped out the next time the user logs in.
string$dontValidateListdontValidateList can be used to list variables that should not be checked if their value is found in the MOD_MENU array. Used for dynamically generated menus.
string$setDefaultListList of default values from $MOD_MENU to set in the output array (only if the values from MOD_MENU are not arrays)
Returns
array The array $settings, which holds a key for each MOD_MENU key and the values of each key will be within the range of values for each menuitem

Definition at line 3081 of file BackendUtility.php.

References $GLOBALS, die, and TYPO3\CMS\Core\Utility\GeneralUtility\inList().

Referenced by TYPO3\CMS\Backend\Module\AbstractFunctionModule\checkExtObj(), TYPO3\CMS\Backend\Module\BaseScriptClass\checkExtObj(), TYPO3\CMS\Backend\Module\AbstractFunctionModule\handleExternalFunctionValue(), TYPO3\CMS\Backend\Controller\EditDocumentController\init(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\linkWrapTemplateTitle(), TYPO3\CMS\Dbal\Controller\ModuleController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController\main(), TYPO3\CMS\Recordlist\Browser\ElementBrowser\main_rte(), TYPO3\CMS\IndexedSearch\Controller\ModuleController\menuConfig(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\menuConfig(), TYPO3\CMS\Lowlevel\View\ConfigurationView\menuConfig(), TYPO3\CMS\Version\Controller\VersionModuleController\menuConfig(), TYPO3\CMS\Recordlist\RecordList\menuConfig(), TYPO3\CMS\Perm\Controller\PermissionModuleController\menuConfig(), TYPO3\CMS\Filelist\Controller\FileListController\menuConfig(), TYPO3\CMS\Backend\Module\BaseScriptClass\menuConfig(), TYPO3\CMS\Backend\Controller\PageLayoutController\menuConfig(), TYPO3\CMS\Backend\Form\Element\InlineElement\processAjaxRequestConstruct(), TYPO3\CMS\Core\Database\QueryView\procesStoreControl(), and TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook\save().

◆ getModuleUrl()

static TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl (   $moduleName,
  $urlParameters = array(),
  $backPathOverride = FALSE,
  $returnAbsoluteUrl = FALSE 
)
static

Returns the URL to a given module

Parameters
string$moduleNameName of the module
array$urlParametersURL parameters that should be added as key value pairs
boolean/string$backPathOverride backpath that should be used instead of the global $BACK_PATH
boolean$returnAbsoluteUrlIf set to TRUE, the URL returned will be absolute, $backPathOverride will be ignored in this case
Returns
string Calculated URL

Definition at line 3143 of file BackendUtility.php.

References $GLOBALS, $moduleName, TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv(), and TYPO3\CMS\Core\Utility\GeneralUtility\implodeArrayForUrl().

Referenced by TYPO3\CMS\SysAction\ActionTask\__construct(), TYPO3\CMS\Impexp\Hook\BackendControllerHook\addJavaScript(), TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder\buildBackendUri(), TYPO3\CMS\Rtehtmlarea\Extension\UserElements\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3HtmlParser\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3Image\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3Link\buildJavascriptConfiguration(), TYPO3\CMS\Backend\Module\ModuleLoader\checkMod(), TYPO3\CMS\Recordlist\RecordList\clearCache(), TYPO3\CMS\Backend\RecordList\AbstractRecordList\determineScriptUrl(), TYPO3\CMS\Recordlist\Browser\ElementBrowser\determineScriptUrl(), TYPO3\CMS\Backend\Tree\View\AbstractTreeView\determineScriptUrl(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getObjTree(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getTemplateHierarchyArr(), TYPO3\CMS\Frontend\View\AdminPanelView\ext_makeToolBar(), TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController\frameSet(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\func_default(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\func_search(), TYPO3\CMS\SysAction\ActionToolbarMenu\getActionEntries(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\getButtons(), TYPO3\CMS\Perm\Controller\PermissionModuleController\getButtons(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getCacheFloodingProtectionStatus(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\getEditLink(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getInstallToolPasswordStatus(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\getRecordActions(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getReferenceIndexStatus(), TYPO3\CMS\Install\Report\InstallStatusReport\getRemainingUpdatesStatus(), TYPO3\CMS\Backend\Toolbar\ShortcutToolbarItem\getTokenUrl(), TYPO3\CMS\Beuser\Controller\BackendUserController\indexAction(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\indexAction(), TYPO3\CMS\IndexedSearch\Controller\IndexedPagesController\indexed_info(), TYPO3\CMS\Backend\Controller\File\FileUploadController\init(), TYPO3\CMS\Cshmanual\Controller\HelpModuleController\init(), TYPO3\CMS\Setup\Controller\SetupModuleController\init(), TYPO3\CMS\Workspaces\Controller\PreviewController\initializeAction(), TYPO3\CMS\Backend\History\RecordHistory\linkPage(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\linkWrapTemplateTitle(), TYPO3\CMS\Backend\Controller\BackendController\loadResourcesForRegisteredNavigationComponents(), TYPO3\CMS\Version\ClickMenu\VersionClickMenu\main(), TYPO3\CMS\Impexp\Clickmenu\main(), TYPO3\CMS\Recordlist\Controller\ElementBrowserFramesetController\main(), TYPO3\CMS\Dbal\Controller\ModuleController\main(), TYPO3\CMS\Func\Controller\PageFunctionsController\main(), TYPO3\CMS\Frontend\Controller\PageInformationController\main(), TYPO3\CMS\Info\Controller\InfoModuleController\main(), TYPO3\CMS\Impexp\Task\ImportExportTask\main(), TYPO3\CMS\Backend\Controller\Wizard\EditController\main(), TYPO3\CMS\Backend\Controller\Wizard\ListController\main(), TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\main(), TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\main(), TYPO3\CMS\Rtehtmlarea\User\main_user(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Version\Controller\VersionModuleController\pageSubContent(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\procesResources(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\processTemplateRowBeforeSaving(), TYPO3\CMS\Backend\Controller\BackendController\render(), TYPO3\CMS\Openid\OpenidModuleSetup\renderOpenID(), TYPO3\CMS\Backend\Form\FormEngine\renderWizards(), TYPO3\CMS\Backend\ContextMenu\AbstractContextMenuDataProvider\replaceModuleTokenInContentUrl(), TYPO3\CMS\Setup\Controller\SetupModuleController\simulateUser(), TYPO3\CMS\Workspaces\Controller\ReviewController\singleIndexAction(), TYPO3\CMS\Filelist\FileList\start(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\tableRow(), TYPO3\CMS\Lowlevel\Utility\ArrayBrowser\tree(), TYPO3\CMS\SysAction\ActionTask\viewSqlQuery(), TYPO3\CMS\WizardSortpages\View\SortPagesWizardModuleFunction\wiz_linkOrder(), and TYPO3\CMS\Lowlevel\Utility\ArrayBrowser\wrapArrayKey().

◆ getMovePlaceholder()

static TYPO3\CMS\Backend\Utility\BackendUtility::getMovePlaceholder (   $table,
  $uid,
  $fields = '*',
  $workspace = NULL 
)
static

◆ getNoRecordTitle()

static TYPO3\CMS\Backend\Utility\BackendUtility::getNoRecordTitle (   $prep = FALSE)
static

◆ getOriginalTranslationTable()

static TYPO3\CMS\Backend\Utility\BackendUtility::getOriginalTranslationTable (   $table)
static

Gets the original translation pointer table. For e.g. pages_language_overlay this would be pages.

Parameters
string$tableName of the table
Returns
string Pointer table (if any)

Definition at line 627 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\moveL10nOverlayRecords().

◆ getPageForRootline()

static TYPO3\CMS\Backend\Utility\BackendUtility::getPageForRootline (   $uid,
  $clause,
  $workspaceOL 
)
staticprotected

Gets the cached page record for the rootline

Parameters
integer$uidPage id for which to create the root line.
string$clauseClause can be used to select other criteria. It would typically be where-clauses that stops the process if we meet a page, the user has no reading access to.
boolean$workspaceOLIf TRUE, version overlay is applied. This must be requested specifically because it is usually only wanted when the rootline is used for visual output while for permission checking you want the raw thing!
Returns
array Cached page record for the rootline
See also
BEgetRootLine

Definition at line 364 of file BackendUtility.php.

References $GLOBALS, and $uid.

◆ getPagesTSconfig()

static TYPO3\CMS\Backend\Utility\BackendUtility::getPagesTSconfig (   $id,
  $rootLine = NULL,
  $returnPartArray = FALSE 
)
static

Returns the Page TSconfig for page with id, $id

Parameters
$idinteger Page uid for which to create Page TSconfig
$rootLinearray If $rootLine is an array, that is used as rootline, otherwise rootline is just calculated
boolean$returnPartArrayIf $returnPartArray is set, then the array with accumulated Page TSconfig is returned non-parsed. Otherwise the output will be parsed by the TypoScript parser.
Returns
array Page TSconfig
See also

Definition at line 1172 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\checkIncludeLines_array(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), and TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule().

Referenced by TYPO3\CMS\Backend\View\BackendLayoutView\addBackendLayoutItems(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex_procInData_travDS(), TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend\clearPageCache(), TYPO3\CMS\Backend\Form\DataPreprocessor\fetchRecord(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\getDomainName(), TYPO3\CMS\Backend\Form\Element\InlineElement\getNewRecordPid(), TYPO3\CMS\Core\DataHandling\DataHandler\getPlaceholderTitleForTableLabel(), TYPO3\CMS\Rtehtmlarea\BrowseLinks\getRTEConfig(), TYPO3\CMS\Recordlist\Browser\ElementBrowser\getRTEConfig(), TYPO3\CMS\Core\DataHandling\DataHandler\getTCEMAIN_TSconfig(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\init(), TYPO3\CMS\Rtehtmlarea\RteHtmlAreaBase\isAvailable(), TYPO3\CMS\Backend\View\PageLayoutView\isRTEforField(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\main(), TYPO3\CMS\Rtehtmlarea\ContentParser\main_parse_html(), TYPO3\CMS\Rtehtmlarea\User\main_user(), TYPO3\CMS\WizardCrpages\Controller\CreatePagesWizardModuleFunctionController\modMenu(), TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord_processFieldValue(), and TYPO3\CMS\Backend\Form\Element\SuggestElement\processAjaxRequest().

◆ getPathType_web_nonweb()

static TYPO3\CMS\Backend\Utility\BackendUtility::getPathType_web_nonweb (   $path)
static

Returns "web" if the $path (absolute) is within the DOCUMENT ROOT - and thereby qualifies as a "web" folder.

Parameters
string$pathPath to evaluate
Returns
boolean

Definition at line 4238 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordRaw(), TYPO3\CMS\Core\Utility\GeneralUtility\isFirstPartOfStr(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ getPidForModTSconfig()

static TYPO3\CMS\Backend\Utility\BackendUtility::getPidForModTSconfig (   $table,
  $uid,
  $pid 
)
static

Return $uid if $table is pages and $uid is integer - otherwise the $pid

Parameters
string$tableTable name
integer$uidRecord uid
integer$pidRecord pid
Returns
integer

Definition at line 3516 of file BackendUtility.php.

References $uid, and TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger().

◆ getProcessedValueExtra()

static TYPO3\CMS\Backend\Utility\BackendUtility::getProcessedValueExtra (   $table,
  $fN,
  $fV,
  $fixed_lgd_chars = 0,
  $uid = 0,
  $forceResult = TRUE 
)
static

Same as ->getProcessedValue() but will go easy on fields like "tstamp" and "pid" which are not configured in TCA - they will be formatted by this function instead.

Parameters
string$tableTable name, present in TCA
string$fNField name
string$fVField value
integer$fixed_lgd_charsThe max amount of characters the value may occupy
integer$uidUid of the current record
boolean$forceResultIf BackendUtility::getRecordTitle is used to process the value, this parameter is forwarded.
Returns
string
See also
getProcessedValue()

Definition at line 2376 of file BackendUtility.php.

References $GLOBALS, and $uid.

Referenced by TYPO3\CMS\Backend\Form\Element\InlineElement\renderForeignRecordHeader(), and TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\renderPropertiesAsTable().

◆ getRecordIconAltText()

static TYPO3\CMS\Backend\Utility\BackendUtility::getRecordIconAltText (   $row,
  $table = 'pages' 
)
static

Returns title-attribute information for ANY record (from a table defined in TCA of course) The included information depends on features of the table, but if hidden, starttime, endtime and fe_group fields are configured for, information about the record status in regard to these features are is included. "pages" table can be used as well and will return the result of ->titleAttribForPages() for that page.

Parameters
array$rowTable row; $row is a row from the table, $table
string$tableTable name
Returns
string

Definition at line 1790 of file BackendUtility.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\getIcon(), TYPO3\CMS\Backend\Template\DocumentTemplate\getPageInfo(), TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController\main(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printDBClickMenu(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printNewDBLevel(), TYPO3\CMS\Fluid\ViewHelpers\Be\PageInfoViewHelper\render(), and TYPO3\CMS\Backend\Form\Element\InlineElement\renderForeignRecordHeader().

◆ getRecordLocalization()

static TYPO3\CMS\Backend\Utility\BackendUtility::getRecordLocalization (   $table,
  $uid,
  $language,
  $andWhereClause = '' 
)
static

Fetches the localization for a given record.

Parameters
string$tableTable name present in $GLOBALS['TCA']
integer$uidThe uid of the record
integer$languageThe uid of the language record in sys_language
string$andWhereClauseOptional additional WHERE clause (default: '')
Returns
mixed Multidimensional array with selected records; if none exist, FALSE is returned

Definition at line 283 of file BackendUtility.php.

References $GLOBALS, and $uid.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\getPreviousLocalizedRecordUid(), TYPO3\CMS\Core\DataHandling\DataHandler\insertNewCopyVersion(), and TYPO3\CMS\Core\DataHandling\DataHandler\moveL10nOverlayRecords().

◆ getRecordPath()

static TYPO3\CMS\Backend\Utility\BackendUtility::getRecordPath (   $uid,
  $clause,
  $titleLimit,
  $fullTitleLimit = 0 
)
static

Returns the path (visually) of a page $uid, fx. "/First page/Second page/Another subpage" Each part of the path will be limited to $titleLimit characters Deleted pages are filtered out.

Parameters
integer$uidPage uid for which to create record path
string$clauseClause is additional where clauses, eg.
integer$titleLimitTitle limit
integer$fullTitleLimitTitle limit of Full title (typ. set to 1000 or so)
Returns
mixed Path of record (string) OR array with short/long title if $fullTitleLimit is set.

Definition at line 437 of file BackendUtility.php.

References $uid, and TYPO3\CMS\Core\Utility\GeneralUtility\fixed_lgd_cs().

Referenced by TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getTemplateHierarchyArr(), TYPO3\CMS\Workspaces\Service\GridDataService\generateGridListFromVersions(), TYPO3\CMS\Backend\Form\Element\SuggestDefaultReceiver\getRecordPath(), TYPO3\CMS\Backend\Form\FormEngine\getRecordPath(), TYPO3\CMS\Impexp\Task\ImportExportTask\main(), TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord_processFieldValue(), TYPO3\CMS\SysAction\ActionTask\viewEditRecord(), and TYPO3\CMS\Core\Utility\File\ExtendedFileUtility\writeLog().

◆ getRecordRaw()

static TYPO3\CMS\Backend\Utility\BackendUtility::getRecordRaw (   $table,
  $where = '',
  $fields = '*' 
)
static

Returns the first record found from $table with $where as WHERE clause This function does NOT check if a record has the deleted flag set. $table does NOT need to be configured in $GLOBALS['TCA'] The query used is simply this: $query = 'SELECT ' . $fields . ' FROM ' . $table . ' WHERE ' . $where;

Parameters
string$tableTable name (not necessarily in TCA)
string$whereWHERE clause
string$fields$fields is a list of fields to select, default is '*'
Returns
array|bool First row found, if any, FALSE otherwise

Definition at line 149 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\deleteRecord(), TYPO3\CMS\Core\DataHandling\DataHandler\doesRecordExist(), TYPO3\CMS\Lowlevel\CleanerCommand\genTree_traverse(), TYPO3\CMS\Backend\Utility\BackendUtility\getPathType_web_nonweb(), TYPO3\CMS\Lowlevel\MissingRelationsCommand\main(), TYPO3\CMS\Lowlevel\CleanFlexformCommand\main_autoFix(), TYPO3\CMS\Lowlevel\CleanFlexformCommand\main_parseTreeCallBack(), and TYPO3\CMS\Core\Database\ReferenceIndex\updateRefIndexTable().

◆ getRecordsByField()

static TYPO3\CMS\Backend\Utility\BackendUtility::getRecordsByField (   $theTable,
  $theField,
  $theValue,
  $whereClause = '',
  $groupBy = '',
  $orderBy = '',
  $limit = '',
  $useDeleteClause = TRUE 
)
static

Returns records from table, $theTable, where a field ($theField) equals the value, $theValue The records are returned in an array If no records were selected, the function returns nothing

Parameters
string$theTableTable name present in $GLOBALS['TCA']
string$theFieldField to select on
string$theValueValue that $theField must match
string$whereClauseOptional additional WHERE clauses put in the end of the query. DO NOT PUT IN GROUP BY, ORDER BY or LIMIT!
string$groupByOptional GROUP BY field(s), if none, supply blank string.
string$orderByOptional ORDER BY field(s), if none, supply blank string.
string$limitOptional LIMIT value ([begin,]max), if none, supply blank string.
boolean$useDeleteClauseUse the deleteClause to check if a record is deleted (default TRUE)
Returns
mixed Multidimensional array with selected records (if any is selected)

Definition at line 173 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\Authentication\BackendUserAuthentication\checkFullLanguagesAccess(), TYPO3\CMS\Core\DataHandling\DataHandler\copyL10nOverlayRecords(), TYPO3\CMS\Core\DataHandling\DataHandler\deleteL10nOverlayRecords(), TYPO3\CMS\Workspaces\Service\WorkspaceService\getObjectManager(), TYPO3\CMS\Core\Database\SoftReferenceIndex\getPageIdFromAlias(), TYPO3\CMS\Core\DataHandling\DataHandler\getRecordsWithSameValue(), TYPO3\CMS\Backend\Controller\BackendController\handlePageEditing(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Core\DataHandling\DataHandler\moveL10nOverlayRecords(), TYPO3\CMS\Recordlist\Browser\ElementBrowser\parseCurUrl(), TYPO3\CMS\Recycler\Domain\Model\DeletedRecords\setData(), and TYPO3\CMS\Core\Html\RteHtmlParser\TS_links_rte().

◆ getRecordsSortedByTitle()

static TYPO3\CMS\Backend\Utility\BackendUtility::getRecordsSortedByTitle ( array  $fields,
  $table,
  $titleField,
  $where = '' 
)
staticprotected

Returns an array of all non-deleted records of a table sorted by a given title field. The value of the title field will be replaced by the return value of self::getRecordTitle() before the sorting is performed.

Parameters
array$fieldsFields to select
string$tableTable name
string$titleFieldField that will contain the record title
string$whereAdditional where clause
Returns
array Array of sorted records

Definition at line 1300 of file BackendUtility.php.

References $GLOBALS, and $result.

◆ getRecordTitle()

static TYPO3\CMS\Backend\Utility\BackendUtility::getRecordTitle (   $table,
  $row,
  $prep = FALSE,
  $forceResult = TRUE 
)
static

Returns the "title"-value in record, $row, from table, $table The field(s) from which the value is taken is determined by the "ctrl"-entries 'label', 'label_alt' and 'label_alt_force'

Parameters
string$tableTable name, present in TCA
array$rowRow from table
boolean$prepIf set, result is prepared for output: The output is cropped to a limited length (depending on BE_USER->uc['titleLen']) and if no value is found for the title, '[No title]' is returned (localized). Further, the output is htmlspecialchars()'ed
boolean$forceResultIf set, the function always returns an output. If no value is found for the title, '[No title]' is returned (localized).
Returns
string

Definition at line 1980 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\callUserFunction(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Linkvalidator\Task\ValidatorTask\buildMail(), TYPO3\CMS\Workspaces\Service\IntegrityService\checkLocalization(), TYPO3\CMS\Backend\Form\FormEngine\dbFileIcons(), TYPO3\CMS\Recordlist\Browser\ElementBrowser\expandPage(), TYPO3\CMS\Version\DataHandler\CommandMap\explodeSetStage(), TYPO3\CMS\Impexp\ImportExport\export_addRecord(), TYPO3\CMS\Workspaces\Service\GridDataService\generateGridListFromVersions(), TYPO3\CMS\Backend\History\RecordHistory\generateTitle(), TYPO3\CMS\Core\Integrity\DatabaseIntegrityCheck\genTree_records(), TYPO3\CMS\Backend\Template\DocumentTemplate\getHeader(), TYPO3\CMS\Backend\Controller\PageLayoutController\getHeaderFlashMessagesForCurrentPid(), TYPO3\CMS\Backend\Form\Element\SuggestDefaultReceiver\getLabel(), TYPO3\CMS\Linkvalidator\LinkAnalyzer\getLinkStatistics(), TYPO3\CMS\Backend\Template\DocumentTemplate\getPageInfo(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\getRecordArray(), TYPO3\CMS\Core\DataHandling\DataHandler\getRecordPropertiesFromRow(), TYPO3\CMS\Backend\View\PageLayoutView\getSelectedBackendLayoutUid(), TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider\getTableWhere(), TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\linkWrapItems(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\linkWrapItems(), TYPO3\CMS\Core\Integrity\DatabaseIntegrityCheck\lostRecords(), TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController\main(), TYPO3\CMS\Impexp\Controller\ImportExportController\makeConfigurationForm(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\makeRef(), TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord_processFieldValue(), TYPO3\CMS\Version\Controller\VersionModuleController\pageSubContent(), TYPO3\CMS\Backend\Controller\EditDocumentController\printContent(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printDBClickMenu(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printDragDropClickMenu(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printNewDBLevel(), TYPO3\CMS\Core\Database\RelationHandler\readyForInterface(), TYPO3\CMS\Backend\Form\Element\InlineElement\renderForeignRecordHeader(), TYPO3\CMS\Backend\Form\DataPreprocessor\selectAddForeign(), TYPO3\CMS\Recycler\Controller\DeletedRecordsController\transform(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem(), TYPO3\CMS\Version\Controller\VersionModuleController\versioningMgm(), TYPO3\CMS\SysAction\ActionTask\viewEditRecord(), and TYPO3\CMS\Core\Utility\File\ExtendedFileUtility\writeLog().

◆ getRecordTitlePrep()

static TYPO3\CMS\Backend\Utility\BackendUtility::getRecordTitlePrep (   $title,
  $titleLength = 0 
)
static

Crops a title string to a limited length and if it really was cropped, wrap it in a |, which offers a tooltip with the original title when moving mouse over it.

Parameters
string$titleThe title string to be cropped
integer$titleLengthCrop title after this length - if not set, BE_USER->uc['titleLen'] is used
Returns
string The processed title string, wrapped in | if cropped

Definition at line 2042 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), and TYPO3\CMS\Core\Utility\GeneralUtility\fixed_lgd_cs().

Referenced by TYPO3\CMS\IndexedSearch\Controller\IndexedPagesController\drawTableOfIndexedPages(), TYPO3\CMS\Core\Resource\Service\UserFileInlineLabelService\getInlineLabel(), TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\linkWrapItems(), and TYPO3\CMS\Backend\Form\Element\InlineElement\renderForeignRecordHeader().

◆ getRecordWSOL()

static TYPO3\CMS\Backend\Utility\BackendUtility::getRecordWSOL (   $table,
  $uid,
  $fields = '*',
  $where = '',
  $useDeleteClause = TRUE,
  $unsetMovePointers = FALSE 
)
static

Like getRecord(), but overlays workspace version if any.

Parameters
string$tableTable name present in $GLOBALS['TCA']
integer$uidUID of record
string$fieldsList of fields to select
string$whereAdditional WHERE clause, eg. " AND blablabla = 0
boolean$useDeleteClauseUse the deleteClause to check if a record is deleted (default TRUE)
boolean$unsetMovePointersIf TRUE the function does not return a "pointer" row for moved records in a workspace
Returns
array Returns the row if found, otherwise nothing

Definition at line 118 of file BackendUtility.php.

References $uid, TYPO3\CMS\Core\Utility\GeneralUtility\inList(), and TYPO3\CMS\Core\Utility\GeneralUtility\uniqueList().

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex_procInData_travDS(), TYPO3\CMS\Backend\Form\FormEngine\dbFileIcons(), TYPO3\CMS\Recordlist\Browser\ElementBrowser\expandPage(), TYPO3\CMS\Impexp\Controller\ImportExportController\exportData(), TYPO3\CMS\Impexp\LocalPageTree\ext_tree(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\generateList(), TYPO3\CMS\Core\Resource\ResourceFactory\getFileReferenceObject(), TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher\getPageIdByRecord(), TYPO3\CMS\Backend\Tree\Pagetree\DataProvider\getRecordWithWorkspaceOverlay(), TYPO3\CMS\Backend\View\PageLayoutView\getSelectedBackendLayoutUid(), TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider\getTableWhere(), TYPO3\CMS\Workspaces\Hook\BackendUtilityHook\getWorkspaceService(), TYPO3\CMS\Backend\Controller\BackendController\handlePageEditing(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\init(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\initFileOrFolderRecord(), TYPO3\CMS\Backend\Form\FormEngine\loadPaletteElements(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\main(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\main(), TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController\main(), TYPO3\CMS\Impexp\Controller\ImportExportController\makeConfigurationForm(), TYPO3\CMS\Core\DataHandling\DataHandler\moveL10nOverlayRecords(), TYPO3\CMS\Core\DataHandling\DataHandler\moveRecord_procFields(), TYPO3\CMS\Recordlist\Browser\ElementBrowser\parseCurUrl(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printDBClickMenu(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printNewDBLevel(), TYPO3\CMS\Backend\Form\Element\InlineElement\renderForeignRecordHeader(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\renderList(), TYPO3\CMS\Opendocs\Controller\OpendocsController\renderMenuEntry(), TYPO3\CMS\Workspaces\ExtDirect\ToolbarMenu\setWorkspace(), and TYPO3\CMS\Backend\Configuration\TranslationConfigurationProvider\translationInfo().

◆ getRegisteredFlexForms()

static TYPO3\CMS\Backend\Utility\BackendUtility::getRegisteredFlexForms (   $table = 'tt_content')
static

Returns all registered FlexForm definitions with title and fields

Parameters
string$tableThe content table
Returns
array The data structures with speaking extension title
See also
::getExcludeFields()

Definition at line 1053 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\getFileAbsFileName(), TYPO3\CMS\Core\Utility\GeneralUtility\getUrl(), TYPO3\CMS\Core\Utility\GeneralUtility\resolveAllSheetsInDS(), TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode(), and TYPO3\CMS\Core\Utility\GeneralUtility\xml2array().

◆ getRuntimeCache()

static TYPO3\CMS\Backend\Utility\BackendUtility::getRuntimeCache ( )
staticprotected

Gets an instance of the runtime cache.

Returns
VariableFrontend

Definition at line 3667 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ getSignalSlotDispatcher()

static TYPO3\CMS\Backend\Utility\BackendUtility::getSignalSlotDispatcher ( )
staticprotected

Get the SignalSlot dispatcher

Returns

Definition at line 4380 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ getSpecConfParametersFromArray()

static TYPO3\CMS\Backend\Utility\BackendUtility::getSpecConfParametersFromArray (   $pArr)
static

Takes an array of "[key] = [value]" strings and returns an array with the keys set as keys pointing to the value. Better see it in action! Find example in Inside TYPO3

Parameters
array$pArrArray of "[key] = [value]" strings to convert.
Returns
array

Definition at line 871 of file BackendUtility.php.

Referenced by TYPO3\CMS\Backend\View\PageLayoutView\isRTEforField(), and TYPO3\CMS\Backend\Rte\AbstractRte\transformContent().

◆ getSpecConfParts()

static TYPO3\CMS\Backend\Utility\BackendUtility::getSpecConfParts (   $str,
  $defaultExtras 
)
static

Parses a part of the field lists in the "types"-section of $GLOBALS['TCA'] arrays, namely the "special configuration" at index 3 (position 4) Elements are splitted by ":" and within those parts, parameters are splitted by "|". Everything is returned in an array and you should rather see it visually than listen to me anymore now... Check out example in Inside TYPO3

Parameters
string$strContent from the "types" configuration of TCA (the special configuration) - see description of function
string$defaultExtrasThe ['defaultExtras'] value from field configuration
Returns
array

Definition at line 843 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex_procInData_travDS(), and TYPO3\CMS\Backend\Form\FormEngine\getSpecConfFromString().

◆ getSQLselectableList()

static TYPO3\CMS\Backend\Utility\BackendUtility::getSQLselectableList (   $in_list,
  $tablename,
  $default_tablename 
)
static

Returns a list of pure integers based on $in_list being a list of records with table-names prepended. Ex: $in_list = "pages_4,tt_content_12,45" would result in a return value of "4,45" if $tablename is "pages" and $default_tablename is 'pages' as well.

Parameters
string$in_listInput list
string$tablenameTable name from which ids is returned
string$default_tablename$default_tablename denotes what table the number '45' is from (if nothing is prepended on the value)
Returns
string List of ids

Definition at line 218 of file BackendUtility.php.

◆ getSystemLanguages()

static TYPO3\CMS\Backend\Utility\BackendUtility::getSystemLanguages ( )
static

Returns an array with system languages:

Since TYPO3 4.5 the flagIcon is not returned as a filename in "gfx/flags/*" anymore, but as a string <flags-xx>. The calling party should call ::getSpriteIcon(<flags-xx>) to get an HTML which will represent the flag of this language.

Returns
array Array with languages (title, uid, flagIcon)

Definition at line 605 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Backend\Form\DataPreprocessor\selectAddSpecial().

◆ getTcaFieldConfiguration()

static TYPO3\CMS\Backend\Utility\BackendUtility::getTcaFieldConfiguration (   $table,
  $field 
)
static

Gets the TCA configuration of a field.

Parameters
string$tableName of the table
string$fieldName of the field
Returns
array

Definition at line 4343 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Version\Dependency\ElementEntityProcessor\createNewDependentElementChildReferenceCallback(), and TYPO3\CMS\Version\Dependency\ElementEntityProcessor\createNewDependentElementParentReferenceCallback().

◆ getTCAtypes()

static TYPO3\CMS\Backend\Utility\BackendUtility::getTCAtypes (   $table,
  $rec,
  $useFieldNameAsKey = 0 
)
static

Returns the "types" configuration parsed into an array for the record, $rec, from table, $table

Parameters
string$tableTable name (present in TCA)
array$recRecord from $table
boolean$useFieldNameAsKeyIf $useFieldNameAsKey is set, then the fieldname is associative keys in the return array, otherwise just numeric keys.
Returns
array

Definition at line 717 of file BackendUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Backend\Form\FormEngine\getListedFields(), TYPO3\CMS\Core\DataHandling\DataHandler\getPlaceholderTitleForTableLabel(), TYPO3\CMS\Backend\View\PageLayoutView\getSpecConfForField(), TYPO3\CMS\Backend\Form\FormEngine\getSpecConfForField(), and TYPO3\CMS\Backend\Form\DataPreprocessor\renderRecordRaw().

◆ getTCAtypeValue()

static TYPO3\CMS\Backend\Utility\BackendUtility::getTCAtypeValue (   $table,
  $row 
)
static

Returns the "type" value of $rec from $table which can be used to look up the correct "types" rendering section in $GLOBALS['TCA'] If no "type" field is configured in the "ctrl"-section of the $GLOBALS['TCA'] for the table, zero is used. If zero is not an index in the "types" section of $GLOBALS['TCA'] for the table, then the $fieldValue returned will default to 1 (no matter if that is an index or not)

Note: This method is very similar to ::getRTypeNum(), however, it has two differences: 1) The method in TCEForms also takes care of localization (which is difficult to do here as the whole infrastructure for language overlays is only in TCEforms). 2) The $rec array looks different in TCEForms, as in there it's not the raw record but the version of it, which changes e.g. how "select" and "group" field values are stored, which makes different processing of the "foreign pointer field" type field variant necessary.

Parameters
string$tableTable name present in TCA
array$rowRecord from $table
Returns
string Field value
See also
getTCAtypes()

Definition at line 788 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex_procInData_travDS(), TYPO3\CMS\Core\DataHandling\DataHandler\getPlaceholderTitleForTableLabel(), and TYPO3\CMS\Backend\View\PageLayoutView\isRTEforField().

◆ getTCEFORM_TSconfig()

static TYPO3\CMS\Backend\Utility\BackendUtility::getTCEFORM_TSconfig (   $table,
  $row 
)
static

◆ getThumbNail()

static TYPO3\CMS\Backend\Utility\BackendUtility::getThumbNail (   $thumbScript,
  $theFile,
  $tparams = '',
  $size = '' 
)
static

Returns single image tag to thumbnail using a thumbnail script (like thumbs.php)

Parameters
string$thumbScriptMust point to "thumbs.php" relative to the script position
string$theFileMust be the proper reference to the file that thumbs.php should show
string$tparamsThe additional attributes for the image tag
integer$sizeThe size of the thumbnail send along to "thumbs.php
Returns
string Image tag

Definition at line 1682 of file BackendUtility.php.

◆ getTSconfig_pidValue()

static TYPO3\CMS\Backend\Utility\BackendUtility::getTSconfig_pidValue (   $table,
  $uid,
  $pid 
)
static

Find the real PID of the record (with $uid from $table). This MAY be impossible if the pid is set as a reference to the former record or a page (if two records are created at one time). NOTICE: Make sure that the input PID is never negative because the record was an offline version! Therefore, you should always use BackendUtility::fixVersioningPid($table,$row); on the data you input before calling this function!

Parameters
string$tableTable name
integer$uidRecord uid
integer$pidRecord pid, could be negative then pointing to a record from same table whose pid to find and return.
Returns
integer

Definition at line 3474 of file BackendUtility.php.

References $uid, and TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger().

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex_procInData_travDS(), and TYPO3\CMS\Core\DataHandling\DataHandler\copyL10nOverlayRecords().

◆ getTSCpid()

static TYPO3\CMS\Backend\Utility\BackendUtility::getTSCpid (   $table,
  $uid,
  $pid 
)
static

Returns the REAL pid of the record, if possible. If both $uid and $pid is strings, then pid=-1 is returned as an error indication.

Parameters
string$tableTable name
integer$uidRecord uid
integer$pidRecord pid
Returns
array Array of two integers; first is the REAL PID of a record and if its a new record negative values are resolved to the true PID, second value is the PID value for TSconfig (uid if table is pages, otherwise the pid)

Definition at line 3531 of file BackendUtility.php.

References $uid.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\deleteRecord(), TYPO3\CMS\Core\DataHandling\DataHandler\getOriginalParentOfRecord(), TYPO3\CMS\Backend\Form\FormEngine\getTSCpid(), TYPO3\CMS\Rtehtmlarea\RteHtmlAreaBase\isAvailable(), TYPO3\CMS\Backend\View\PageLayoutView\isRTEforField(), TYPO3\CMS\Core\DataHandling\DataHandler\moveL10nOverlayRecords(), TYPO3\CMS\Core\DataHandling\DataHandler\moveRecord_raw(), and TYPO3\CMS\Backend\Form\DataPreprocessor\renderRecord().

◆ getUpdateSignalCode()

static TYPO3\CMS\Backend\Utility\BackendUtility::getUpdateSignalCode ( )
static

Call to update the page tree frame (or something else..?) if this is set by the function setUpdateSignal(). It will return some JavaScript that does the update

Returns
string HTML javascript code
See also
BackendUtility::setUpdateSignal()
::sectionEnd

Definition at line 3019 of file BackendUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\callUserFunction().

◆ getUrlToken()

◆ getUserNames()

static TYPO3\CMS\Backend\Utility\BackendUtility::getUserNames (   $fields = 'username,
usergroup  ,
usergroup_cached_list  ,
uid'  ,
  $where = '' 
)
static

◆ getWorkspaceVersionOfRecord()

static TYPO3\CMS\Backend\Utility\BackendUtility::getWorkspaceVersionOfRecord (   $workspace,
  $table,
  $uid,
  $fields = '*' 
)
static

◆ getWorkspaceWhereClause()

static TYPO3\CMS\Backend\Utility\BackendUtility::getWorkspaceWhereClause (   $table,
  $workspaceId = NULL 
)
static

Get additional where clause to select records of a specific workspace (includes live as well).

Parameters
string$tableTable name
integer$workspaceIdWorkspace ID
Returns
string Workspace where clause

Definition at line 4084 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Workspaces\Hook\DataHandlerHook\flushWorkspaceElements(), and TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\makeQuerySearchByTable().

◆ helpText()

static TYPO3\CMS\Backend\Utility\BackendUtility::helpText (   $table,
  $field 
)
static

Returns CSH help text

Parameters
string$tableTable name
string$fieldField name
Returns
string HTML content for help text
See also
wrapInHelp()

Definition at line 2582 of file BackendUtility.php.

References TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIcon().

◆ helpTextArray()

static TYPO3\CMS\Backend\Utility\BackendUtility::helpTextArray (   $table,
  $field 
)
static

Returns CSH help text (description), if configured for, as an array (title, description)

Parameters
string$tableTable name
string$fieldField name
Returns
array With keys 'description' (raw, as available in locallang), 'title' (optional), 'moreInfo'

Definition at line 2547 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\ContextHelp\ExtDirect\ContextHelpDataProvider\getContextHelp().

◆ helpTextIcon()

static TYPO3\CMS\Backend\Utility\BackendUtility::helpTextIcon (   $table,
  $field,
  $BACK_PATH,
  $force = 0 
)
static

Returns help-text icon if configured for. TCA_DESCR must be loaded prior to this function and $GLOBALS['BE_USER'] must have 'edit_showFieldHelp' set to 'icon', otherwise nothing is returned

Please note: since TYPO3 4.5 the UX team decided to not use CSH in its former way, but to wrap the given text (where before the help icon was, and you could hover over it) Please also note that since TYPO3 4.5 the option to enable help (none, icon only, full text) was completely removed.

Parameters
string$tableTable name
string$fieldField name
string$BACK_PATHBack path
boolean$forceForce display of icon no matter BE_USER setting for help
Returns
string HTML content for a help icon/text

Definition at line 2534 of file BackendUtility.php.

References $GLOBALS.

◆ implodeTSParams()

static TYPO3\CMS\Backend\Utility\BackendUtility::implodeTSParams (   $p,
  $k = '' 
)
static

Implodes a multi dimensional TypoScript array, $p, into a one-dimentional array (return value)

Parameters
array$pTypoScript structure
string$kPrefix string
Returns
array Imploded TypoScript objectstring/values

Definition at line 1237 of file BackendUtility.php.

◆ isModuleSetInTBE_MODULES()

◆ isRecordLocked()

static TYPO3\CMS\Backend\Utility\BackendUtility::isRecordLocked (   $table,
  $uid 
)
static

Returns information about whether the record from table, $table, with uid, $uid is currently locked (edited by another user - which should issue a warning). Notice: Locking is not strictly carried out since locking is abandoned when other backend scripts are activated - which means that a user CAN have a record "open" without having it locked. So this just serves as a warning that counts well in 90% of the cases, which should be sufficient.

Parameters
string$tableTable name
integer$uidRecord uid
Returns
array

Definition at line 3268 of file BackendUtility.php.

References $GLOBALS, and $uid.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Backend\Controller\EditDocumentController\printContent(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader(), and TYPO3\CMS\Backend\View\PageTreeView\wrapIcon().

◆ isRootLevelRestrictionIgnored()

static TYPO3\CMS\Backend\Utility\BackendUtility::isRootLevelRestrictionIgnored (   $table)
static

◆ isTableLocalizable()

◆ isTableMovePlaceholderAware()

static TYPO3\CMS\Backend\Utility\BackendUtility::isTableMovePlaceholderAware (   $table)
static

Determines whether a table is aware of using move placeholders, which means 'versioningWS' is set to 2.

Parameters
string$table
Returns
bool

Definition at line 4332 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Workspaces\Service\WorkspaceService\hasPageRecordVersions(), TYPO3\CMS\Core\DataHandling\PlainDataResolver\isVersionMovePlaceholderAware(), TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord(), and TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord_processFieldValue().

◆ isTableWorkspaceEnabled()

◆ isWebMountRestrictionIgnored()

static TYPO3\CMS\Backend\Utility\BackendUtility::isWebMountRestrictionIgnored (   $table)
static

Whether to ignore restrictions on a web-mount of a table. The regular behaviour is that records to be accessed need to be in a valid user's web-mount.

Parameters
string$tableName of the table
Returns
boolean

Definition at line 4359 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\doesRecordExist().

◆ lockRecords()

static TYPO3\CMS\Backend\Utility\BackendUtility::lockRecords (   $table = '',
  $uid = 0,
  $pid = 0 
)
static

Unlock or Lock a record from $table with $uid If $table and $uid is not set, then all locking for the current BE_USER is removed!

Parameters
string$tableTable name
integer$uidRecord uid
integer$pidRecord pid
Returns
void

Definition at line 3238 of file BackendUtility.php.

References $GLOBALS, and $uid.

Referenced by TYPO3\CMS\Backend\Form\DataPreprocessor\lockRecord(), and TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\logoff().

◆ makeConfigForm()

static TYPO3\CMS\Backend\Utility\BackendUtility::makeConfigForm (   $configArray,
  $defaults,
  $dataPrefix 
)
static

Makes a form for configuration of some values based on configuration found in the array $configArray, with default values from $defaults and a data-prefix $dataPrefix <form>-tags must be supplied separately Needs more documentation and examples, in particular syntax for configuration array. See Inside TYPO3. That's were you can expect to find example, if anywhere.

Parameters
array$configArrayField configuration code.
array$defaultsDefaults
string$dataPrefixPrefix for formfields
Returns
string HTML for a form.

Definition at line 2465 of file BackendUtility.php.

References $GLOBALS, and debug().

◆ movePlhOL()

static TYPO3\CMS\Backend\Utility\BackendUtility::movePlhOL (   $table,
$row 
)
static

Checks if record is a move-placeholder (t3ver_state==VersionState::MOVE_PLACEHOLDER) and if so it will set $row to be the pointed-to live record (and return TRUE)

Parameters
string$tableTable name
array$rowRow (passed by reference) - must be online record!
Returns
boolean TRUE if overlay is made.
See also
PageRepository::movePlhOl()

Definition at line 3985 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Type\Enumeration\cast(), and TYPO3\CMS\Core\Versioning\VersionState\MOVE_PLACEHOLDER.

Referenced by TYPO3\CMS\Lowlevel\VersionsCommand\main().

◆ openPageTree()

static TYPO3\CMS\Backend\Utility\BackendUtility::openPageTree (   $pid,
  $clearExpansion 
)
static

Opens the page tree to the specified page id

Parameters
integer$pidPage id.
boolean$clearExpansionIf set, then other open branches are closed.
Returns
void

Definition at line 399 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Controller\BackendController\handlePageEditing().

◆ processParams()

static TYPO3\CMS\Backend\Utility\BackendUtility::processParams (   $params)
static

Returns an array with key=>values based on input text $params $params is exploded by line-breaks and each line is supposed to be on the syntax [key] = [some value] These pairs will be parsed into an array an returned.

Parameters
string$paramsString of parameters on multiple lines to parse into key-value pairs (see function description)
Returns
array

Definition at line 4280 of file BackendUtility.php.

◆ readPageAccess()

static TYPO3\CMS\Backend\Utility\BackendUtility::readPageAccess (   $id,
  $perms_clause 
)
static

Returns a page record (of page with $id) with an extra field "_thePath" set to the record path IF the WHERE clause, $perms_clause, selects the record. Thus is works as an access check that returns a page record if access was granted, otherwise not. If $id is zero a pseudo root-page with "_thePath" set is returned IF the current BE_USER is admin. In any case ->isInWebMount must return TRUE for the user (regardless of $perms_clause)

Parameters
integer$idPage uid for which to check read-access
string$perms_clauseThis is typically a value generated with $GLOBALS['BE_USER']->getPagePermsClause(1);
Returns
array Returns page record if OK, otherwise FALSE.

Definition at line 685 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Form\Element\SuggestDefaultReceiver\checkRecordAccess(), TYPO3\CMS\Recordlist\RecordList\clearCache(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\getAdminCommand(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\getEditLink(), TYPO3\CMS\Backend\History\RecordHistory\hasPageAccess(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\init(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\init(), TYPO3\CMS\Backend\Controller\NewRecordController\init(), TYPO3\CMS\Backend\Controller\PageLayoutController\init(), TYPO3\CMS\Recycler\Controller\RecyclerModuleController\initialize(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\initialize(), TYPO3\CMS\Backend\Controller\PageTreeNavigationController\initializeTemporaryDBmount(), TYPO3\CMS\Func\Controller\PageFunctionsController\main(), TYPO3\CMS\Info\Controller\InfoModuleController\main(), TYPO3\CMS\Impexp\Controller\ImportExportController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\main(), TYPO3\CMS\Version\Controller\VersionModuleController\main(), TYPO3\CMS\Perm\Controller\PermissionModuleController\main(), TYPO3\CMS\Backend\Controller\EditDocumentController\main(), TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord_wsPlaceholders(), TYPO3\CMS\Fluid\ViewHelpers\Be\PagePathViewHelper\render(), TYPO3\CMS\Fluid\ViewHelpers\Be\PageInfoViewHelper\render(), TYPO3\CMS\Backend\Form\Element\InlineElement\renderForeignRecordHeaderControl(), and TYPO3\CMS\SysAction\ActionTask\viewRecordList().

◆ referenceCount()

static TYPO3\CMS\Backend\Utility\BackendUtility::referenceCount (   $table,
  $ref,
  $msg = '',
  $count = NULL 
)
static

Counting references to a record/file

Parameters
string$tableTable name (or "_FILE" if its a file)
string$refReference: If table, then integer-uid, if _FILE, then file reference (relative to PATH_site)
string$msgMessage with s, eg. "There were s records pointing to this file!
string$countReference count
Returns
string Output string (or integer count value if no msg string specified)

Definition at line 3739 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\isFirstPartOfStr(), and TYPO3\CMS\Core\Utility\PathUtility\stripPathSitePrefix().

Referenced by TYPO3\CMS\Backend\ClickMenu\ClickMenu\DB_delete().

◆ replaceL10nModeFields()

static TYPO3\CMS\Backend\Utility\BackendUtility::replaceL10nModeFields (   $table,
array  $row 
)
staticprotected

Replace field values in given row with values from the original language if l10n_mode TCA settings require to do so.

Parameters
string$tableTable name
array$rowRow to fill with original language values
Returns
array Row with values from the original language

Definition at line 1949 of file BackendUtility.php.

References $GLOBALS.

◆ replaceMarkersInWhereClause()

static TYPO3\CMS\Backend\Utility\BackendUtility::replaceMarkersInWhereClause (   $whereClause,
  $table,
  $field = '',
  $tsConfig = array() 
)
static

Replaces all special markers in a where clause. Special markers are:

Parameters
string$whereClauseWhere clause with markers
string$tableName of the table of the current record row
string$fieldField name
array$tsConfigTSconfig array from which to get further configuration settings for the field name
Returns
string

Definition at line 3375 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Tests\Unit\Utility\BackendUtilityTest\replaceMarkersInWhereClauseCleansIdList(), and TYPO3\CMS\Backend\Tests\Unit\Utility\BackendUtilityTest\replaceMarkersInWhereClauseReturnsValidWhereClause().

◆ RTEgetObj()

static& TYPO3\CMS\Backend\Utility\BackendUtility::RTEgetObj ( )
static

◆ RTEsetup()

static TYPO3\CMS\Backend\Utility\BackendUtility::RTEsetup (   $RTEprop,
  $table,
  $field,
  $type = '' 
)
static

Returns overlayered RTE setup from an array with TSconfig. Used in TCEforms and TCEmain

Parameters
array$RTEpropThe properties of Page TSconfig in the key "RTE.
string$tableTable name
string$fieldField name
string$typeType value of the current record (like from CType of tt_content)
Returns
array Array with the configuration for the RTE

Definition at line 3589 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule().

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex_procInData_travDS(), TYPO3\CMS\Core\DataHandling\DataHandler\getPlaceholderTitleForTableLabel(), TYPO3\CMS\Rtehtmlarea\BrowseLinks\getRTEConfig(), TYPO3\CMS\Recordlist\Browser\ElementBrowser\getRTEConfig(), TYPO3\CMS\Backend\View\PageLayoutView\isRTEforField(), TYPO3\CMS\Rtehtmlarea\ContentParser\main_parse_html(), and TYPO3\CMS\Rtehtmlarea\User\main_user().

◆ selectVersionsOfRecord()

static TYPO3\CMS\Backend\Utility\BackendUtility::selectVersionsOfRecord (   $table,
  $uid,
  $fields = '*',
  $workspace = 0,
  $includeDeletedRecords = FALSE,
  $row = NULL 
)
static

Select all versions of a record, ordered by version id (DESC)

Parameters
string$tableTable name to select from
integer$uidRecord uid for which to find versions.
string$fieldsField list to select
integer | NULL$workspaceSearch in workspace ID and Live WS, if 0 search only in LiveWS, if NULL search in all WS.
bool$includeDeletedRecordsIf set, deleted-flagged versions are included! (Only for clean-up script!)
array$rowThe current record
Returns
array Array of versions of table/uid

Definition at line 3795 of file BackendUtility.php.

References $GLOBALS, and $uid.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\deleteVersionsForRecord(), TYPO3\CMS\Lowlevel\CleanerCommand\genTree_traverse(), TYPO3\CMS\Version\View\VersionView\getVersionSelector(), TYPO3\CMS\Version\Controller\VersionModuleController\lookForOwnVersions(), TYPO3\CMS\Lowlevel\VersionsCommand\main(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), and TYPO3\CMS\Version\Controller\VersionModuleController\versioningMgm().

◆ setUpdateSignal()

static TYPO3\CMS\Backend\Utility\BackendUtility::setUpdateSignal (   $set = '',
  $params = '' 
)
static

Call to update the page tree frame (or something else..?) after use 'updatePageTree' as a first parameter will set the page tree to be updated.

Parameters
string$setKey to set the update signal. When setting, this value contains strings telling WHAT to set. At this point it seems that the value "updatePageTree" is the only one it makes sense to set. If empty, all update signals will be removed.
mixed$paramsAdditional information for the update signal, used to only refresh a branch of the tree
Returns
void
See also
BackendUtility::getUpdateSignalCode()

Definition at line 2997 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Recordlist\RecordList\clearCache(), TYPO3\CMS\Backend\Controller\EditDocumentController\closeDocument(), TYPO3\CMS\Backend\Controller\EditDocumentController\doProcessData(), TYPO3\CMS\Backend\Controller\File\FileController\finish(), TYPO3\CMS\Workspaces\Controller\ReviewController\indexAction(), TYPO3\CMS\Workspaces\Controller\PreviewController\initializeAction(), TYPO3\CMS\WizardSortpages\View\SortPagesWizardModuleFunction\main(), TYPO3\CMS\Backend\Controller\SimpleDataHandlerController\main(), TYPO3\CMS\Setup\Controller\SetupModuleController\main(), TYPO3\CMS\Backend\Controller\EditDocumentController\main(), and TYPO3\CMS\WizardCrpages\Controller\CreatePagesWizardModuleFunctionController\modMenu().

◆ softRefParserObj()

static& TYPO3\CMS\Backend\Utility\BackendUtility::softRefParserObj (   $spKey)
static

Returns soft-reference parser for the softRef processing type Usage: $softRefObj = &BackendUtility::softRefParserObj('[parser key]');

Parameters
string$spKeysoftRef parser key
Returns
mixed If available, returns Soft link parser object.

Definition at line 3642 of file BackendUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj().

Referenced by TYPO3\CMS\Linkvalidator\LinkAnalyzer\getLinkStatistics(), TYPO3\CMS\Core\Database\ReferenceIndex\getRelations(), and TYPO3\CMS\Core\Database\ReferenceIndex\getRelations_flexFormCallBack().

◆ splitTable_Uid()

static TYPO3\CMS\Backend\Utility\BackendUtility::splitTable_Uid (   $str)
static

Makes an backwards explode on the $str and returns an array with ($table, $uid). Example: tt_content_45 => array('tt_content', 45)

Parameters
string$str[tablename]_[uid] string to explode
Returns
array

Definition at line 204 of file BackendUtility.php.

References $uid.

Referenced by TYPO3\CMS\Core\Resource\Service\UserFileInlineLabelService\getInlineLabel(), TYPO3\CMS\Backend\Form\FormDataTraverser\getRelatedGroupFieldUids(), TYPO3\CMS\Backend\Form\Element\InlineElement\renderForeignRecordHeader(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawItem().

◆ storeHash()

static TYPO3\CMS\Backend\Utility\BackendUtility::storeHash (   $hash,
  $data,
  $ident 
)
static

Stores $data in the 'cache_hash' cache with the hash key, $hash and visual/symbolic identification, $ident

IDENTICAL to the function by same name found in

Parameters
string$hash32 bit hash string (eg. a md5 hash of a serialized array identifying the data being stored)
mixed$dataThe data to store
string$ident$ident is just a textual identification in order to inform about the content!
Returns
void

Definition at line 1135 of file BackendUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Cshmanual\Controller\HelpModuleController\createGlossaryIndex(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroupData(), and TYPO3\CMS\Backend\Configuration\TsConfigParser\parseTSconfig().

◆ time()

static TYPO3\CMS\Backend\Utility\BackendUtility::time (   $value,
  $withSeconds = TRUE 
)
static

Returns $value (in seconds) formatted as hh:mm:ss For instance $value = 3600 + 60*2 + 3 should return "01:02:03"

Parameters
integer$valueTime stamp, seconds
boolean$withSecondsOutput hh:mm:ss. If FALSE: hh:mm
Returns
string Formatted time

Definition at line 1442 of file BackendUtility.php.

◆ titleAltAttrib()

static TYPO3\CMS\Backend\Utility\BackendUtility::titleAltAttrib (   $content)
static

Returns alt="" and title="" attributes with the value of $content.

Parameters
string$contentValue for 'alt' and 'title' attributes (will be htmlspecialchars()'ed before output)
Returns
string

Definition at line 1499 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Resource\ProcessedFile\CONTEXT_IMAGEPREVIEW, TYPO3\CMS\Core\Resource\ResourceFactory\getInstance(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconForResource(), TYPO3\CMS\Core\Utility\GeneralUtility\inList(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ titleAttribForPages()

static TYPO3\CMS\Backend\Utility\BackendUtility::titleAttribForPages (   $row,
  $perms_clause = '',
  $includeAttrib = 1 
)
static

Returns title-attribute information for a page-record informing about id, alias, doktype, hidden, starttime, endtime, fe_group etc.

Parameters
array$rowInput must be a page row ($row) with the proper fields set (be sure - send the full range of fields for the table)
string$perms_clauseThis is used to get the record path of the shortcut page, if any (and doktype==4)
boolean$includeAttribIf $includeAttrib is set, then the 'title=""' attribute is wrapped about the return value, which is in any case htmlspecialchar()'ed already
Returns
string

Definition at line 1700 of file BackendUtility.php.

Referenced by TYPO3\CMS\Backend\Template\DocumentTemplate\getHeader(), TYPO3\CMS\Backend\Tree\View\BrowseTreeView\getTitleAttrib(), and TYPO3\CMS\WizardCrpages\Controller\CreatePagesWizardModuleFunctionController\modMenu().

◆ translationCount()

static TYPO3\CMS\Backend\Utility\BackendUtility::translationCount (   $table,
  $ref,
  $msg = '' 
)
static

Counting translations of records

Parameters
string$tableTable name
string$refReference: the record's uid
string$msgMessage with s, eg. "This record has s translation(s) which will be deleted, too!
Returns
string Output string (or integer count value if no msg string specified)

Definition at line 3768 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\ClickMenu\ClickMenu\DB_delete(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader().

◆ TYPO3_copyRightNotice()

static TYPO3\CMS\Backend\Utility\BackendUtility::TYPO3_copyRightNotice (   $showVersionNumber = TRUE)
static

Prints TYPO3 Copyright notice for About Modules etc. modules.

Warning: DO NOT prevent this notice from being shown in ANY WAY. According to the GPL license an interactive application must show such a notice on start-up ('If the program is interactive, make it output a short notice... ' - see GPL.txt) Therefore preventing this notice from being properly shown is a violation of the license, regardless of whether you remove it or use a stylesheet to obstruct the display.

Parameters
booleanDisplay the version number within the copyright notice?
Returns
string Text/Image (HTML) for copyright notice.

Definition at line 4193 of file BackendUtility.php.

References $GLOBALS, and TYPO3\CMS\Backend\Utility\IconUtility\skinImg().

Referenced by TYPO3\CMS\Backend\Controller\LoginController\makeLogoutForm(), and TYPO3\CMS\Cshmanual\Controller\HelpModuleController\render_TOC().

◆ unsetMenuItems()

static TYPO3\CMS\Backend\Utility\BackendUtility::unsetMenuItems (   $modTSconfig,
  $itemArray,
  $TSref 
)
static

Removes menu items from $itemArray if they are configured to be removed by TSconfig for the module ($modTSconfig) See Inside TYPO3 about how to program modules and use this API.

Parameters
array$modTSconfigModule TS config array
array$itemArrayArray of items from which to remove items.
string$TSref$TSref points to the "object string" in $modTSconfig
Returns
array The modified $itemArray is returned.

Definition at line 2975 of file BackendUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Module\BaseScriptClass\menuConfig(), TYPO3\CMS\Backend\Controller\PageLayoutController\menuConfig(), and TYPO3\CMS\FuncWizards\Controller\WebFunctionWizardsBaseController\modMenu().

◆ versioningPlaceholderClause()

static TYPO3\CMS\Backend\Utility\BackendUtility::versioningPlaceholderClause (   $table)
static

Will return where clause de-selecting new(/deleted)-versions from other workspaces. If in live-workspace, don't show "MOVE-TO-PLACEHOLDERS" records if versioningWS is 2 (allows moving)

Parameters
string$tableTable name
Returns
string Where clause if applicable.

Definition at line 4070 of file BackendUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Versioning\VersionState\DEFAULT_STATE.

Referenced by TYPO3\CMS\Backend\Controller\EditDocumentController\editRegularContentFromId(), TYPO3\CMS\Impexp\Controller\ImportExportController\exec_listQueryPid(), TYPO3\CMS\Recordlist\Browser\ElementBrowser\expandPage(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\generateList(), TYPO3\CMS\Backend\Controller\PageLayoutController\getButtons(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\getContentElementCount(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\getLangStatus(), TYPO3\CMS\Backend\Controller\PageLayoutController\getLocalizedPageTitle(), TYPO3\CMS\Backend\Toolbar\ShortcutToolbarItem\getShortcutIcon(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Backend\View\PageLayoutView\getTableMenu(), TYPO3\CMS\Backend\Tree\Pagetree\DataProvider\getWhereClause(), TYPO3\CMS\Backend\RecordList\AbstractRecordList\initializeLanguages(), TYPO3\CMS\Backend\Controller\EditDocumentController\languageSwitch(), TYPO3\CMS\Backend\Controller\EditDocumentController\localizationRedirect(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\makeQueryArray(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\makeQuerySearchByTable(), TYPO3\CMS\Backend\View\PageLayoutView\numberOfRecords(), and TYPO3\CMS\Backend\Configuration\TranslationConfigurationProvider\translationInfo().

◆ viewOnClick()

static TYPO3\CMS\Backend\Utility\BackendUtility::viewOnClick (   $pageUid,
  $backPath = '',
  $rootLine = '',
  $anchorSection = '',
  $alternativeUrl = '',
  $additionalGetVars = '',
  $switchFocus = TRUE 
)
static

Returns a JavaScript string for viewing the page id, $id It will detect the correct domain name if needed and provide the link with the right back path. Also it will re-use any window already open.

Parameters
integer$pageUidPage UID
string$backPathMust point back to TYPO3_mainDir (where the site is assumed to be one level above)
array$rootLineIf root line is supplied the function will look for the first found domain record and use that URL instead (if found)
string$anchorSectionOptional anchor to the URL
string$alternativeUrlAn alternative URL that, if set, will ignore other parameters except $switchFocus: It will return the window.open command wrapped around this URL!
string$additionalGetVarsAdditional GET variables.
boolean$switchFocusIf TRUE, then the preview window will gain the focus.
Returns
string

Definition at line 2705 of file BackendUtility.php.

Referenced by TYPO3\CMS\Version\Controller\VersionModuleController\adminLinks(), TYPO3\CMS\Func\Controller\PageFunctionsController\getButtons(), TYPO3\CMS\Info\Controller\InfoModuleController\getButtons(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getButtons(), TYPO3\CMS\Impexp\Controller\ImportExportController\getButtons(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\getButtons(), TYPO3\CMS\Version\Controller\VersionModuleController\getButtons(), TYPO3\CMS\Backend\Controller\NewRecordController\getButtons(), TYPO3\CMS\Backend\Controller\PageLayoutController\getButtons(), TYPO3\CMS\Backend\Controller\EditDocumentController\init(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\linkWrapItems(), TYPO3\CMS\Backend\Controller\Wizard\RteController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\renderL10nTable(), TYPO3\CMS\Backend\Tests\Unit\Utility\BackendUtilityTest\viewOnClickReturnsOnClickCodeWithAlternativeUrl(), TYPO3\CMS\Backend\Template\DocumentTemplate\viewPageIcon(), and TYPO3\CMS\Workspaces\Service\WorkspaceService\viewSingleRecord().

◆ workspaceOL()

static TYPO3\CMS\Backend\Utility\BackendUtility::workspaceOL (   $table,
$row,
  $wsid = -99,
  $unsetMovePointers = FALSE 
)
static

Workspace Preview Overlay Generally ALWAYS used when records are selected based on uid or pid. If records are selected on other fields than uid or pid (eg. "email = ....") then usage might produce undesired results and that should be evaluated on individual basis. Principle; Record online! => Find offline? Recently, this function has been modified so it MAY set $row to FALSE. This happens if a version overlay with the move-id pointer is found in which case we would like a backend preview. In other words, you should check if the input record is still an array afterwards when using this function.

Parameters
string$tableTable name
array$rowRecord array passed by reference. As minimum, the "uid" and "pid" fields must exist! Fake fields cannot exist since the fields in the array is used as field names in the SQL look up. It would be nice to have fields like "t3ver_state" and "t3ver_mode_id" as well to avoid a new lookup inside movePlhOL().
integer$wsidWorkspace ID, if not specified will use $GLOBALS['BE_USER']->workspace
boolean$unsetMovePointersIf TRUE the function does not return a "pointer" row for moved records in a workspace
Returns
void (Passed by ref).
See also
fixVersioningPid()

Definition at line 3913 of file BackendUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Type\Enumeration\cast(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), TYPO3\CMS\Core\Versioning\VersionState\MOVE_PLACEHOLDER, and TYPO3\CMS\Core\Versioning\VersionState\MOVE_POINTER.

Referenced by TYPO3\CMS\Workspaces\Service\WorkspaceService\canCreatePreviewLink(), TYPO3\CMS\Core\DataHandling\DataHandler\deleteL10nOverlayRecords(), TYPO3\CMS\Impexp\ImportExport\export_addRecord(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getAllTemplates(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getFirstTemplate(), TYPO3\CMS\Version\Hook\DataHandlerHook\findPageElementsForVersionSwap(), TYPO3\CMS\Version\Hook\DataHandlerHook\findPageIdsForVersionStateChange(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\getLangStatus(), TYPO3\CMS\Backend\View\BackendLayoutView\getPage(), TYPO3\CMS\Core\DataHandling\DataHandler\getPlaceholderTitleForTableLabel(), TYPO3\CMS\Recycler\Utility\RecyclerUtility\getRecordPath(), TYPO3\CMS\Core\DataHandling\DataHandler\getRecordProperties(), TYPO3\CMS\Backend\View\PageLayoutView\getResult(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Backend\Controller\BackendController\handlePageEditing(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList(), TYPO3\CMS\Backend\Form\Element\SuggestDefaultReceiver\makeWorkspaceOverlay(), TYPO3\CMS\WizardCrpages\Controller\CreatePagesWizardModuleFunctionController\modMenu(), TYPO3\CMS\Backend\View\PageLayoutView\pages_getTree(), TYPO3\CMS\Core\DataHandling\DataHandler\remapListedDBRecords(), TYPO3\CMS\Backend\Form\DataPreprocessor\selectAddForeign(), TYPO3\CMS\Core\DataHandling\DataHandler\updateFlexFormData(), and TYPO3\CMS\Core\TypoScript\TemplateService\versionOL().

◆ wrapInHelp()

static TYPO3\CMS\Backend\Utility\BackendUtility::wrapInHelp (   $table,
  $field,
  $text = '',
array  $overloadHelpText = array() 
)
static

API function that wraps the text / html in help text, so if a user hovers over it the help text will show up This is the new help API function since TYPO3 4.5, and uses the new behaviour (hover over text, no icon, no fulltext option, no option to disable the help)

Parameters
string$tableThe table name for which the help should be shown
string$fieldThe field name for which the help should be shown
string$textThe text which should be wrapped with the help text
array$overloadHelpTextArray with text to overload help text
Returns
string the HTML code ready to render

Definition at line 2613 of file BackendUtility.php.

References TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIcon().

Referenced by TYPO3\CMS\Recordlist\RecordList\clearCache(), TYPO3\CMS\Linkvalidator\Task\ValidatorTaskAdditionalFieldProvider\getAdditionalFields(), TYPO3\CMS\Setup\Controller\SetupModuleController\getCSH(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeFlex_sheetMenu(), TYPO3\CMS\Backend\Form\FormEngine\getSingleField_typeSelect_checkbox(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Backend\Clipboard\Clipboard\printClipboard(), and TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\stopTask().

◆ wsMapId()

static TYPO3\CMS\Backend\Utility\BackendUtility::wsMapId (   $table,
  $uid 
)
static

Member Data Documentation

◆ $tcaTableTypeConfigurationCache

TYPO3\CMS\Backend\Utility\BackendUtility::$tcaTableTypeConfigurationCache = array()
staticprotected

Definition at line 50 of file BackendUtility.php.