TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Utility\GeneralUtility Class Reference
Inheritance diagram for TYPO3\CMS\Core\Utility\GeneralUtility:
TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\Fixtures\GeneralUtilityFixture TYPO3\CMS\Core\Tests\Unit\Utility\Fixtures\GeneralUtilityFilesystemFixture TYPO3\CMS\Core\Tests\Unit\Utility\Fixtures\GeneralUtilityFixture TYPO3\CMS\Core\Tests\Unit\Utility\Fixtures\GeneralUtilityMinifyJavaScriptFixture TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Fixtures\GeneralUtilityFixture

Static Public Member Functions

static _GP ($var)
 
static _GPmerged ($parameter)
 
static _GET ($var=null)
 
static _POST ($var=null)
 
static _GETset ($inputGet, $key='')
 
static removeXSS ($string)
 
static gif_compress ($theFile, $type)
 
static png_to_gif_by_imagemagick ($theFile)
 
static read_png_gif ($theFile, $output_png=false)
 
static fixed_lgd_cs ($string, $chars, $appendString='...')
 
static cmpIP ($baseIP, $list)
 
static cmpIPv4 ($baseIP, $list)
 
static cmpIPv6 ($baseIP, $list)
 
static IPv6Hex2Bin ($hex)
 
static IPv6Bin2Hex ($bin)
 
static normalizeIPv6 ($address)
 
static compressIPv6 ($address)
 
static validIP ($ip)
 
static validIPv4 ($ip)
 
static validIPv6 ($ip)
 
static cmpFQDN ($baseHost, $list)
 
static isOnCurrentHost ($url)
 
static inList ($list, $item)
 
static rmFromList ($element, $list)
 
static expandList ($list)
 
static compat_version ($verNumberStr)
 
static md5int ($str)
 
static shortMD5 ($input, $len=10)
 
static hmac ($input, $additionalSecret='')
 
static uniqueList ($in_list, $secondParameter=null)
 
static split_fileref ($fileNameWithPath)
 
static dirname ($path)
 
static modifyHTMLColor ($color, $R, $G, $B)
 
static modifyHTMLColorAll ($color, $all)
 
static isFirstPartOfStr ($str, $partStr)
 
static formatSize ($sizeInBytes, $labels='', $base=0)
 
static convertMicrotime ($microtime)
 
static splitCalc ($string, $operators)
 
static deHSCentities ($str)
 
static slashJS ($string, $extended=false, $char='\'')
 
static rawUrlEncodeJS ($str)
 
static rawUrlEncodeFP ($str)
 
static validEmail ($email)
 
static isBrokenEmailEnvironment ()
 
static normalizeMailAddress ($address)
 
static formatForTextarea ($content)
 
static strtoupper ($str)
 
static strtolower ($str)
 
static generateRandomBytes ($bytesToReturn)
 
static idnaEncode ($value)
 
static getRandomHexString ($count)
 
static underscoredToUpperCamelCase ($string)
 
static underscoredToLowerCamelCase ($string)
 
static camelCaseToLowerCaseUnderscored ($string)
 
static lcfirst ($string)
 
static isValidUrl ($url)
 
static inArray (array $in_array, $item)
 
static intExplode ($delimiter, $string, $removeEmptyValues=false, $limit=0)
 
static revExplode ($delimiter, $string, $count=0)
 
static trimExplode ($delim, $string, $removeEmptyValues=false, $limit=0)
 
static removeArrayEntryByValue (array $array, $cmpValue)
 
static keepItemsInArray (array $array, $keepItems, $getValueFunc=null)
 
static implodeArrayForUrl ($name, array $theArray, $str='', $skipBlank=false, $rawurlencodeParamName=false)
 
static explodeUrl2Array ($string, $multidim=false)
 
static compileSelectedGetVarsFromArray ($varList, array $getArray, $GPvarAlt=true)
 
static addSlashesOnArray (array &$theArray)
 
static stripSlashesOnArray (array &$theArray)
 
static slashArray (array $arr, $cmd)
 
static remapArrayKeys (&$array, $mappingTable)
 
static array_merge (array $arr1, array $arr2)
 
static arrayDiffAssocRecursive (array $array1, array $array2)
 
static csvValues (array $row, $delim=',', $quote='"')
 
static removeDotsFromTS (array $ts)
 
static naturalKeySortRecursive (&$array)
 
static get_tag_attributes ($tag)
 
static split_tag_attributes ($tag)
 
static implodeAttributes (array $arr, $xhtmlSafe=false, $dontOmitBlankAttribs=false)
 
static wrapJS ($string, $linebreak=true)
 
static xml2tree ($string, $depth=999, $parserOptions=[])
 
static array2xml_cs (array $array, $docTag='phparray', array $options=[], $charset='')
 
static array2xml (array $array, $NSprefix='', $level=0, $docTag='phparray', $spaceInd=0, array $options=[], array $stackData=[])
 
static xml2array ($string, $NSprefix='', $reportDocTag=false)
 
static xmlRecompileFromStructValArray (array $vals)
 
static xmlGetHeaderAttribs ($xmlData)
 
static minifyJavaScript ($script, &$error='')
 
static getUrl ($url, $includeHeader=0, $requestHeaders=false, &$report=null)
 
static writeFile ($file, $content, $changePermissions=false)
 
static fixPermissions ($path, $recursive=false)
 
static writeFileToTypo3tempDir ($filepath, $content)
 
static mkdir ($newFolder)
 
static mkdir_deep ($directory, $deepDirectory='')
 
static rmdir ($path, $removeNonEmpty=false)
 
static flushDirectory ($directory, $keepOriginalDirectory=false, $flushOpcodeCache=false)
 
static get_dirs ($path)
 
static getFilesInDir ($path, $extensionList='', $prependPath=false, $order='', $excludePattern='')
 
static getAllFilesAndFoldersInPath (array $fileArr, $path, $extList='', $regDirs=false, $recursivityLevels=99, $excludePattern='')
 
static removePrefixPathFromList (array $fileArr, $prefixToRemove)
 
static fixWindowsFilePath ($theFile)
 
static resolveBackPath ($pathStr)
 
static locationHeaderUrl ($path)
 
static getMaxUploadFileSize ()
 
static getBytesFromSizeMeasurement ($measurement)
 
static getMaximumPathLength ()
 
static createVersionNumberedFilename ($file)
 
static getThisUrl ()
 
static linkThisScript (array $getParams=[])
 
static linkThisUrl ($url, array $getParams=[])
 
static getIndpEnv ($getEnvName)
 
static isAllowedHostHeaderValue ($hostHeaderValue)
 
static hostHeaderValueMatchesTrustedHostsPattern ($hostHeaderValue)
 
static milliseconds ()
 
static clientInfo ($useragent='')
 
static getHostname ($requestHost=true)
 
static getFileAbsFileName ($filename, $onlyRelative=true, $relToTYPO3_mainDir=false)
 
static validPathStr ($theFile)
 
static isAbsPath ($path)
 
static isAllowedAbsPath ($path)
 
static verifyFilenameAgainstDenyPattern ($filename)
 
static copyDirectory ($source, $destination)
 
static sanitizeLocalUrl ($url='')
 
static upload_copy_move ($source, $destination)
 
static upload_to_tempfile ($uploadedFileName)
 
static unlink_tempfile ($uploadedTempFileName)
 
static tempnam ($filePrefix, $fileSuffix='')
 
static stdAuthCode ($uid_or_record, $fields='', $codeLength=8)
 
static hideIfNotTranslated ($l18n_cfg_fieldValue)
 
static hideIfDefaultLanguage ($localizationConfiguration)
 
static llXmlAutoFileName ($fileRef, $language, $sameLocation=false)
 
static resolveSheetDefInDS ($dataStructArray, $sheet='sDEF')
 
static resolveAllSheetsInDS (array $dataStructArray)
 
static callUserFunction ($funcName, &$params, &$ref, $checkPrefix='', $errorMode=0)
 
static getUserObj ($classRef)
 
static makeInstance ($className)
 
static setSingletonInstance ($className, SingletonInterface $instance)
 
static removeSingletonInstance ($className, SingletonInterface $instance)
 
static resetSingletonInstances (array $newSingletonInstances)
 
static getSingletonInstances ()
 
static addInstance ($className, $instance)
 
static purgeInstances ()
 
static flushInternalRuntimeCaches ()
 
static makeInstanceService ($serviceType, $serviceSubType='', $excludeServiceKeys=[])
 
static requireOnce ($requireFile)
 
static requireFile ($requireFile)
 
static quoted_printable ($string, $maxlen=76)
 
static encodeHeader ($line, $enc='quoted-printable', $charset='utf-8')
 
static substUrlsInPlainText ($message, $urlmode='76', $index_script_url='')
 
static makeRedirectUrl ($inUrl, $l=0, $index_script_url='')
 
static freetypeDpiComp ($fontSize)
 
static initSysLog ()
 
static devLog ($msg, $extKey, $severity=0, $dataVar=false)
 
static deprecationLog ($msg)
 
static getDeprecationLogFileName ()
 
static logDeprecatedFunction ()
 
static arrayToLogString (array $arr, $valueList=[], $valueLength=20)
 
static imageMagickCommand ($command, $parameters, $path='')
 
static unQuoteFilenames ($parameters, $unQuote=false)
 
static quoteJSvalue ($value)
 
static cleanOutputBuffers ()
 
static flushOutputBuffers ()
 
static presetApplicationContext (ApplicationContext $applicationContext)
 
static getApplicationContext ()
 
static isRunningOnCgiServerApi ()
 

Public Attributes

const SYSLOG_SEVERITY_INFO = 0
 
const SYSLOG_SEVERITY_NOTICE = 1
 
const SYSLOG_SEVERITY_WARNING = 2
 
const SYSLOG_SEVERITY_ERROR = 3
 
const SYSLOG_SEVERITY_FATAL = 4
 
const ENV_TRUSTED_HOSTS_PATTERN_ALLOW_ALL = '.*'
 
const ENV_TRUSTED_HOSTS_PATTERN_SERVER_NAME = 'SERVER_NAME'
 

Static Protected Member Functions

static generateRandomBytesOpenSsl ($bytesToGenerate)
 
static generateRandomBytesMcrypt ($bytesToGenerate)
 
static generateRandomBytesUrandom ($bytesToGenerate)
 
static generateRandomBytesFallback ($bytesToReturn)
 
static xml2arrayProcess ($string, $NSprefix='', $reportDocTag=false)
 
static getRedirectUrlFromHttpHeaders ($content)
 
static stripHttpHeaders ($content)
 
static createDirectoryPath ($fullDirectoryPath)
 
static isInternalRequestType ()
 
static instantiateClass ($className, $arguments)
 
static getClassName ($className)
 
static getImplementationForClass ($className)
 
static classHasImplementation ($className)
 
static checkInstanceClassName ($className, $instance)
 

Static Protected Attributes

static $allowHostHeaderValue = false
 
static $singletonInstances = []
 
static $nonSingletonInstances = []
 
static $finalClassNameCache = []
 
static $applicationContext = null
 
static $idnaStringCache = []
 
static $idnaConverter = null
 
static $supportedCgiServerApis
 
static $indpEnvCache = []
 

Detailed Description

The legendary "t3lib_div" class - Miscellaneous functions for general purpose. Most of the functions do not relate specifically to TYPO3 However a section of functions requires certain TYPO3 features available See comments in the source. You are encouraged to use this library in your own scripts!

USE: The class is intended to be used without creating an instance of it. So: Don't instantiate - call functions with "\TYPO3\CMS\Core\Utility\GeneralUtility::" prefixed the function name. So use ::[method-name] to refer to the functions, eg. '::milliseconds()'

Definition at line 36 of file GeneralUtility.php.

Member Function Documentation

◆ _GET()

static TYPO3\CMS\Core\Utility\GeneralUtility::_GET (   $var = null)
static

Returns the global $_GET array (or value from) normalized to contain un-escaped values. ALWAYS use this API function to acquire the GET variables! This function was previously used to normalize between magic quotes logic, which was removed from PHP 5.5

Parameters
string$varOptional pointer to value in GET array (basically name of GET var)
Returns
mixed If $var is set it returns the value of $_GET[$var]. If $var is NULL (default), returns $_GET itself. In any case slashes are stipped from the output!
See also
_POST(), _GP(), _GETset()

Definition at line 182 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Backend\Template\DocumentTemplate\__construct(), TYPO3\CMS\Fluid\Core\Widget\WidgetRequestBuilder\build(), TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder\buildBackendUri(), TYPO3\CMS\Backend\Utility\BackendUtility\buildScriptUrl(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\calculateLinkVars(), TYPO3\CMS\Fluid\Core\Widget\WidgetRequestHandler\canHandleRequest(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\canRetrieveGlobalInputsThroughGet(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\checkPageForShortcutRedirect(), TYPO3\CMS\Recordlist\RecordList\clearCache(), TYPO3\CMS\Backend\Http\Application\defineAdditionalEntryPointRelatedConstants(), TYPO3\CMS\Frontend\View\AdminPanelView\display(), TYPO3\CMS\Install\Controller\Action\Ajax\UninstallExtension\executeAction(), TYPO3\CMS\Install\Controller\Action\Ajax\ExtensionCompatibilityTester\executeAction(), TYPO3\CMS\Install\Report\SecurityStatusReport\executeAdminCommand(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\executeAdminCommand(), TYPO3\CMS\Core\Http\ServerRequestFactory\fromGlobals(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\func_search(), TYPO3\CMS\Workspaces\Service\WorkspaceService\generateWorkspacePreviewLink(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getConfigArray(), TYPO3\CMS\Backend\Controller\ClickMenuController\getContextMenuAction(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getData(), TYPO3\CMS\Core\ExtDirect\ExtDirectApi\getExtDirectApi(), TYPO3\CMS\Install\Controller\ToolController\getLastError(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\getPreserveGetVars(), TYPO3\CMS\Version\Hook\PreviewHook\getPreviewConfiguration(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getQueryArguments(), TYPO3\CMS\Reports\Report\Status\SystemStatus\getStatus(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getUrlToCurrentLocation(), TYPO3\CMS\Install\Controller\Action\Ajax\AbstractCoreUpdate\getVersionToHandle(), TYPO3\CMS\Backend\Controller\BackendController\handlePageEditing(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\init(), TYPO3\CMS\Reports\Controller\ReportController\initializeAction(), TYPO3\CMS\Workspaces\Controller\PreviewController\initializeAction(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\initializeAction(), TYPO3\CMS\Filelist\Controller\FileListController\initializeIndexAction(), TYPO3\CMS\Backend\Controller\ClickMenuController\main(), TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\makeCacheHash(), TYPO3\CMS\Backend\Template\ModuleTemplate\makeShortcutIcon(), TYPO3\CMS\Backend\Template\DocumentTemplate\makeShortcutIcon(), TYPO3\CMS\Backend\Template\ModuleTemplate\makeShortcutUrl(), TYPO3\CMS\Backend\Template\DocumentTemplate\makeShortcutUrl(), TYPO3\CMS\Lowlevel\View\ConfigurationView\menuConfig(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\mergingWithGetVars(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\modMenu(), TYPO3\CMS\Backend\Controller\EditDocumentController\preInit(), TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook\preStartPageHook(), TYPO3\CMS\T3editor\Hook\FileEditHook\preStartPageHook(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\processRequest(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\renderBackButton(), TYPO3\CMS\Fluid\Core\Widget\Bootstrap\run(), TYPO3\CMS\Backend\Controller\BackendController\setStartupModule(), TYPO3\CMS\Recordlist\LinkHandler\AbstractLinkHandler\setTemporaryDbMounts(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\setTemporaryDbMounts(), TYPO3\CMS\Recordlist\LinkHandler\PageLinkHandler\setTemporaryDbMounts(), and TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\start().

◆ _GETset()

static TYPO3\CMS\Core\Utility\GeneralUtility::_GETset (   $inputGet,
  $key = '' 
)
static

Writes input value to $_GET.

Parameters
mixed$inputGet
string$key
Returns
void

Definition at line 217 of file GeneralUtility.php.

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

Referenced by TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\Routing\UriBuilderTest\buildBackendUriConvertsDomainObjectsAfterArgumentsHaveBeenMerged(), TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\Routing\UriBuilderTest\buildBackendUriCreatesAbsoluteUrisIfSpecified(), TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\Routing\UriBuilderTest\buildBackendUriKeepsModuleQueryParametersIfAddQueryStringIsNotSet(), TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\Routing\UriBuilderTest\buildBackendUriKeepsQueryParametersIfAddQueryStringIsSet(), TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\Routing\UriBuilderTest\buildBackendUriKeepsQueryParametersIfAddQueryStringMethodIsNotSet(), TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\Routing\UriBuilderTest\buildBackendUriMergesAndOverrulesQueryParametersWithArguments(), TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\Routing\UriBuilderTest\buildBackendUriRemovesSpecifiedQueryParametersIfArgumentsToBeExcludedFromQueryStringIsSet(), TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\Routing\UriBuilderTest\buildBackendUriRespectsSection(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\canSetNewGetInputValues(), TYPO3\CMS\Workspaces\Service\WorkspaceService\generateWorkspacePreviewLink(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getConfigArray(), TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest\getCurrentPageIdReturnsPageIdFromGet(), TYPO3\CMS\Extbase\Tests\Unit\Configuration\BackendConfigurationManagerTest\getCurrentPageIdReturnsPageIdFromPost(), TYPO3\CMS\Version\Hook\PreviewHook\getPreviewConfiguration(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getSetAssignsOneValueToOneKey(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getSetCanAssignAnArrayToASpecificArrayChildElement(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getSetCanAssignAStringValueToASpecificArrayChildElement(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getSetCanAssignsAnArrayToASpecificArrayElement(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getSetForArrayDropsExistingValues(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getSetForOneValueDoesNotDropUnrelatedValues(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getSetWritesArrayToGetSystemVariable(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getSetWritesArrayToGlobalsHttpGetVars(), and TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\mergingWithGetVars().

◆ _GP()

static TYPO3\CMS\Core\Utility\GeneralUtility::_GP (   $var)
static

Returns the 'GLOBAL' value of incoming data from POST or GET, with priority to POST (that is equalent to 'GP' order) To enhance security in your scripts, please consider using GeneralUtility::_GET or GeneralUtility::_POST if you already know by which method your data is arriving to the scripts!

Parameters
string$varGET/POST var to return
Returns
mixed POST var named $var and if not set, the GET var of the same name.

Definition at line 139 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Install\Service\ContextService\__construct(), TYPO3\CMS\Recycler\Controller\RecyclerAjaxController\__construct(), TYPO3\CMS\Backend\Controller\Wizard\ListController\__construct(), TYPO3\CMS\Backend\Controller\BackendLayoutWizardController\__construct(), TYPO3\CMS\Backend\Controller\ClickMenuController\__construct(), TYPO3\CMS\Frontend\Http\RequestHandler\__construct(), TYPO3\CMS\Backend\Controller\LoginController\__construct(), TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder\buildBackendUri(), TYPO3\CMS\Rtehtmlarea\Controller\SelectImageController\buildImageMarkup(), TYPO3\CMS\Backend\Utility\BackendUtility\buildScriptUrl(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\canRetrieveValueWithGP(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\checkAuthentication(), TYPO3\CMS\Backend\Module\AbstractFunctionModule\checkExtObj(), TYPO3\CMS\Backend\Module\BaseScriptClass\checkExtObj(), TYPO3\CMS\Version\Hook\PreviewHook\checkForPreview(), TYPO3\CMS\Backend\Controller\LoginController\checkRedirect(), TYPO3\CMS\Impexp\Controller\ImportExportController\checkUpload(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForFlex(), TYPO3\CMS\Backend\Controller\LoginController\detectLoginProvider(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\determineId(), TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher\determinePageId(), TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser\determineScriptUrl(), TYPO3\CMS\Backend\RecordList\AbstractRecordList\determineScriptUrl(), TYPO3\CMS\Backend\Tree\View\AbstractTreeView\determineScriptUrl(), TYPO3\CMS\Backend\Controller\EditDocumentController\doProcessData(), TYPO3\CMS\Feedit\FrontendEditPanel\editIcons(), TYPO3\CMS\Feedit\FrontendEditPanel\editPanelLinkWrap(), TYPO3\CMS\Backend\Tree\View\FolderTreeView\evaluateExpandCollapseParameter(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getObjTree(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getRootlineNumber(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\fetch_the_id(), TYPO3\CMS\Workspaces\Controller\ReviewController\fullIndexAction(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\func_refindex(), TYPO3\CMS\Backend\Provider\PageTsBackendLayoutDataProvider\generatePageTsConfig(), TYPO3\CMS\Install\Controller\AbstractController\getAction(), TYPO3\CMS\Backend\History\RecordHistory\getArgument(), TYPO3\CMS\Recordlist\Browser\FileBrowser\getBulkSelector(), TYPO3\CMS\Rtehtmlarea\ImageHandler\AddImageHandler\getBulkSelector(), TYPO3\CMS\Backend\Controller\ContentElement\ElementHistoryController\getButtons(), TYPO3\CMS\Impexp\Controller\ImportExportController\getButtons(), TYPO3\CMS\Install\Controller\Action\AbstractAction\getContext(), TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager\getCurrentPageIdFromGetPostData(), TYPO3\CMS\Frontend\View\AdminPanelView\getEditModule(), TYPO3\CMS\Recycler\Controller\RecyclerModuleController\getJavaScriptConfiguration(), TYPO3\CMS\Linkvalidator\LinkAnalyzer\getLinkStatistics(), TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication\getLoginFormData(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\getLoginFormData(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\getModuleContent(), TYPO3\CMS\Impexp\Task\ImportExportTask\getOverview(), TYPO3\CMS\SysAction\ActionTask\getOverview(), TYPO3\CMS\Impexp\Domain\Repository\PresetRepository\getPreset(), TYPO3\CMS\Version\Hook\PreviewHook\getPreviewConfiguration(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\getPreviewFrameWidths(), TYPO3\CMS\Version\Hook\PreviewHook\getPreviewInputCode(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\getPreviewLanguages(), TYPO3\CMS\SysAction\ActionTask\getTask(), TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher\getVariableCommon(), TYPO3\CMS\Backend\Module\AbstractFunctionModule\handleExternalFunctionValue(), TYPO3\CMS\Form\Domain\Repository\ContentRepository\hasRecord(), TYPO3\CMS\Beuser\Controller\BackendUserController\indexAction(), TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController\init(), TYPO3\CMS\Backend\Controller\Wizard\EditController\init(), TYPO3\CMS\Rtehtmlarea\Controller\ParseHtmlController\init(), TYPO3\CMS\Recordlist\Controller\ElementBrowserController\init(), TYPO3\CMS\Backend\Controller\File\RenameFileController\init(), TYPO3\CMS\Backend\Controller\File\FileUploadController\init(), TYPO3\CMS\Backend\Controller\Wizard\RteController\init(), TYPO3\CMS\Backend\Controller\File\ReplaceFileController\init(), TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController\init(), TYPO3\CMS\Backend\Controller\File\CreateFolderController\init(), TYPO3\CMS\Backend\Controller\File\EditFileController\init(), TYPO3\CMS\Backend\Controller\Wizard\AddController\init(), TYPO3\CMS\Backend\Controller\FileSystemNavigationFrameController\init(), TYPO3\CMS\Backend\Controller\File\FileController\init(), TYPO3\CMS\Backend\Controller\PageTreeNavigationController\init(), TYPO3\CMS\Backend\Controller\Wizard\TableController\init(), TYPO3\CMS\Backend\Controller\SimpleDataHandlerController\init(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\init(), TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController\init(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\init(), TYPO3\CMS\Impexp\Controller\ImportExportController\init(), TYPO3\CMS\Backend\Controller\NewRecordController\init(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\init(), TYPO3\CMS\Backend\Module\BaseScriptClass\init(), TYPO3\CMS\Recordlist\RecordList\init(), TYPO3\CMS\Backend\Controller\PageLayoutController\init(), TYPO3\CMS\Backend\Controller\EditDocumentController\init(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\initConfigOptions(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\initFEuser(), TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Hook\BackendUserHandler\initialize(), TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Hook\FrontendUserHandler\initialize(), TYPO3\CMS\Frontend\View\AdminPanelView\initialize(), TYPO3\CMS\Rtehtmlarea\ImageHandler\AddImageHandler\initialize(), TYPO3\CMS\Workspaces\Controller\AbstractController\initializeAction(), TYPO3\CMS\Recycler\Controller\RecyclerModuleController\initializeAction(), TYPO3\CMS\Beuser\Controller\PermissionController\initializeAction(), TYPO3\CMS\Frontend\Http\RequestHandler\initializeController(), TYPO3\CMS\Backend\Tree\View\AbstractTreeView\initializePositionSaving(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\initVariables(), TYPO3\CMS\Recordlist\Browser\FolderBrowser\initVariables(), TYPO3\CMS\Recordlist\Browser\FileBrowser\initVariables(), TYPO3\CMS\Rtehtmlarea\Controller\SelectImageController\initVariables(), TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser\initVariables(), TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController\initVariables(), TYPO3\CMS\Fluid\ViewHelpers\Be\TableListViewHelper\injectConfigurationManager(), TYPO3\CMS\Filelist\Controller\FileListController\injectFileRepository(), TYPO3\CMS\Frontend\Page\PageGenerator\isAllowedLinkVarValue(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\isInFullScreenMode(), TYPO3\CMS\Backend\Controller\LoginController\isLoginInProgress(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\linkWrapTemplateTitle(), TYPO3\CMS\SysAction\ActionList\listURL(), TYPO3\CMS\Backend\Controller\EditDocumentController\localizationRedirect(), TYPO3\CMS\Impexp\Clickmenu\main(), TYPO3\CMS\Recordlist\Controller\ElementBrowserFramesetController\main(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\main(), TYPO3\CMS\Dbal\Controller\ModuleController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController\main(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\main(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\main(), TYPO3\CMS\Version\Controller\VersionModuleController\main(), TYPO3\CMS\Impexp\Controller\ImportExportController\main(), TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\main(), TYPO3\CMS\Rtehtmlarea\Controller\ParseHtmlController\main_parse_html(), TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController\main_user(), TYPO3\CMS\Lowlevel\View\ConfigurationView\menuConfig(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\menuConfig(), TYPO3\CMS\Version\Controller\VersionModuleController\menuConfig(), TYPO3\CMS\Backend\Module\BaseScriptClass\menuConfig(), TYPO3\CMS\Recordlist\RecordList\menuConfig(), TYPO3\CMS\Filelist\Controller\FileListController\menuConfig(), TYPO3\CMS\Backend\Controller\PageLayoutController\menuConfig(), TYPO3\CMS\Backend\View\PageLayoutView\newLanguageButton(), TYPO3\CMS\Install\Controller\AbstractController\outputLoginFormIfNotAuthorized(), TYPO3\CMS\Install\Updates\Compatibility6ExtractionUpdate\performUpdate(), TYPO3\CMS\Backend\Controller\EditDocumentController\preInit(), TYPO3\CMS\Dbal\Controller\ModuleController\printLogMgm(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printNewDBLevel(), TYPO3\CMS\Dbal\Controller\ModuleController\printSqlCheck(), TYPO3\CMS\Backend\View\PageTreeView\printTree(), TYPO3\CMS\Recordlist\Browser\FileBrowser\processSessionData(), TYPO3\CMS\Backend\ModuleSettings\processStoreControl(), TYPO3\CMS\Core\Database\QueryView\procesStoreControl(), TYPO3\CMS\Install\Controller\AbstractController\redirect(), TYPO3\CMS\Backend\Template\DocumentTemplate\redirectUrls(), TYPO3\CMS\Backend\Template\ModuleTemplate\redirectUrls(), TYPO3\CMS\Workspaces\Controller\ReviewController\registerButtons(), TYPO3\CMS\Install\Controller\ToolController\registerExtensionConfigurationErrorHandler(), TYPO3\CMS\Form\View\Wizard\WizardView\removeTrailingDotsFromTyposcript(), TYPO3\CMS\Backend\LoginProvider\UsernamePasswordLoginProvider\render(), TYPO3\CMS\Fluid\ViewHelpers\Be\PageInfoViewHelper\render(), TYPO3\CMS\Fluid\ViewHelpers\Be\PagePathViewHelper\renderStatic(), TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook\save(), TYPO3\CMS\Frontend\View\AdminPanelView\saveConfigOptions(), TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowInitializeNew\setDefaultsFromDevVals(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\setTemporaryDbMounts(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\showAction(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\showLogin(), TYPO3\CMS\Setup\Controller\SetupModuleController\simulateUser(), TYPO3\CMS\Workspaces\Controller\ReviewController\singleIndexAction(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\start(), TYPO3\CMS\Lowlevel\Utility\ArrayBrowser\tree(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\updateBrokenLinks(), TYPO3\CMS\SysAction\ActionTask\viewNewBackendUser(), TYPO3\CMS\SysAction\ActionTask\viewRecordList(), and TYPO3\CMS\Lowlevel\Utility\ArrayBrowser\wrapArrayKey().

◆ _GPmerged()

static TYPO3\CMS\Core\Utility\GeneralUtility::_GPmerged (   $parameter)
static

Returns the global arrays $_GET and $_POST merged with $_POST taking precedence.

Parameters
string$parameterKey (variable name) from GET or POST vars
Returns
array Returns the GET vars merged recursively onto the POST vars.

Definition at line 164 of file GeneralUtility.php.

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

Referenced by TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\getModuleContent(), TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher\getVariableCommon(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\gpMergedWillMergeArraysFromGetAndPost(), and TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder\loadDefaultValues().

◆ _POST()

static TYPO3\CMS\Core\Utility\GeneralUtility::_POST (   $var = null)
static

Returns the global $_POST array (or value from) normalized to contain un-escaped values. ALWAYS use this API function to acquire the $_POST variables!

Parameters
string$varOptional pointer to value in POST array (basically name of POST var)
Returns
mixed If $var is set it returns the value of $_POST[$var]. If $var is NULL (default), returns $_POST itself. In any case slashes are stipped from the output!
See also
_GET(), _GP()

Definition at line 200 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Beuser\Controller\PermissionAjaxController\__construct(), TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem\addShortcut(), TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder\buildBackendUri(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\canRetrieveGlobalInputsThroughPost(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\changePassword(), TYPO3\CMS\Recordlist\RecordList\clearCache(), TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController\colorList(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\executeTasks(), TYPO3\CMS\Core\Http\ServerRequestFactory\fromGlobals(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\getButtons(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getData(), TYPO3\CMS\Setup\Controller\SetupModuleController\getFormProtection(), TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication\getLoginFormData(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\getLoginFormData(), TYPO3\CMS\Install\Controller\AbstractController\getPostValues(), TYPO3\CMS\Version\Hook\PreviewHook\getPreviewConfiguration(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getQueryArguments(), TYPO3\CMS\Filelist\Controller\FileListController\initializeIndexAction(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController\main(), TYPO3\CMS\Impexp\Controller\ImportExportController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\main(), TYPO3\CMS\Impexp\Controller\ImportExportController\makeSaveForm(), TYPO3\CMS\Lowlevel\View\ConfigurationView\menuConfig(), TYPO3\CMS\Core\Database\QueryGenerator\procesData(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\processRequest(), TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook\save(), TYPO3\CMS\Backend\View\ModuleMenuView\saveMenuState(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\setPersonalDictionaryPath(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\showForgot(), TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem\tryAddingTheShortcut(), TYPO3\CMS\Version\Controller\VersionModuleController\versioningMgm(), and TYPO3\CMS\SysAction\ActionTask\viewNewBackendUser().

◆ addInstance()

static TYPO3\CMS\Core\Utility\GeneralUtility::addInstance (   $className,
  $instance 
)
static

Sets the instance of a non-singleton class to be returned by makeInstance.

If this function is called multiple times for the same $className, makeInstance will return the instances in the order in which they have been added (FIFO).

Warning: This is a helper method for unit tests. Do not call this directly in production code!

See also
makeInstance
Exceptions

Definition at line 4755 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaSelectItemsTest\addDataAddsExcludeFieldsWithSpecialExcludeDataProvider(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaCheckboxItemsTest\addDataCallsItemsProcFunc(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaRadioItemsTest\addDataCallsItemsProcFunc(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseSystemLanguageRowsTest\addDataResolvesLanguageIsocodeFromStaticInfoTable(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInputPlaceholdersTest\addDataReturnsNoPlaceholderForNewSelectTypeRelation(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInputPlaceholdersTest\addDataReturnsValueFromDatabaseRowAsPlaceholder(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaInputPlaceholdersTest\addDataReturnsValueFromRelationsRecursively(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseLanguageRowsTest\addDataSetsDiffSourceFieldIfGiven(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaGroupTest\addDataSetsFileData(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaFlexProcessTest\addDataThrowsExceptionForNestedSectionContainers(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaSelectItemsTest\addDataThrowsExceptionIfForeignTableIsNotDefinedInTca(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\addInstanceCalledTwoTimesMakesMakeInstanceReturnBothInstancesInAddingOrder(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\addInstanceForClassThatIsNoSubclassOfProvidedClassThrowsException(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\addInstanceForEmptyClassNameThrowsException(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\addInstanceMakesMakeInstanceReturnThatInstance(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\addInstanceWithSingletonInstanceThrowsException(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataGroup\OnTheFlyTest\compileThrowsExceptionWithEmptyOnTheFlyList(), TYPO3\CMS\Core\Tests\Unit\DataHandler\DataHandlerTest\doesCheckModifyAccessListHookModifyAccessAllowed(), TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest\getDriverObjectAcceptsDriverClassName(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceCalledTwoTimesAfterAddInstanceReturnTwoDifferentInstances(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaSelectItemsTest\processSelectFieldSetsCorrectValuesForMmRelationsDataProvider(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaSelectItemsTest\processSelectFieldValueAddsInvalidValuesToItemsForSingleSelects(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaSelectItemsTest\processSelectFieldValueDoesNotCallRelationManagerForStaticOnlyItems(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\purgeInstancesDropsAddedInstance(), TYPO3\CMS\Core\Tests\Unit\ViewHelpers\IconViewHelperTest\renderCallsIconFactoryWithDefaultSizeAndDefaultStateAndReturnsResult(), TYPO3\CMS\Core\Tests\Unit\ViewHelpers\IconViewHelperTest\renderCallsIconFactoryWithGivenOverlayAndReturnsResult(), TYPO3\CMS\Core\Tests\Unit\ViewHelpers\IconViewHelperTest\renderCallsIconFactoryWithGivenSizeAndReturnsResult(), TYPO3\CMS\Core\Tests\Unit\ViewHelpers\IconViewHelperTest\renderCallsIconFactoryWithGivenStateAndReturnsResult(), TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Link\TypolinkViewHelperTest\renderReturnsResultOfContentObjectRenderer(), TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest\resolveTemplatePathAndFilenameReturnsTheExplicitlyConfiguredTemplatePathAndFilename(), TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format\CropViewHelperTest\respectHtmlCanBeDisabled(), TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format\CropViewHelperTest\respectWordBoundariesCanBeDisabled(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataGroup\TcaDatabaseRecordTest\setUp(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataGroup\TcaInputPlaceholderRecordTest\setUp(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataGroup\InlineParentRecordTest\setUp(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataGroup\FlexFormSegmentTest\setUp(), TYPO3\CMS\Fluid\Tests\Unit\View\StandaloneViewTest\setUp(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaSelectTreeItemsTest\tearDown(), TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format\CropViewHelperTest\viewHelperCallsCropHtmlByDefault(), and TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format\CropViewHelperTest\viewHelperCallsCropHtmlByDefault2().

◆ addSlashesOnArray()

static TYPO3\CMS\Core\Utility\GeneralUtility::addSlashesOnArray ( array &  $theArray)
static

AddSlash array This function traverses a multidimensional array and adds slashes to the values. NOTE that the input array is and argument by reference.!! Twin-function to stripSlashesOnArray

Parameters
array$theArrayMultidimensional input array, (REFERENCE!)
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8
Returns
array

Definition at line 1701 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\addSlashesOnArrayAddsSlashesRecursive().

◆ array2xml()

static TYPO3\CMS\Core\Utility\GeneralUtility::array2xml ( array  $array,
  $NSprefix = '',
  $level = 0,
  $docTag = 'phparray',
  $spaceInd = 0,
array  $options = [],
array  $stackData = [] 
)
static

Deprecated to call directly (unless you are aware of using XML prologues)! Use "array2xml_cs" instead (which adds an XML-prologue)

Converts a PHP array into an XML string. The XML output is optimized for readability since associative keys are used as tag names. This also means that only alphanumeric characters are allowed in the tag names AND only keys NOT starting with numbers (so watch your usage of keys!). However there are options you can set to avoid this problem. Numeric keys are stored with the default tag name "numIndex" but can be overridden to other formats) The function handles input values from the PHP array in a binary-safe way; All characters below 32 (except 9,10,13) will trigger the content to be converted to a base64-string The PHP variable type of the data IS preserved as long as the types are strings, arrays, integers and booleans. Strings are the default type unless the "type" attribute is set. The output XML has been tested with the PHP XML-parser and parses OK under all tested circumstances with 4.x versions. However, with PHP5 there seems to be the need to add an XML prologue a la <?xml version="1.0" encoding="[charset]" standalone="yes" ?> - otherwise UTF-8 is assumed! Unfortunately, many times the output from this function is used without adding that prologue meaning that non-ASCII characters will break the parsing!! This suchs of course! Effectively it means that the prologue should always be prepended setting the right characterset, alternatively the system should always run as utf-8! However using MSIE to read the XML output didn't always go well: One reason could be that the character encoding is not observed in the PHP data. The other reason may be if the tag-names are invalid in the eyes of MSIE. Also using the namespace feature will make MSIE break parsing. There might be more reasons...

Parameters
array$arrayThe input PHP array with any kind of data; text, binary, integers. Not objects though.
string$NSprefixtag-prefix, eg. a namespace prefix like "T3:"
int$levelCurrent recursion level. Don't change, stay at zero!
string$docTagAlternative document tag. Default is "phparray".
int$spaceIndIf greater than zero, then the number of spaces corresponding to this number is used for indenting, if less than zero - no indentation, if zero - a single TAB is used
array$optionsOptions for the compilation. Key "useNindex" => 0/1 (boolean: whether to use "n0, n1, n2" for num. indexes); Key "useIndexTagForNum" => "[tag for numerical indexes]"; Key "useIndexTagForAssoc" => "[tag for associative indexes"; Key "parentTagMap" => array('parentTag' => 'thisLevelTag')
array$stackDataStack data. Don't touch.
Returns
string An XML string made from the input content in the array.
See also
xml2array()

Definition at line 2098 of file GeneralUtility.php.

References TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger().

Referenced by TYPO3\CMS\Install\SystemEnvironment\Check\checkLibXmlBug(), TYPO3\CMS\Core\Tests\Unit\Resource\ResourceStorageTest\convertConfigurationArrayToFlexformXml(), TYPO3\CMS\Impexp\Export\createXML(), TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools\flexArray2Xml(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\xml2ArrayConvertsEmptyArraysToElementWithoutContent().

◆ array2xml_cs()

static TYPO3\CMS\Core\Utility\GeneralUtility::array2xml_cs ( array  $array,
  $docTag = 'phparray',
array  $options = [],
  $charset = '' 
)
static

Turns PHP array into XML. See array2xml()

Parameters
array$arrayThe input PHP array with any kind of data; text, binary, integers. Not objects though.
string$docTagAlternative document tag. Default is "phparray".
array$optionsOptions for the compilation. See array2xml() for description.
string$charsetForced charset to prologue
Returns
string An XML string made from the input content in the array.
See also
xml2array(),array2xml()

Definition at line 2068 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Backend\Controller\Wizard\TableController\tableWizard().

◆ array_merge()

static TYPO3\CMS\Core\Utility\GeneralUtility::array_merge ( array  $arr1,
array  $arr2 
)
static

An array_merge function where the keys are NOT renumbered as they happen to be with the real php-array_merge function. It is "binary safe" in the sense that integer keys are overridden as well.

Parameters
array$arr1First array
array$arr2Second array
Returns
array Merged result.
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8 - native php '+' operator instead

Definition at line 1779 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\arrayMergeKeepsIndexesAfterMerge(), TYPO3\CMS\Core\Utility\GeneralUtility\getAllFilesAndFoldersInPath(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstanceService().

◆ arrayDiffAssocRecursive()

static TYPO3\CMS\Core\Utility\GeneralUtility::arrayDiffAssocRecursive ( array  $array1,
array  $array2 
)
static

Filters keys off from first array that also exist in second array. Comparison is done by keys. This method is a recursive version of php array_diff_assoc()

Parameters
array$array1Source array
array$array2Reduce source array by this array
Returns
array Source array reduced by keys also present in second array
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8 - use ArrayUtility::arrayDiffAssocRecursive() instead

Definition at line 1794 of file GeneralUtility.php.

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

◆ arrayToLogString()

static TYPO3\CMS\Core\Utility\GeneralUtility::arrayToLogString ( array  $arr,
  $valueList = [],
  $valueLength = 20 
)
static

Converts a one dimensional array to a one line string which can be used for logging or debugging output Example: "loginType: FE; refInfo: Array; HTTP_HOST: www.example.org; REMOTE_ADDR: 192.168.1.5; REMOTE_HOST:; security_level:; showHiddenRecords: 0;"

Parameters
array$arrData array which should be outputted
mixed$valueListList of keys which should be listed in the output string. Pass a comma list or an array. An empty list outputs the whole array.
int$valueLengthLong string values are shortened to this length. Default: 20
Returns
string Output string with key names and their value as string

Definition at line 5318 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\checkAuthentication(), TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication\fetchGroupData(), TYPO3\CMS\Sv\AuthenticationService\getUser(), TYPO3\CMS\Lowlevel\SyslogCommand\main(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\processLoginData(), and TYPO3\CMS\Backend\ModuleSettings\processStoreControl().

◆ callUserFunction()

static TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction (   $funcName,
$params,
$ref,
  $checkPrefix = '',
  $errorMode = 0 
)
static

Calls a user-defined function/method in class Such a function/method should look like this: "function proc(&$params, &$ref) {...}"

Parameters
string$funcNameFunction/Method reference or Closure, '[file-reference":"]["&"]class/function["->"method-name]'. You can prefix this reference with "[file-reference]:" and ::getFileAbsFileName() will then be used to resolve the filename and subsequently include it by "require_once()" which means you don't have to worry about including the class file either! Example: "EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL". Finally; you can prefix the class name with "&" if you want to reuse a former instance of the same object call ("singleton").
mixed$paramsParameters to be pass along (typically an array) (REFERENCE!)
mixed$refReference to be passed along (typically "$this" - being a reference to the calling object) (REFERENCE!)
string$checkPrefixNot used anymore since 6.0
int$errorModeError mode (when class/function could not be found): 0 - call debug(), 1 - do nothing, 2 - raise an exception (allows to call a user function that may return FALSE)
Returns
mixed Content from method/function call or FALSE if the class/method/function was not found
See also
getUserObj()

Definition at line 4350 of file GeneralUtility.php.

References $GLOBALS, $params, and debug().

Referenced by TYPO3\CMS\Backend\View\PageTreeView\__construct(), TYPO3\CMS\Backend\Form\Container\InlineControlContainer\__construct(), TYPO3\CMS\Frontend\Http\RequestHandler\__construct(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\__construct(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaRecordTitle\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseUserPermissionCheck\addData(), TYPO3\CMS\Core\DataHandling\DataHandler\applyFiltersToValues(), TYPO3\CMS\Backend\Http\AjaxRequestHandler\boot(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\buildMail(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\calcPerms(), TYPO3\CMS\Form\View\Wizard\WizardView\callRenderHook(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\callUserFunctionAcceptsClosures(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\callUserFunctionCanCallFunction(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\callUserFunctionCanCallMethod(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\callUserFunctionCanPersistObjectsBetweenCalls(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\callUserFunctionCanPrefixFuncNameWithFilePath(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\callUserFunctionTrimsSpaces(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\callUserFunctionWillReturnFalseForInvalidParameters(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\callUserFunctionWillThrowExceptionForInvalidParameters(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\changePassword(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\checkAlternativeIdMethods(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\checkAuthentication(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\checkEnableFields(), TYPO3\CMS\Core\Html\HtmlParser\checkTagTypeCounts(), TYPO3\CMS\Core\DataHandling\DataHandler\clear_cacheCmd(), TYPO3\CMS\Recordlist\RecordList\clearCache(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\connectToDB(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\contentStrReplace(), TYPO3\CMS\Backend\Utility\BackendUtility\countVersionsOfRecordsOnPage(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\createHashBase(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\detectLinkTypeFromLinkParameter(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\determineId(), TYPO3\CMS\Core\Page\PageRenderer\doCompressCss(), TYPO3\CMS\Core\Page\PageRenderer\doCompressJavaScript(), TYPO3\CMS\Core\Page\PageRenderer\doConcatenateCss(), TYPO3\CMS\Core\Page\PageRenderer\doConcatenateJavaScript(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\editAction(), TYPO3\CMS\Frontend\Page\PageRepository\enableFields(), TYPO3\CMS\Backend\Controller\BackendController\executeHook(), TYPO3\CMS\Core\Page\PageRenderer\executePostRenderHook(), TYPO3\CMS\Core\Page\PageRenderer\executePreRenderHook(), TYPO3\CMS\Core\Page\PageRenderer\executeRenderPostTransformHook(), TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\executeValueModifier(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_fNandV(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\fetch_the_id(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroups(), TYPO3\CMS\Core\Cache\Frontend\AbstractFrontend\flushByTag(), TYPO3\CMS\Backend\Form\Element\NoneElement\formatValue(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\generateAndSendHash(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\generatePage_postProcessing(), TYPO3\CMS\Core\Utility\ClientUtility\getBrowserInfo(), TYPO3\CMS\Backend\Template\Components\ButtonBar\getButtons(), TYPO3\CMS\T3editor\T3editor\getCodeEditor(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getConfigArray(), TYPO3\CMS\Core\Utility\ClientUtility\getDeviceType(), TYPO3\CMS\Backend\ContextMenu\Pagetree\ContextMenuDataProvider\getDisableActions(), TYPO3\CMS\Backend\Template\DocumentTemplate\getDocHeaderButtons(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getFilePermissionsForStorage(), TYPO3\CMS\Setup\Controller\SetupModuleController\getFormProtection(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getFromCache(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\getImgColumnWidths(), TYPO3\CMS\Setup\Controller\SetupModuleController\getJavaScript(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\getLinkTypes(), TYPO3\CMS\Core\Type\File\FileInfo\getMimeType(), TYPO3\CMS\Backend\Utility\BackendUtility\getNoRecordTitle(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getPagePermsClause(), TYPO3\CMS\Core\Database\QueryView\getQueryResultCode(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordTitle(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\getSearchFields(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Backend\Utility\BackendUtility\getUpdateSignalCode(), TYPO3\CMS\Frontend\Http\EidRequestHandler\handleRequest(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\headerNoCache(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\hook_eofe(), TYPO3\CMS\Core\TypoScript\TemplateService\includeStaticTypoScriptSources(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\initFEuser(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\isBackendUserLoggedIn(), TYPO3\CMS\Backend\View\PageLayoutView\isDragAndDropAllowed(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\isOutputting(), TYPO3\CMS\Backend\RecordList\ElementBrowserRecordList\isRowListingConditionFulfilled(), TYPO3\CMS\Core\TypoScript\TemplateService\linkData(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\linkWrapTemplateTitle(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\logoff(), TYPO3\CMS\Frontend\Controller\PageInformationController\main(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\main(), TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController\main(), TYPO3\CMS\Backend\Controller\File\EditFileController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\main(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Core\Imaging\IconFactory\mapRecordTypeToIconIdentifier(), TYPO3\CMS\Backend\Utility\IconUtility\mapRecordTypeToSpriteIconName(), TYPO3\CMS\Backend\Form\FormDataProvider\EvaluateDisplayConditions\matchUserCondition(), TYPO3\CMS\Backend\Template\DocumentTemplate\moduleBody(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\pageErrorHandler(), TYPO3\CMS\Core\DataHandling\DataHandler\prepareCacheFlush(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\previewInfo(), TYPO3\CMS\Backend\Tree\View\PagePositionMap\printRecordMap(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\processOutput(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\processRedirect(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\recordEditAccessInternals(), TYPO3\CMS\Backend\Form\Element\UserElement\render(), TYPO3\CMS\Backend\Form\Wizard\SuggestWizardDefaultReceiver\renderRecord(), TYPO3\CMS\Setup\Controller\SetupModuleController\renderUserSetup(), TYPO3\CMS\Frontend\Controller\ExtDirectEidController\routeAction(), TYPO3\CMS\Core\Cache\Frontend\VariableFrontend\set(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\set_cache_timeout_default(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\settingLanguage(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\showLogin(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\start(), TYPO3\CMS\Backend\Template\DocumentTemplate\startPage(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\stdWrap_editPanel(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader(), TYPO3\CMS\Workspaces\Service\WorkspaceService\viewSingleRecord(), and TYPO3\CMS\Backend\View\PageTreeView\wrapTitle().

◆ camelCaseToLowerCaseUnderscored()

static TYPO3\CMS\Core\Utility\GeneralUtility::camelCaseToLowerCaseUnderscored (   $string)
static

◆ checkInstanceClassName()

static TYPO3\CMS\Core\Utility\GeneralUtility::checkInstanceClassName (   $className,
  $instance 
)
staticprotected

Checks that $className is non-empty and that $instance is an instance of $className.

Exceptions

Definition at line 4776 of file GeneralUtility.php.

◆ classHasImplementation()

static TYPO3\CMS\Core\Utility\GeneralUtility::classHasImplementation (   $className)
staticprotected

Checks if a class has a configured implementation

Parameters
string$className
Returns
bool

Definition at line 4637 of file GeneralUtility.php.

References $GLOBALS.

◆ cleanOutputBuffers()

static TYPO3\CMS\Core\Utility\GeneralUtility::cleanOutputBuffers ( )
static

Ends and cleans all output buffers

Returns
void
Deprecated:
since TYPO3 CMS 7, will be removed in CMS 8, use ob_* functions directly or self::flushOutputBuffers

Definition at line 5413 of file GeneralUtility.php.

◆ clientInfo()

static TYPO3\CMS\Core\Utility\GeneralUtility::clientInfo (   $useragent = '')
static

Client Browser Information

Parameters
string$useragentAlternative User Agent string (if empty, ::getIndpEnv('HTTP_USER_AGENT') is used)
Returns
array Parsed information about the HTTP_USER_AGENT in categories BROWSER, VERSION, SYSTEM

Definition at line 3775 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\__construct(), TYPO3\CMS\Backend\Controller\LoginController\formAction(), TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom(), and TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\start().

◆ cmpFQDN()

static TYPO3\CMS\Core\Utility\GeneralUtility::cmpFQDN (   $baseHost,
  $list 
)
static

Match fully qualified domain name with list of strings with wildcard

Parameters
string$baseHostA hostname or an IPv4/IPv6-address (will by reverse-resolved; typically REMOTE_ADDR)
string$listA comma-list of domain names to match with. -wildcard allowed but cannot be part of a string, so it must match the full host name (eg. myhost..com => correct, myhost.*domain.com => wrong)
Returns
bool TRUE if a domain name mask from $list matches $baseIP

Definition at line 615 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\cmpFqdnReturnsFalse(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\cmpFqdnReturnsTrue(), and TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher\evaluateConditionCommon().

◆ cmpIP()

static TYPO3\CMS\Core\Utility\GeneralUtility::cmpIP (   $baseIP,
  $list 
)
static

Match IP number with list of numbers with wildcard Dispatcher method for switching into specialised IPv4 and IPv6 methods.

Parameters
string$baseIPIs the current remote IP address for instance, typ. REMOTE_ADDR
string$listIs a comma-list of IP-addresses to match with. -wildcard allowed instead of number, plus leaving out parts in the IP number is accepted as wildcard (eg. 192.168..* equals 192.168). If list is "*" no check is done and the function returns TRUE immediately. An empty list always returns FALSE.
Returns
bool TRUE if an IP-mask from $list matches $baseIP

Definition at line 353 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Frontend\Http\RequestHandler\__construct(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\beLoginLinkIPList(), TYPO3\CMS\Backend\FrontendBackendUserAuthentication\checkBackendAccessSettingsFromInitPhp(), TYPO3\CMS\Core\Core\Bootstrap\checkBackendIpOrDie(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\checkLockToIP(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\checkPageUnavailableHandler(), TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher\evaluateConditionCommon(), TYPO3\CMS\Core\Database\DatabaseConnection\explain(), TYPO3\CMS\Sv\AuthenticationService\getGroups(), TYPO3\CMS\Core\Core\Bootstrap\initializeErrorHandling(), and TYPO3\CMS\Install\Controller\Action\Step\DatabaseConnect\isConfigurationComplete().

◆ cmpIPv4()

static TYPO3\CMS\Core\Utility\GeneralUtility::cmpIPv4 (   $baseIP,
  $list 
)
static

Match IPv4 number with list of numbers with wildcard

Parameters
string$baseIPIs the current remote IP address for instance, typ. REMOTE_ADDR
string$listIs a comma-list of IP-addresses to match with. -wildcard allowed instead of number, plus leaving out parts in the IP number is accepted as wildcard (eg. 192.168..* equals 192.168), could also contain IPv6 addresses
Returns
bool TRUE if an IP-mask from $list matches $baseIP

Definition at line 375 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\cmpIPv4ReturnsFalseForNotMatchingAddress(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\cmpIPv4ReturnsTrueForMatchingAddress().

◆ cmpIPv6()

static TYPO3\CMS\Core\Utility\GeneralUtility::cmpIPv6 (   $baseIP,
  $list 
)
static

Match IPv6 address with a list of IPv6 prefixes

Parameters
string$baseIPIs the current remote IP address for instance
string$listIs a comma-list of IPv6 prefixes, could also contain IPv4 addresses
Returns
bool TRUE If an baseIP matches any prefix

Definition at line 422 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\cmpIPv6ReturnsFalseForNotMatchingAddress(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\cmpIPv6ReturnsTrueForMatchingAddress().

◆ compat_version()

static TYPO3\CMS\Core\Utility\GeneralUtility::compat_version (   $verNumberStr)
static

Returns TRUE if the current TYPO3 version (or compatibility version) is compatible to the input version Notice that this function compares branches, not versions (4.0.1 would be > 4.0.0 although they use the same compat_version)

Parameters
string$verNumberStrMinimum branch number required (format x.y / e.g. "4.0" NOT "4.0.0"!)
Returns
bool Returns TRUE if this setup is compatible with the provided version number
Todo:
Still needs a function to convert versions to branches

Definition at line 760 of file GeneralUtility.php.

References TYPO3\CMS\Core\Utility\VersionNumberUtility\convertVersionNumberToInteger().

Referenced by TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher\evaluateConditionCommon().

◆ compileSelectedGetVarsFromArray()

static TYPO3\CMS\Core\Utility\GeneralUtility::compileSelectedGetVarsFromArray (   $varList,
array  $getArray,
  $GPvarAlt = true 
)
static

Returns an array with selected keys from incoming data. (Better read source code if you want to find out...)

Parameters
string$varListList of variable/key names
array$getArrayArray from where to get values based on the keys in $varList
bool$GPvarAltIf set, then ::_GP() is used to fetch the value if not found (isset) in the $getArray
Returns
array Output array with selected variables.

Definition at line 1677 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\compileSelectedGetVarsFromArrayFiltersIncomingData(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\compileSelectedGetVarsFromArrayUsesGetPostDataFallback(), TYPO3\CMS\Backend\Controller\EditDocumentController\compileStoreDat(), TYPO3\CMS\Backend\Template\ModuleTemplate\makeShortcutUrl(), and TYPO3\CMS\Backend\Template\DocumentTemplate\makeShortcutUrl().

◆ compressIPv6()

static TYPO3\CMS\Core\Utility\GeneralUtility::compressIPv6 (   $address)
static

Compress an IPv6 address to the shortest notation

Parameters
string$addressGiven IPv6 address
Returns
string Compressed address
See also
normalizeIPv6()

Definition at line 564 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\compressIPv6CorrectlyCompressesAdresses(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\compressIPv6CorrectlyCompressesAdressWithSomeAddressOnRightSide().

◆ convertMicrotime()

static TYPO3\CMS\Core\Utility\GeneralUtility::convertMicrotime (   $microtime)
static

Returns microtime input to milliseconds

Parameters
string$microtimeMicrotime
Returns
int Microtime input string converted to an integer (milliseconds)

Definition at line 993 of file GeneralUtility.php.

◆ copyDirectory()

◆ createDirectoryPath()

static TYPO3\CMS\Core\Utility\GeneralUtility::createDirectoryPath (   $fullDirectoryPath)
staticprotected

Creates directories for the specified paths if they do not exist. This functions sets proper permission mask but does not set proper user and group.

Parameters
string$fullDirectoryPath
Returns
string Path to the the first created directory in the hierarchy
See also
::mkdir_deep
Exceptions

Definition at line 2912 of file GeneralUtility.php.

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

◆ createVersionNumberedFilename()

static TYPO3\CMS\Core\Utility\GeneralUtility::createVersionNumberedFilename (   $file)
static

Function for static version numbers on files, based on the filemtime

This will make the filename automatically change when a file is changed, and by that re-cached by the browser. If the file does not exist physically the original file passed to the function is returned without the timestamp.

Behaviour is influenced by the setting TYPO3_CONF_VARS[TYPO3_MODE][versionNumberInFilename] = TRUE (BE) / "embed" (FE) : modify filename = FALSE (BE) / "querystring" (FE) : add timestamp as parameter

Parameters
string$fileRelative path to file including all potential query parameters (not htmlspecialchared yet)
Returns
string Relative path with version filename including the timestamp

Definition at line 3273 of file GeneralUtility.php.

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

Referenced by TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\getRteInitJsCode(), TYPO3\CMS\Core\Page\PageRenderer\processJsFile(), TYPO3\CMS\Core\Page\PageRenderer\renderAdditionalJavaScriptLibraries(), TYPO3\CMS\Core\Page\PageRenderer\renderCssFiles(), TYPO3\CMS\Core\Page\PageRenderer\renderCssLibraries(), and TYPO3\CMS\Core\Page\PageRenderer\renderJavaScriptFiles().

◆ csvValues()

static TYPO3\CMS\Core\Utility\GeneralUtility::csvValues ( array  $row,
  $delim = ',',
  $quote = '"' 
)
static

Takes a row and returns a CSV string of the values with $delim (default is ,) and $quote (default is ") as separator chars.

Parameters
array$rowInput array of values
string$delimDelimited, default is comma
string$quoteQuote-character to wrap around the values.
Returns
string A single line of CSV

Definition at line 1808 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\setCsvRow().

◆ deHSCentities()

static TYPO3\CMS\Core\Utility\GeneralUtility::deHSCentities (   $str)
static

Re-converts HTML entities if they have been converted by htmlspecialchars() Note: Use htmlspecialchars($str, ENT_COMPAT, 'UTF-8', FALSE) to avoid double encoding. This makes the call to this method obsolete.

Parameters
string$strString which contains eg. "&amp;amp;" which should stay "&amp;". Or "&amp;#1234;" to "&#1234;". Or "&amp;#x1b;" to "&#x1b;
Returns
string Converted result.

Definition at line 1031 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\deHSCentitiesReturnsDecodedString().

◆ deprecationLog()

static TYPO3\CMS\Core\Utility\GeneralUtility::deprecationLog (   $msg)
static

Writes a message to the deprecation log.

Parameters
string$msgMessage (in English).
Returns
void

Definition at line 5238 of file GeneralUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\DebugUtility\debug().

Referenced by TYPO3\CMS\Core\Resource\DuplicationBehavior\__construct(), TYPO3\CMS\Backend\Controller\PageTreeNavigationController\__construct(), TYPO3\CMS\Backend\ModuleSettings\__construct(), TYPO3\CMS\Backend\Template\DocumentTemplate\__construct(), TYPO3\CMS\Backend\Sprite\SpriteManager\addIconSprite(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\addItemsFromSpecial(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addModule(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\addParams(), TYPO3\CMS\Backend\Sprite\SpriteManager\addSingleIcons(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addTCAcolumns(), TYPO3\CMS\Backend\Sprite\SpriteManager\addTcaTypeIcon(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\buildBaseTcaFromSingleFiles(), TYPO3\CMS\Backend\Module\ModuleLoader\checkMod(), TYPO3\CMS\Extbase\Utility\ExtensionUtility\checkVendorNameFormat(), TYPO3\CMS\Core\Utility\DebugUtility\debugRows(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\deprecationLogFixesPermissionsOnLogFile(), TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider\emitDeprecatedPostProcessTreeDataSignal(), TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher\evaluateConditionCommon(), TYPO3\CMS\Core\Core\Bootstrap\executeExtTablesAdditionalFile(), TYPO3\CMS\Backend\Utility\BackendUtility\explodeSoftRefParserList(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\FILE_launch(), TYPO3\CMS\Core\DataHandling\DataHandler\fillInFieldArray(), TYPO3\CMS\Backend\Controller\LoginController\formAction(), TYPO3\CMS\Core\Utility\File\ExtendedFileUtility\func_edit(), TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools\getAvailableLanguages(), TYPO3\CMS\Frontend\Page\PageRepository\getExtURL(), TYPO3\CMS\Form\Utility\CompatibilityLayerUtility\getGlobalLayoutByElementType(), TYPO3\CMS\Core\Imaging\IconRegistry\getIconConfigurationByIdentifier(), TYPO3\CMS\Backend\Utility\BackendUtility\getItemLabel(), TYPO3\CMS\Form\Utility\CompatibilityLayerUtility\getNewAttributeName(), TYPO3\CMS\Core\Package\Package\getPackageMetaData(), TYPO3\CMS\Backend\Utility\BackendUtility\getSpecConfParts(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconForFile(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconForRecord(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconForResource(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getWhere(), TYPO3\CMS\Dbal\Database\DatabaseConnection\handler_init(), TYPO3\CMS\Core\Localization\LocalizationFactory\initializeCache(), TYPO3\CMS\Core\Core\Bootstrap\initializeErrorHandling(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\initVariables(), TYPO3\CMS\Fluid\ViewHelpers\Be\TableListViewHelper\injectConfigurationManager(), TYPO3\CMS\Frontend\Page\PageGenerator\JSeventFunctions(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\loadModTsConfig(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\logDeprecatedProperty(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\logDeprecatedTyposcript(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\main(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\main(), TYPO3\CMS\Backend\Form\FormDataProvider\EvaluateDisplayConditions\matchHideL10nSiblingsCondition(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFlexPrepare\migrateFlexformTcaRecursive(), TYPO3\CMS\Core\DataHandling\DataHandler\newlog2(), TYPO3\CMS\Core\Imaging\IconFactory\processAjaxRequest(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\processOutput(), TYPO3\CMS\Core\Html\HtmlParser\processTag(), TYPO3\CMS\Fluid\ViewHelpers\Be\Buttons\CshViewHelper\render(), TYPO3\CMS\Fluid\ViewHelpers\FlashMessagesViewHelper\render(), TYPO3\CMS\Form\Domain\Builder\FormBuilder\reviveElement(), TYPO3\CMS\Form\Utility\CompatibilityLayerUtility\setElementLayouts(), TYPO3\CMS\Form\Utility\CompatibilityLayerUtility\setGlobalLayoutConfiguration(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\settingLanguage(), TYPO3\CMS\Backend\Utility\BackendUtility\softRefParserObj(), TYPO3\CMS\Backend\Template\DocumentTemplate\startPage(), and TYPO3\CMS\Lowlevel\Utility\ArrayBrowser\tree().

◆ devLog()

static TYPO3\CMS\Core\Utility\GeneralUtility::devLog (   $msg,
  $extKey,
  $severity = 0,
  $dataVar = false 
)
static

Logs message to the development log. This should be implemented around the source code, both frontend and backend, logging everything from the flow through an application, messages, results from comparisons to fatal errors. The result is meant to make sense to developers during development or debugging of a site. The idea is that this function is only a wrapper for external extensions which can set a hook which will be allowed to handle the logging of the information to any format they might wish and with any kind of filter they would like. If you want to implement the devLog in your applications, simply add lines like: if (TYPO3_DLOG) ::devLog('[write message in english here]', 'extension key');

Parameters
string$msgMessage (in english).
string$extKeyExtension key (from which extension you are calling the log)
int$severitySeverity: 0 is info, 1 is notice, 2 is warning, 3 is fatal error, -1 is "OK" message
mixed$dataVarAdditional data you want to pass to the logger.
Returns
void

Definition at line 5221 of file GeneralUtility.php.

References $GLOBALS, and $params.

Referenced by TYPO3\CMS\Frontend\Http\RequestHandler\__construct(), TYPO3\CMS\Backend\ModuleSettings\addToStoreList(), TYPO3\CMS\Backend\ModuleSettings\addToStoreListFromPrefix(), TYPO3\CMS\Sv\AuthenticationService\authUser(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\checkAuthentication(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\createUserSession(), TYPO3\CMS\Extbase\Validation\ValidatorResolver\createValidator(), TYPO3\CMS\Core\Database\DatabaseConnection\debug_check_recordset(), TYPO3\CMS\Core\Service\AbstractService\devLog(), TYPO3\CMS\Backend\Template\DocumentTemplate\endPage(), TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication\fetchGroupData(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\fetchUserSession(), TYPO3\CMS\Sv\AuthenticationService\getGroups(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\getImgColumnRelations(), TYPO3\CMS\Sv\AuthenticationService\getUser(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\initUserGroups(), TYPO3\CMS\Extbase\Object\Container\Container\log(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\logoff(), TYPO3\CMS\Dbal\Database\DatabaseConnection\prepare_SELECTquery(), TYPO3\CMS\Rsaauth\RsaAuthService\processLoginData(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\processLoginData(), TYPO3\CMS\Backend\ModuleSettings\processStoreControl(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\setAndSaveSessionData(), TYPO3\CMS\Core\Error\ErrorHandler\setDebugMode(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\setSessionCookie(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\start(), TYPO3\CMS\Saltedpasswords\SaltedPasswordService\updatePassword(), TYPO3\CMS\Core\Error\AbstractExceptionHandler\writeLogEntries(), TYPO3\CMS\Saltedpasswords\SaltedPasswordService\writeLogMessage(), and TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\writeUC().

◆ dirname()

static TYPO3\CMS\Core\Utility\GeneralUtility::dirname (   $path)
static

Returns the directory part of a path without trailing slash If there is no dir-part, then an empty string is returned. Behaviour:

'/dir1/dir2/script.php' => '/dir1/dir2' '/dir1/' => '/dir1' 'dir1/script.php' => 'dir1' 'd/script.php' => 'd' '/script.php' => '' '' => ''

Parameters
string$pathDirectory name / path
Returns
string Processed input value. See function description.

Definition at line 884 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\dirnameWithDataProvider(), TYPO3\CMS\Workspaces\Controller\PreviewController\generateJavascript(), TYPO3\CMS\Backend\Controller\BackendController\generateJavascript(), TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv(), and TYPO3\CMS\Frontend\Page\PageGenerator\JSeventFunctions().

◆ encodeHeader()

static TYPO3\CMS\Core\Utility\GeneralUtility::encodeHeader (   $line,
  $enc = 'quoted-printable',
  $charset = 'utf-8' 
)
static

Encode header lines Email headers must be ASCII, therefore they will be encoded to quoted_printable (default) or base64.

Parameters
string$lineContent to encode
string$encEncoding type: "base64" or "quoted-printable". Default value is "quoted-printable".
string$charsetCharset used for encoding
Returns
string The encoded string
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8. Use mailer API instead

Definition at line 4970 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\encodeHeaderEncodesQuestionmarksInQuotedPrintableMailHeader(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\encodeHeaderEncodesWhitespacesInQuotedPrintableMailHeader().

◆ expandList()

static TYPO3\CMS\Core\Utility\GeneralUtility::expandList (   $list)
static

Expand a comma-separated list of integers with ranges (eg 1,3-5,7 becomes 1,3,4,5,7). Ranges are limited to 1000 values per range.

Parameters
string$listComma-separated list of integers with ranges (string)
Returns
string New comma-separated list of items

Definition at line 730 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\expandListExpandsForTwoThousandElementsExpandsOnlyToThousandElementsMaximum(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\expandListExpandsIntegerRanges(), and TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\stdWrap_expandList().

◆ explodeUrl2Array()

static TYPO3\CMS\Core\Utility\GeneralUtility::explodeUrl2Array (   $string,
  $multidim = false 
)
static

Explodes a string with GETvars (eg. "&id=1&type=2&ext[mykey]=3") into an array

Parameters
string$stringGETvars string
bool$multidimIf set, the string will be parsed into a multidimensional array if square brackets are used in variable names (using PHP function parse_str())
Returns
array Array of values. All values AND keys are rawurldecoded() as they properly should be. But this means that any implosion of the array again must rawurlencode it!
See also
implodeArrayForUrl()

Definition at line 1651 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder\buildBackendUri(), TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem\createShortcutAction(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\explodeUrl2ArrayTransformsParameterStringToFlatArray(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\explodeUrl2ArrayTransformsParameterStringToNestedArray(), TYPO3\CMS\Beuser\Controller\BackendUserActionController\generateMenu(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\getPreserveGetVars(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getQueryArguments(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getUrlToCurrentLocation(), TYPO3\CMS\Backend\Controller\File\RenameFileController\init(), TYPO3\CMS\Backend\Controller\File\ReplaceFileController\init(), TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem\initShortcuts(), TYPO3\CMS\Core\TypoScript\TemplateService\linkData(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForBrowseMenu(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\removeInvalidElements(), TYPO3\CMS\Beuser\ViewHelpers\IssueCommandViewHelper\render(), and TYPO3\CMS\Beuser\ViewHelpers\EditRecordViewHelper\renderStatic().

◆ fixed_lgd_cs()

static TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs (   $string,
  $chars,
  $appendString = '...' 
)
static

Truncates a string with appended/prepended "..." and takes current character set into consideration.

Parameters
string$stringString to truncate
int$charsMust be an integer with an absolute value of at least 4. if negative the string is cropped from the right end.
string$appendStringAppendix to the truncated string
Returns
string Cropped string

Definition at line 331 of file GeneralUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Tree\View\PagePositionMap\__construct(), TYPO3\CMS\Backend\View\PageLayoutView\dataFields(), TYPO3\CMS\Feedit\FrontendEditPanel\editPanel(), TYPO3\CMS\Recordlist\LinkHandler\FileLinkHandler\expandFolder(), TYPO3\CMS\Impexp\Export\export_addRecord(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_fixed_lgd(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_fNandV(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getRootlineNumber(), TYPO3\CMS\Core\TimeTracker\TimeTracker\fixCLen(), TYPO3\CMS\Recordlist\LinkHandler\PageLinkHandler\formatCurrentUrl(), TYPO3\CMS\Filelist\FileList\formatDirList(), TYPO3\CMS\Filelist\FileList\formatFileList(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\func_search(), TYPO3\CMS\Filelist\FileList\getButtonsAndOtherMarkers(), TYPO3\CMS\Backend\Template\DocumentTemplate\getHeader(), TYPO3\CMS\Backend\Utility\BackendUtility\getNoRecordTitle(), TYPO3\CMS\Backend\Template\DocumentTemplate\getPagePath(), TYPO3\CMS\Backend\Template\Components\MetaInformation\getPath(), TYPO3\CMS\Frontend\Page\PageRepository\getPathFromRootline(), TYPO3\CMS\Recycler\Utility\RecyclerUtility\getRecordPath(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordPath(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\getRecordTitlePrep(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordTitlePrep(), TYPO3\CMS\Backend\Template\DocumentTemplate\getResourceHeader(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Backend\Tree\View\PageTreeView\getTitleStr(), TYPO3\CMS\Backend\Tree\View\AbstractTreeView\getTitleStr(), TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem\initShortcuts(), TYPO3\CMS\Filelist\FileList\linkWrapDir(), TYPO3\CMS\Filelist\FileList\linkWrapFile(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\linkWrapItems(), TYPO3\CMS\Backend\Controller\PageTreeNavigationController\main(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Backend\Controller\PageLayoutController\makeQuickEditMenu(), TYPO3\CMS\Backend\Clipboard\Clipboard\printContentFromTab(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printDBClickMenu(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printFileClickMenu(), TYPO3\CMS\Core\TimeTracker\TimeTracker\printTSlog(), TYPO3\CMS\Core\Database\RelationHandler\readyForInterface(), TYPO3\CMS\Recordlist\Browser\FileBrowser\renderFilesInFolder(), TYPO3\CMS\Rtehtmlarea\ImageHandler\AddImageHandler\renderFilesInFolder(), TYPO3\CMS\Recordlist\Browser\FolderBrowser\renderFolders(), TYPO3\CMS\Beuser\Controller\PermissionAjaxController\renderGroupname(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\renderL10nTable(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\renderList(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\renderList(), TYPO3\CMS\Beuser\Controller\PermissionAjaxController\renderOwnername(), TYPO3\CMS\Fluid\ViewHelpers\Be\PagePathViewHelper\renderStatic(), TYPO3\CMS\Backend\View\PageLayoutView\renderText(), and TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\setTemporaryDbMounts().

◆ fixPermissions()

static TYPO3\CMS\Core\Utility\GeneralUtility::fixPermissions (   $path,
  $recursive = false 
)
static

Sets the file system mode and group ownership of a file or a folder.

Parameters
string$pathPath of file or folder, must not be escaped. Path can be absolute or relative
bool$recursiveIf set, also fixes permissions of files and folders in the folder (if $path is a folder)
Returns
mixed TRUE on success, FALSE on error, always TRUE on Windows OS

Definition at line 2739 of file GeneralUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\Locking\FileLockStrategy\acquire(), TYPO3\CMS\Core\Locking\SimpleLockStrategy\acquire(), TYPO3\CMS\Core\Locking\Locker\acquire(), TYPO3\CMS\Core\Locking\Locker\acquireExclusiveLock(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\addFile(), TYPO3\CMS\Core\Http\Observer\Download\closeFile(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\combineExec(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\copyFileWithinStorage(), TYPO3\CMS\Core\Tests\Unit\Resource\Driver\LocalDriverTest\copyFolderWithinStorageCopiesFileInSingleSubFolderToNewFolderName(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\createFile(), TYPO3\CMS\Install\Service\EnableFileService\createInstallToolEnableFile(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsCorrectlySetsPermissionsRecursive(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsDoesNotSetPermissionsToNotAllowedPath(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsDefaultPermissionsToDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsDefaultPermissionsToFile(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsGroup(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsPermissionsToDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsPermissionsToDirectoryWithTrailingSlash(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsPermissionsToFile(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsPermissionsToHiddenDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsPermissionsToHiddenFile(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsPermissionsWithRelativeFileReference(), TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\YouTubeHelper\getPreviewImage(), TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\VimeoHelper\getPreviewImage(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\gifCompress(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\imageMagickExec(), TYPO3\CMS\Backend\Utility\IconUtility\imagemake(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\ImageWrite(), TYPO3\CMS\Backend\View\ThumbnailView\main(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\moveFolderWithinStorage(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\readPngGif(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\replaceFile(), TYPO3\CMS\Core\Mail\MboxTransport\send(), TYPO3\CMS\Core\Cache\Backend\FileBackend\set(), TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend\set(), and TYPO3\CMS\Install\Service\SessionService\write().

◆ fixWindowsFilePath()

static TYPO3\CMS\Core\Utility\GeneralUtility::fixWindowsFilePath (   $theFile)
static

Fixes a path for windows-backslashes and reduces double-slashes to single slashes

Parameters
string$theFileFile path to process
Returns
string

Definition at line 3146 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\applyFiltersToValues(), TYPO3\CMS\Install\Configuration\Image\AbstractImagePreset\cleanUpPath(), TYPO3\CMS\Fluid\View\TemplateView\expandPatterns(), TYPO3\CMS\Core\Tests\Unit\Resource\Driver\LocalDriverTest\filesCanBeCopiedToATemporaryPath(), TYPO3\CMS\Fluid\Tests\Unit\View\StandaloneViewTest\getLayoutSourceReturnsContentOfDefaultLayoutFileIfNoLayoutExistsForTheSpecifiedFormat(), TYPO3\CMS\Fluid\Tests\Unit\View\StandaloneViewTest\getLayoutSourceReturnsContentOfLayoutFileForTheDefaultFormat(), TYPO3\CMS\Fluid\Tests\Unit\View\StandaloneViewTest\getLayoutSourceReturnsContentOfLayoutFileForTheSpecifiedFormat(), TYPO3\CMS\Core\Utility\PathUtility\getRelativePath(), TYPO3\CMS\Core\Utility\CommandUtility\imageMagickCommand(), TYPO3\CMS\Core\Core\ClassLoadingInformationGenerator\makePathRelative(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\moveFolderWithinStorage(), TYPO3\CMS\Core\IO\PharStreamWrapperInterceptor\normalizePath(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\removeDirectory(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\renameFile(), TYPO3\CMS\Sv\Report\ServicesListReport\renderExecutablesSearchPathList(), TYPO3\CMS\Fluid\Tests\Unit\View\StandaloneViewTest\renderLoadsSpecifiedTemplateFileAndPassesSourceToTemplateParser(), TYPO3\CMS\Fluid\View\StandaloneView\resolveFileNamePath(), TYPO3\CMS\Fluid\View\TemplateView\resolveFileNamePath(), TYPO3\CMS\Form\Hooks\HandleIncomingFormValues\saveUploadedFile(), TYPO3\CMS\Core\Tests\Unit\Cache\Backend\FileBackendTest\setCacheDirectoryAllowsRelativeDottedPathWithoutTrailingSlash(), TYPO3\CMS\Core\Tests\Unit\Cache\Backend\FileBackendTest\setCacheDirectoryAllowsRelativeDottedPathWithTrailingSlash(), TYPO3\CMS\Core\Tests\Unit\Cache\Backend\FileBackendTest\setCacheDirectoryAllowsRelativePathWithoutTrailingSlash(), TYPO3\CMS\Core\Tests\Unit\Cache\Backend\FileBackendTest\setCacheDirectoryAllowsRelativePathWithTrailingSlash(), and TYPO3\CMS\Core\Tests\UnitTestCase\tearDown().

◆ flushDirectory()

static TYPO3\CMS\Core\Utility\GeneralUtility::flushDirectory (   $directory,
  $keepOriginalDirectory = false,
  $flushOpcodeCache = false 
)
static

Flushes a directory by first moving to a temporary resource, and then triggering the remove process. This way directories can be flushed faster to prevent race conditions on concurrent processes accessing the same directory.

Parameters
string$directoryThe directory to be renamed and flushed
bool$keepOriginalDirectoryWhether to only empty the directory and not remove it
bool$flushOpcodeCacheAlso flush the opcode cache right after renaming the directory.
Returns
bool Whether the action was successful

Definition at line 2983 of file GeneralUtility.php.

References TYPO3\CMS\Core\Utility\StringUtility\getUniqueId().

Referenced by TYPO3\CMS\Install\Service\ClearCacheService\clearAll(), and TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend\flush().

◆ flushInternalRuntimeCaches()

◆ flushOutputBuffers()

static TYPO3\CMS\Core\Utility\GeneralUtility::flushOutputBuffers ( )
static

Ends and flushes all output buffers

Returns
void

Definition at line 5426 of file GeneralUtility.php.

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

Referenced by TYPO3\CMS\Backend\Console\CliRequestHandler\boot().

◆ formatForTextarea()

static TYPO3\CMS\Core\Utility\GeneralUtility::formatForTextarea (   $content)
static

Formats a string for output between <textarea>-tags All content outputted in a textarea form should be passed through this function Not only is the content htmlspecialchar'ed on output but there is also a single newline added in the top. The newline is necessary because browsers will ignore the first newline after <textarea> if that is the first character. Therefore better set it!

Parameters
string$contentInput string to be formatted.
Returns
string Formatted for <textarea>-tags
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8

Definition at line 1162 of file GeneralUtility.php.

◆ formatSize()

static TYPO3\CMS\Core\Utility\GeneralUtility::formatSize (   $sizeInBytes,
  $labels = '',
  $base = 0 
)
static

Formats the input integer $sizeInBytes as bytes/kilobytes/megabytes (-/K/M)

Parameters
int$sizeInBytesNumber of bytes to format.
string$labelsBinary unit name "iec", decimal unit name "si" or labels for bytes, kilo, mega, giga, and so on separated by vertical bar (|) and possibly encapsulated in "". Eg: " | K| M| G". Defaults to "iec".
int$baseThe unit base if not using a unit name. Defaults to 1024.
Returns
string Formatted representation of the byte number, for output.

Definition at line 946 of file GeneralUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\applyFiltersToValues(), TYPO3\CMS\IndexedSearch\Controller\SearchController\compileSingleResultRow(), TYPO3\CMS\Impexp\ImportExport\displayContentOverview(), TYPO3\CMS\Impexp\Export\export_addFile(), TYPO3\CMS\Impexp\Export\export_addRecord(), TYPO3\CMS\Impexp\Export\export_addSysFile(), TYPO3\CMS\Filelist\FileList\formatFileList(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\formatSizeTranslatesBytesToHigherOrderRepresentation(), TYPO3\CMS\Backend\Form\Element\NoneElement\formatValue(), TYPO3\CMS\Impexp\Controller\ImportExportController\getButtons(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getDeprecationLogStatus(), TYPO3\CMS\Install\Controller\Action\Tool\TestSetup\getEmailSubject(), TYPO3\CMS\Filelist\FileList\getFolderInfo(), TYPO3\CMS\Filelist\FileFacade\getSize(), TYPO3\CMS\Reports\Report\Status\SystemStatus\getStatus(), TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController\main_user(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\makeInfo(), TYPO3\CMS\Backend\Form\Container\AbstractContainer\previewFieldValue(), TYPO3\CMS\Backend\Clipboard\Clipboard\printContentFromTab(), TYPO3\CMS\Core\Log\Processor\MemoryUsageProcessor\processLogRecord(), TYPO3\CMS\Core\Log\Processor\MemoryPeakUsageProcessor\processLogRecord(), TYPO3\CMS\Core\Resource\Hook\FileInfoHook\renderFileInformationContent(), TYPO3\CMS\Recordlist\Browser\FileBrowser\renderFilesInFolder(), TYPO3\CMS\Rtehtmlarea\ImageHandler\AddImageHandler\renderFilesInFolder(), TYPO3\CMS\Recordlist\LinkHandler\FileLinkHandler\renderItem(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\renderPageTitle(), TYPO3\CMS\Install\ViewHelpers\File\SizeViewHelper\renderStatic(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\stdWrap_bytes(), TYPO3\CMS\Form\Domain\Validator\FileMinimumSizeValidator\substituteMarkers(), and TYPO3\CMS\Form\Domain\Validator\FileMaximumSizeValidator\substituteMarkers().

◆ freetypeDpiComp()

static TYPO3\CMS\Core\Utility\GeneralUtility::freetypeDpiComp (   $fontSize)
static

Function to compensate for DPI resolution.

Parameters
float$fontSizefont size for freetype function call
Returns
float compensated font size based on 96 dpi

Definition at line 5091 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Backend\View\ThumbnailView\fontGif(), TYPO3\CMS\Install\Controller\Action\Tool\TestSetup\getEmailSubject(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\ImageTTFBBoxWrapper(), and TYPO3\CMS\Core\Imaging\GraphicalFunctions\ImageTTFTextWrapper().

◆ generateRandomBytes()

static TYPO3\CMS\Core\Utility\GeneralUtility::generateRandomBytes (   $bytesToReturn)
static

◆ generateRandomBytesFallback()

static TYPO3\CMS\Core\Utility\GeneralUtility::generateRandomBytesFallback (   $bytesToReturn)
staticprotected

Generate pseudo random bytes as last resort

Parameters
$bytesToReturn
Returns
string

Definition at line 1294 of file GeneralUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\StringUtility\getUniqueId().

◆ generateRandomBytesMcrypt()

static TYPO3\CMS\Core\Utility\GeneralUtility::generateRandomBytesMcrypt (   $bytesToGenerate)
staticprotected

Generate random bytes using mcrypt if available

Parameters
$bytesToGenerate
Returns
string

Definition at line 1260 of file GeneralUtility.php.

◆ generateRandomBytesOpenSsl()

static TYPO3\CMS\Core\Utility\GeneralUtility::generateRandomBytesOpenSsl (   $bytesToGenerate)
staticprotected

Generate random bytes using openssl if available

Parameters
string$bytesToGenerate
Returns
string

Definition at line 1245 of file GeneralUtility.php.

◆ generateRandomBytesUrandom()

static TYPO3\CMS\Core\Utility\GeneralUtility::generateRandomBytesUrandom (   $bytesToGenerate)
staticprotected

Read random bytes from /dev/urandom if it is accessible

Parameters
$bytesToGenerate
Returns
string

Definition at line 1274 of file GeneralUtility.php.

◆ get_dirs()

static TYPO3\CMS\Core\Utility\GeneralUtility::get_dirs (   $path)
static

Returns an array with the names of folders in a specific path Will return 'error' (string) if there were an error with reading directory content.

Parameters
string$pathPath to list directories from
Returns
array Returns an array with the directory entries as values. If no path, the return value is nothing.

Definition at line 3011 of file GeneralUtility.php.

Referenced by TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_execute_type2(), TYPO3\CMS\Documentation\Domain\Repository\DocumentRepository\findAll(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getDirsReturnsArrayOfDirectoriesFromGivenDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getDirsReturnsStringErrorOnPathFailure(), TYPO3\CMS\Extensionmanager\Utility\DependencyUtility\getExtensionFromInExtensionRepository(), and TYPO3\CMS\Backend\Sprite\SpriteGenerator\getFolder().

◆ get_tag_attributes()

static TYPO3\CMS\Core\Utility\GeneralUtility::get_tag_attributes (   $tag)
static

Returns an array with all attributes of the input HTML tag as key/value pairs. Attributes are only lowercase a-z $tag is either a whole tag (eg '<TAG option="" attrib="VALUE">') or the parameter list (ex ' OPTION ATTRIB=VALUE>') If an attribute is empty, then the value for the key is empty. You can check if it existed with isset()

Parameters
string$tagHTML-tag string (or attributes only)
Returns
array Array with the attribute values.

Definition at line 1865 of file GeneralUtility.php.

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

Referenced by TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\_parseFunc(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\addParams(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\encaps_lineSplit(), TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController\initVariables(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_openAtagHrefInJSwindow(), TYPO3\CMS\Rtehtmlarea\Controller\AccessibilityLinkController\removeAccessibilityIcon(), and TYPO3\CMS\IndexedSearch\Indexer\splitHTMLContent().

◆ getAllFilesAndFoldersInPath()

static TYPO3\CMS\Core\Utility\GeneralUtility::getAllFilesAndFoldersInPath ( array  $fileArr,
  $path,
  $extList = '',
  $regDirs = false,
  $recursivityLevels = 99,
  $excludePattern = '' 
)
static

Recursively gather all files and folders of a path.

Parameters
array$fileArrEmpty input array (will have files added to it)
string$pathThe path to read recursively from (absolute) (include trailing slash!)
string$extListComma list of file extensions: Only files with extensions in this list (if applicable) will be selected.
bool$regDirsIf set, directories are also included in output.
int$recursivityLevelsThe number of levels to dig down...
string$excludePatternregex pattern of files/directories to exclude
Returns
array An array with the found files/directories.

Definition at line 3103 of file GeneralUtility.php.

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

Referenced by TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\addItemsFromFolder(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_execute_type2(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\createZipFileFromExtension(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getAllFilesAndFoldersInPathReturnsArrayWithMd5Keys(), TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\includeDirectory(), and TYPO3\CMS\Lowlevel\LostFilesCommand\main().

◆ getApplicationContext()

◆ getBytesFromSizeMeasurement()

static TYPO3\CMS\Core\Utility\GeneralUtility::getBytesFromSizeMeasurement (   $measurement)
static

Gets the bytes value from a measurement string like "100k".

Parameters
string$measurementThe measurement (e.g. "100k")
Returns
int The bytes value (e.g. 102400)

Definition at line 3234 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getBytesFromSizeMeasurementCalculatesCorrectByteValue(), and TYPO3\CMS\Reports\Report\Status\SystemStatus\getStatus().

◆ getClassName()

static TYPO3\CMS\Core\Utility\GeneralUtility::getClassName (   $className)
staticprotected

Returns the class name for a new instance, taking into account registered implementations for this class

Parameters
string$classNameBase class name to evaluate
Returns
string Final class name to instantiate with "new [classname]

Definition at line 4610 of file GeneralUtility.php.

References TYPO3\CMS\Core\Core\ClassLoadingInformation\getClassNameForAlias().

◆ getDeprecationLogFileName()

static TYPO3\CMS\Core\Utility\GeneralUtility::getDeprecationLogFileName ( )
static

Gets the absolute path to the deprecation log file.

Returns
string Absolute path to the deprecation log file

Definition at line 5276 of file GeneralUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\executeAdminCommand(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getDeprecationLogFileLink(), and TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getDeprecationLogStatus().

◆ getFileAbsFileName()

static TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName (   $filename,
  $onlyRelative = true,
  $relToTYPO3_mainDir = false 
)
static

Returns the absolute filename of a relative reference, resolves the "EXT:" prefix (way of referring to files inside extensions) and checks that the file is inside the PATH_site of the TYPO3 installation and implies a check with ::validPathStr().

Parameters
string$filenameThe input filename/filepath to evaluate
bool$onlyRelativeIf $onlyRelative is set (which it is by default), then only return values relative to the current PATH_site is accepted.
bool$relToTYPO3_mainDirIf $relToTYPO3_mainDir is set, then relative paths are relative to PATH_typo3 constant - otherwise (default) they are relative to PATH_site
Returns
string Returns the absolute filename of $filename if valid, otherwise blank string.

Definition at line 3889 of file GeneralUtility.php.

References TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extPath(), and TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded().

Referenced by TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\addItemsFromFolder(), TYPO3\CMS\Workspaces\Service\AdditionalResourceService\addLocalizationResource(), TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject\applyStandardWrapToFluidPaths(), TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\assertAssertionDataSet(), TYPO3\CMS\Rtehtmlarea\Extension\MicroDataSchema\buildJavascriptConfiguration(), TYPO3\CMS\Impexp\Import\checkOrCreateDir(), TYPO3\CMS\Scheduler\Task\RecyclerGarbageCollectionTask\cleanupRecycledFiles(), TYPO3\CMS\Core\DataHandling\DataHandler\copyRecord_flexFormCallBack(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_execute_type2(), TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility\determineUpdateClassName(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\execute(), TYPO3\CMS\Impexp\Export\export_addFile(), TYPO3\CMS\Impexp\Export\export_addFilesFromRelations(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getTSCE_config_image(), TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\extractIncludes(), TYPO3\CMS\IndexedSearch\Indexer\extractLinks(), TYPO3\CMS\Documentation\Service\DocumentationService\fetchDocument(), TYPO3\CMS\Core\Database\SoftReferenceIndex\fileadminReferences(), TYPO3\CMS\Core\Database\SoftReferenceIndex\findRef_images(), TYPO3\CMS\Core\Database\SoftReferenceIndex\findRef_TStemplate(), TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider\generateInlineMarkup(), TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider\generateMarkup(), TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider\generateMarkup(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\getAbsolutePath(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\getContentCssFileNames(), TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility\getDefaultConfigurationRawString(), TYPO3\CMS\Backend\Template\ModuleTemplate\getDynamicTabMenu(), TYPO3\CMS\Backend\Template\DocumentTemplate\getDynamicTabMenu(), TYPO3\CMS\Core\TypoScript\TemplateService\getFileName(), TYPO3\CMS\Backend\Utility\BackendUtility\getFlexFormDS(), TYPO3\CMS\Backend\Form\Wizard\ImageManipulationWizard\getFluidTemplateObject(), TYPO3\CMS\Backend\Controller\BackendController\getFluidTemplateObject(), TYPO3\CMS\Backend\Controller\PageLayoutController\getHeaderFlashMessagesForCurrentPid(), TYPO3\CMS\T3editor\Form\Element\T3editorElement\getHTMLCodeForEditor(), TYPO3\CMS\Backend\Template\DocumentTemplate\getHtmlTemplate(), TYPO3\CMS\Backend\Form\Utility\FormEngineUtility\getIconHtml(), TYPO3\CMS\Cshmanual\Domain\Repository\TableManualRepository\getImages(), TYPO3\CMS\Extensionmanager\ViewHelpers\ImageViewHelper\getImageUri(), TYPO3\CMS\Backend\Console\CliRequestHandler\getIncludeScriptByCommandLineKey(), TYPO3\CMS\Documentation\Service\DocumentationService\getLocalExtensions(), TYPO3\CMS\Documentation\Service\DocumentationService\getOfficialDocuments(), TYPO3\CMS\Core\Localization\Parser\LocallangXmlParser\getParsedData(), TYPO3\CMS\Core\Localization\Parser\AbstractXmlParser\getParsedData(), TYPO3\CMS\T3editor\T3editor\getPreparedTemplate(), TYPO3\CMS\Frontend\Http\EidRequestHandler\getPriority(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\getRegisteredFlexForms(), TYPO3\CMS\Backend\Utility\BackendUtility\getRegisteredFlexForms(), TYPO3\CMS\Cshmanual\Domain\Repository\TableManualRepository\getSeeAlsoLinks(), TYPO3\CMS\Core\Page\PageRenderer\getTemplateForPart(), TYPO3\CMS\Backend\Controller\LoginController\getUriForFileName(), TYPO3\CMS\Dbal\Database\DatabaseConnection\handler_init(), TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\importScenarioDataSet(), TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\includeDirectory(), TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\includeFile(), TYPO3\CMS\Backend\Controller\BackendController\includeLegacyBackendItems(), TYPO3\CMS\IndexedSearch\Indexer\indexRegularDocument(), TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController\init(), TYPO3\CMS\Core\Charset\CharsetConverter\initCaseFolding(), TYPO3\CMS\Core\Charset\CharsetConverter\initCharset(), TYPO3\CMS\Install\Controller\Action\AbstractAction\initializeHandle(), TYPO3\CMS\Core\Charset\CharsetConverter\initToASCII(), TYPO3\CMS\Core\Charset\CharsetConverter\initUnicodeData(), TYPO3\CMS\Backend\View\PageLayoutView\isDragAndDropAllowed(), TYPO3\CMS\Backend\Controller\LoginController\isLoginInProgress(), TYPO3\CMS\Core\Localization\Parser\LocallangArrayParser\isWithinWebRoot(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\linkWrapTemplateTitle(), TYPO3\CMS\Core\Page\PageRenderer\loadRequireJs(), TYPO3\CMS\Core\Localization\LocalizationFactory\localizationOverride(), TYPO3\CMS\Func\Controller\PageFunctionsController\main(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Lowlevel\DoubleFilesCommand\main_autoFix(), TYPO3\CMS\Lowlevel\LostFilesCommand\main_autoFix(), TYPO3\CMS\Lowlevel\RteImagesCommand\main_autoFix(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\makeItemTypeIcon(), TYPO3\CMS\IndexedSearch\Controller\SearchController\makeRating(), TYPO3\CMS\Lowlevel\View\ConfigurationView\menuConfig(), TYPO3\CMS\Core\Http\UploadedFile\moveTo(), TYPO3\CMS\Backend\Controller\EditDocumentController\openInNewWindowLink(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\pageErrorHandler(), TYPO3\CMS\Backend\Form\Container\AbstractContainer\previewFieldValue(), TYPO3\CMS\Impexp\Import\processSoftReferences_saveFile(), TYPO3\CMS\Impexp\Import\processSoftReferences_saveFile_createRelFile(), TYPO3\CMS\Backend\LoginProvider\UsernamePasswordLoginProvider\render(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\render_uploads(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\renderListMenu(), TYPO3\CMS\Fluid\ViewHelpers\Uri\ResourceViewHelper\renderStatic(), TYPO3\CMS\Backend\Form\Container\AbstractContainer\renderTabMenu(), TYPO3\CMS\Fluid\View\StandaloneView\resolveFileNamePath(), TYPO3\CMS\Fluid\View\TemplateView\resolveFileNamePath(), TYPO3\CMS\Workspaces\Service\AdditionalResourceService\resolvePath(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFlexFetch\resolvePossibleExternalFileInDataStructure(), TYPO3\CMS\Core\Resource\ResourceFactory\retrieveFileOrFolderObject(), TYPO3\CMS\Core\Html\RteHtmlParser\RTE_transform(), TYPO3\CMS\Core\Localization\LanguageStore\setConfiguration(), TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject\setLayoutRootPath(), TYPO3\CMS\Core\Log\Writer\FileWriter\setLogFile(), TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject\setPartialRootPath(), TYPO3\CMS\Core\Database\SoftReferenceIndex\setTypoLinkPartsElement(), TYPO3\CMS\Backend\Controller\EditDocumentController\shortCutLink(), TYPO3\CMS\Backend\Template\DocumentTemplate\startPage(), TYPO3\CMS\Documentation\Service\DocumentationService\unzipDocumentPackage(), TYPO3\CMS\Lang\Service\TerService\unzipTranslationFile(), TYPO3\CMS\Lang\Service\TerService\updateTranslation(), TYPO3\CMS\Fluid\Tests\Unit\Core\Widget\AbstractWidgetControllerTest\viewConfigurationCanBeOverriddenThroughFrameworkConfiguration(), and TYPO3\CMS\Impexp\Import\writeFileVerify().

◆ getFilesInDir()

static TYPO3\CMS\Core\Utility\GeneralUtility::getFilesInDir (   $path,
  $extensionList = '',
  $prependPath = false,
  $order = '',
  $excludePattern = '' 
)
static

Finds all files in a given path and returns them as an array. Each array key is a md5 hash of the full path to the file. This is done because 'some' extensions like the import/export extension depend on this.

Parameters
string$pathThe path to retrieve the files from.
string$extensionListA comma-separated list of file extensions. Only files of the specified types will be retrieved. When left blank, files of any type will be retrieved.
bool$prependPathIf TRUE, the full path to the file is returned. If FALSE only the file name is returned.
string$orderThe sorting order. The default sorting order is alphabetical. Setting $order to 'mtime' will sort the files by modification time.
string$excludePatternA regular expression pattern of file names to exclude. For example: 'clear.gif' or '(clear.gif|.htaccess)'. The pattern will be wrapped with: '/^' and '$/'.
Returns
array|string Array of the files found, or an error message in case the path could not be opened.

Definition at line 3041 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Backend\Template\DocumentTemplate\addStyleSheetDirectory(), TYPO3\CMS\Documentation\Domain\Repository\DocumentRepository\findAll(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getFilesInDirByExtensionDoesNotFindFilesWithOtherExtensions(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getFilesInDirByExtensionFindsFiles(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getFilesInDirCanOrderByMtime(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getFilesInDirCanPrependPath(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getFilesInDirDoesNotFindDirectories(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getFilesInDirDoesNotFindDotfiles(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getFilesInDirDoesSortAlphabeticallyByDefault(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getFilesInDirExcludesFilesMatchingPattern(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getFilesInDirFindsHiddenFile(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getFilesInDirFindsRegularFile(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getFilesInDirReturnsArrayWithMd5OfElementAndPathAsArrayKey(), TYPO3\CMS\Backend\Sprite\SpriteGenerator\getFolder(), TYPO3\CMS\Install\Controller\Action\Tool\CleanUp\getTypo3TempStatistics(), TYPO3\CMS\Backend\Sprite\AbstractSpriteHandler\loadRegisteredSprites(), TYPO3\CMS\Backend\Controller\BackendController\loadResourcesForRegisteredNavigationComponents(), and TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController\main_user().

◆ getHostname()

static TYPO3\CMS\Core\Utility\GeneralUtility::getHostname (   $requestHost = true)
static

Get the fully-qualified domain name of the host.

Parameters
bool$requestHostUse request host (when not in CLI mode).
Returns
string The fully-qualified host name.

Definition at line 3840 of file GeneralUtility.php.

References $host.

◆ getImplementationForClass()

static TYPO3\CMS\Core\Utility\GeneralUtility::getImplementationForClass (   $className)
staticprotected

Returns the configured implementation of the class

Parameters
string$className
Returns
string

Definition at line 4626 of file GeneralUtility.php.

References $GLOBALS.

◆ getIndpEnv()

static TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv (   $getEnvName)
static

Abstraction method which returns System Environment Variables regardless of server OS, CGI/MODULE version etc. Basically this is SERVER variables for most of them. This should be used instead of getEnv() and $_SERVER/ENV_VARS to get reliable values for all situations.

Parameters
string$getEnvNameName of the "environment variable"/"server variable" you wish to use. Valid values are SCRIPT_NAME, SCRIPT_FILENAME, REQUEST_URI, PATH_INFO, REMOTE_ADDR, REMOTE_HOST, HTTP_REFERER, HTTP_HOST, HTTP_USER_AGENT, HTTP_ACCEPT_LANGUAGE, QUERY_STRING, TYPO3_DOCUMENT_ROOT, TYPO3_HOST_ONLY, TYPO3_HOST_ONLY, TYPO3_REQUEST_HOST, TYPO3_REQUEST_URL, TYPO3_REQUEST_SCRIPT, TYPO3_REQUEST_DIR, TYPO3_SITE_URL, _ARRAY
Returns
string Value based on the input key, independent of server/os environment.
Exceptions

Definition at line 3394 of file GeneralUtility.php.

References $GLOBALS, $host, TYPO3\CMS\Core\Utility\GeneralUtility\dirname(), if, TYPO3\CMS\Core\Utility\PathUtility\stripPathSitePrefix(), and TYPO3\CMS\Core\Utility\GeneralUtility\strtolower().

Referenced by TYPO3\CMS\Install\View\StandaloneView\__construct(), TYPO3\CMS\Install\Service\SessionService\__construct(), TYPO3\CMS\Frontend\Http\RequestHandler\__construct(), TYPO3\CMS\Backend\Controller\LoginController\__construct(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\__construct(), TYPO3\CMS\Backend\Template\DocumentTemplate\addStyleSheetDirectory(), TYPO3\CMS\Version\Controller\VersionModuleController\adminLinks(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\allGetIndpEnvCallsRelatedToHostNamesCallIsAllowedHostHeaderValue(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\backendCheckLogin(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\beLoginLinkIPList(), TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder\buildBackendUri(), TYPO3\CMS\Rtehtmlarea\Controller\SelectImageController\buildImageMarkup(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3Link\buildJSClassesAnchorArray(), TYPO3\CMS\Fluid\Tests\Unit\Core\Widget\WidgetRequestBuilderTest\buildSetsBaseUri(), TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\RequestBuilderTest\buildSetsRequestBaseUri(), TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\RequestBuilderTest\buildSetsRequestRequestUri(), TYPO3\CMS\Fluid\Tests\Unit\Core\Widget\WidgetRequestBuilderTest\buildSetsRequestUri(), TYPO3\CMS\Backend\Routing\UriBuilder\buildUri(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\checkAlternativeIdMethods(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\checkAuthentication(), TYPO3\CMS\Backend\FrontendBackendUserAuthentication\checkBackendAccessSettingsFromInitPhp(), TYPO3\CMS\Core\Core\Bootstrap\checkBackendIpOrDie(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\checkisOnCurrentHostInvalidHosts(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\checkLockToIP(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\checkPageUnavailableHandler(), TYPO3\CMS\Core\Core\Bootstrap\checkSslBackendAndRedirectIfNeeded(), TYPO3\CMS\Core\Html\HtmlParser\checkTagTypeCounts(), TYPO3\CMS\Recordlist\RecordList\clearCache(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\clientInfo(), TYPO3\CMS\Fluid\Tests\Unit\View\StandaloneViewTest\constructorSetsBaseUri(), TYPO3\CMS\Fluid\Tests\Unit\View\StandaloneViewTest\constructorSetsRequestUri(), TYPO3\CMS\IndexedSearch\Indexer\createLocalPathUsingDomainURL(), TYPO3\CMS\Core\Resource\ResourceCompressor\createMergedFile(), TYPO3\CMS\Backend\Utility\BackendUtility\createPreviewUrl(), TYPO3\CMS\Backend\Http\Application\defineAdditionalEntryPointRelatedConstants(), TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser\determineScriptUrl(), TYPO3\CMS\Backend\RecordList\AbstractRecordList\determineScriptUrl(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\determineScriptUrl(), TYPO3\CMS\Backend\Tree\View\AbstractTreeView\determineScriptUrl(), TYPO3\CMS\Frontend\View\AdminPanelView\display(), TYPO3\CMS\Backend\History\RecordHistory\displaySettings(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\domainNameMatchesCurrentRequest(), TYPO3\CMS\Core\Error\DebugExceptionHandler\echoExceptionWeb(), TYPO3\CMS\Backend\Utility\BackendUtility\editOnClick(), TYPO3\CMS\Feedit\FrontendEditPanel\editPanel(), TYPO3\CMS\Rsaauth\RsaEncryptionEncoder\enableRsaEncryption(), TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher\evaluateConditionCommon(), TYPO3\CMS\Install\Controller\Action\Tool\LoadExtensions\executeAction(), TYPO3\CMS\Core\Database\DatabaseConnection\explain(), TYPO3\CMS\IndexedSearch\Tests\Unit\IndexerTest\extractHyperLinksRecurnsCorrectPathWithBaseUrl(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\fetch_the_id(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroups(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\findDomainRecord(), TYPO3\CMS\Core\Http\ServerRequestFactory\fromGlobals(), TYPO3\CMS\Workspaces\Controller\PreviewController\generateJavascript(), TYPO3\CMS\Backend\Controller\BackendController\generateJavascript(), TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest\genericGetVariablesSucceedsWithNamespaceIENV(), TYPO3\CMS\Backend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest\genericGetVariablesSucceedsWithNamespaceIENV(), TYPO3\CMS\Core\Utility\PathUtility\getAbsoluteWebPath(), TYPO3\CMS\SysAction\ActionTask\getActions(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\getAuthInfoArray(), TYPO3\CMS\Linkvalidator\Linktype\FileLinktype\getBrokenUrl(), TYPO3\CMS\Linkvalidator\Linktype\InternalLinktype\getBrokenUrl(), TYPO3\CMS\Backend\Controller\PageTreeNavigationController\getButtons(), TYPO3\CMS\Version\Controller\VersionModuleController\getButtons(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\getButtons(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\getCookieDomain(), TYPO3\CMS\Core\Messaging\AbstractStandaloneMessage\getDefaultMarkers(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getDeprecationLogStatus(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getEnvironmentVariable(), TYPO3\CMS\Core\ExtDirect\ExtDirectApi\getExtDirectApi(), TYPO3\CMS\Frontend\Page\PageRepository\getExtURL(), TYPO3\CMS\Extbase\Service\ImageService\getImageUri(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getIndpEnvForHostAllowsAllHostnameValuesIfHostPatternIsSetToAllowAll(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getIndpEnvForHostThrowsExceptionForNotAllowedHostnameValues(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getIndpEnvTypo3HostOnlyParsesHostnamesAndIpAdresses(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getIndpEnvTypo3PortParsesHostnamesAndIpAdresses(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getIndpEnvTypo3SitePathReturnNonEmptyString(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getIndpEnvTypo3SitePathReturnsStringEndingWithSlash(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getIndpEnvTypo3SitePathReturnsStringStartingWithDrive(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getIndpEnvTypo3SitePathReturnsStringStartingWithSlash(), TYPO3\CMS\Install\Report\SecurityStatusReport\getInstallToolProtectionStatus(), TYPO3\CMS\Recycler\Controller\RecyclerModuleController\getJavaScriptConfiguration(), TYPO3\CMS\Backend\Utility\BackendUtility\getLinkToDataHandlerAction(), TYPO3\CMS\Backend\Utility\BackendUtility\getPathType_web_nonweb(), TYPO3\CMS\Version\Hook\PreviewHook\getPreviewConfiguration(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\getRecordActions(), TYPO3\CMS\Reports\Report\Status\SystemStatus\getStatus(), TYPO3\CMS\Backend\ModuleSettings\getStoreControl(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Backend\Controller\LoginController\getUriForFileName(), TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher\getVariableCommon(), TYPO3\CMS\Backend\Http\RequestHandler\handleRequest(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\hashLockClause_getHashInt(), TYPO3\CMS\Workspaces\Hook\TypoScriptFrontendControllerHook\hook_eofe(), TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController\init(), TYPO3\CMS\Core\Utility\File\BasicFileUtility\init(), TYPO3\CMS\Workspaces\Controller\PreviewController\initializeAction(), TYPO3\CMS\Core\Core\Bootstrap\initializeErrorHandling(), TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController\initVariables(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\ipLockClause_remoteIPNumber(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\isInCurrentDomain(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\isOnCurrentHostReturnsTrueWithCurrentHost(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\isRelativeUrl(), TYPO3\CMS\Frontend\Page\PageGenerator\JSeventFunctions(), TYPO3\CMS\Backend\View\PageLayoutView\languageSelector(), TYPO3\CMS\Backend\View\PageLayoutView\linkEditContent(), TYPO3\CMS\IndexedSearch\Controller\SearchController\linkPage(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\linkPage(), TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder\loadDefaultValues(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\main(), TYPO3\CMS\Backend\Controller\Wizard\ListController\main(), TYPO3\CMS\Version\Controller\VersionModuleController\main(), TYPO3\CMS\Backend\Controller\Wizard\TableController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Backend\Controller\Wizard\AddController\mainAction(), TYPO3\CMS\Backend\Controller\PageLayoutController\makeButtons(), TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\makeRef(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\makeRefFrom(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeReturnUrl(), TYPO3\CMS\Backend\Template\ModuleTemplate\makeShortcutIcon(), TYPO3\CMS\Backend\Template\DocumentTemplate\makeShortcutIcon(), TYPO3\CMS\Backend\Utility\IconUtility\mapFileExtensionToSpriteIconName(), TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord_processFieldValue(), TYPO3\CMS\Backend\View\PageLayoutView\newContentElementOnClick(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\openInNewWindow(), TYPO3\CMS\Install\Controller\AbstractController\outputLoginFormIfNotAuthorized(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\pageErrorHandler(), TYPO3\CMS\Backend\View\PageLayoutView\pages_drawItem(), TYPO3\CMS\Backend\Template\DocumentTemplate\parseTime(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_getEditIcon(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_list_searchBox(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\prefixLocalAnchorsWithScript(), TYPO3\CMS\Backend\Controller\EditDocumentController\preInit(), TYPO3\CMS\Backend\Controller\FileSystemNavigationFrameController\printContent(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\printResultSectionLinks(), TYPO3\CMS\Backend\Controller\NewRecordController\regularNew(), TYPO3\CMS\Rtehtmlarea\Controller\AccessibilityLinkController\removeAccessibilityIcon(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\removeCookie(), TYPO3\CMS\Filelist\ViewHelpers\Uri\DeleteFileViewHelper\render(), TYPO3\CMS\Filelist\ViewHelpers\Uri\ReplaceFileViewHelper\render(), TYPO3\CMS\Filelist\ViewHelpers\Uri\RenameFileViewHelper\render(), TYPO3\CMS\Backend\LoginProvider\UsernamePasswordLoginProvider\render(), TYPO3\CMS\Filelist\ViewHelpers\Uri\EditFileContentViewHelper\render(), TYPO3\CMS\Beuser\ViewHelpers\IssueCommandViewHelper\render(), TYPO3\CMS\Belog\ViewHelpers\HistoryEntryViewHelper\render(), TYPO3\CMS\Beuser\ViewHelpers\RemoveUserViewHelper\render(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\render(), TYPO3\CMS\Core\Resource\Rendering\YouTubeRenderer\render(), TYPO3\CMS\Recordlist\Browser\FileBrowser\renderFilesInFolder(), TYPO3\CMS\Rtehtmlarea\ImageHandler\AddImageHandler\renderFilesInFolder(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\renderForeignRecordHeader(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\renderL10nTable(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListHeader(), TYPO3\CMS\SysNote\ViewHelpers\EditLinkViewHelper\renderStatic(), TYPO3\CMS\SysNote\ViewHelpers\DeleteLinkViewHelper\renderStatic(), TYPO3\CMS\Filelist\ViewHelpers\Uri\EditSysFileMetadataRecordViewHelper\renderStatic(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\resetUC(), TYPO3\CMS\Core\Resource\ResourceCompressor\returnFileReference(), TYPO3\CMS\Core\Html\RteHtmlParser\RTE_transform(), TYPO3\CMS\Backend\Controller\EditDocumentController\setDocument(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\setIDfromArgV(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\setSessionCookie(), TYPO3\CMS\Form\PostProcess\MailPostProcessor\setSubject(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\showAction(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\showLogin(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\simplelog(), TYPO3\CMS\Workspaces\Controller\ReviewController\singleIndexAction(), TYPO3\CMS\Core\Html\RteHtmlParser\siteUrl(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\start(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\tableRow(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\tempPageCacheContent(), TYPO3\CMS\Core\Html\RteHtmlParser\TS_images_rte(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader(), TYPO3\CMS\Felogin\Tests\Unit\Controller\FrontendLoginControllerTest\typo3SitePathEqualsStubSitePath(), TYPO3\CMS\Felogin\Tests\Unit\Controller\FrontendLoginControllerTest\typo3SitePathEqualsStubSitePathAfterChangingInTest(), TYPO3\CMS\Felogin\Tests\Unit\Controller\FrontendLoginControllerTest\typo3SiteUrlEqualsStubSiteUrl(), TYPO3\CMS\Felogin\Tests\Unit\Controller\FrontendLoginControllerTest\typo3SiteUrlEqualsStubSiteUrlAfterChangingInTest(), TYPO3\CMS\Version\Controller\VersionModuleController\versioningMgm(), TYPO3\CMS\Backend\Template\DocumentTemplate\viewPageIcon(), TYPO3\CMS\SysAction\ActionTask\viewRecordList(), TYPO3\CMS\SysAction\ActionTask\viewSqlQuery(), TYPO3\CMS\Core\Tests\Unit\Log\Processor\WebProcessorTest\webProcessorAddsWebDataToLogRecord(), TYPO3\CMS\Core\Error\AbstractExceptionHandler\writeLog(), TYPO3\CMS\Core\Error\ErrorHandler\writeLog(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\writelog(), TYPO3\CMS\Core\Error\AbstractExceptionHandler\writeLogEntries(), TYPO3\CMS\IndexedSearch\Controller\SearchController\writeSearchStat(), and TYPO3\CMS\IndexedSearch\Controller\SearchFormController\writeSearchStat().

◆ getMaximumPathLength()

static TYPO3\CMS\Core\Utility\GeneralUtility::getMaximumPathLength ( )
static

Retrieves the maximum path length that is valid in the current environment.

Returns
int The maximum available path length

Definition at line 3252 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend\setCache().

◆ getMaxUploadFileSize()

static TYPO3\CMS\Core\Utility\GeneralUtility::getMaxUploadFileSize ( )
static

Returns the maximum upload size for a file that is allowed. Measured in KB. This might be handy to find out the real upload limit that is possible for this TYPO3 installation.

Returns
int The maximum size of uploads that are allowed (measured in kilobytes)

Definition at line 3216 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Resource\ResourceStorage\assureFileUploadPermissions(), TYPO3\CMS\Filelist\Controller\FileListController\initializeIndexAction(), and TYPO3\CMS\Backend\Form\Container\InlineControlContainer\renderPossibleRecordsSelectorTypeGroupDB().

◆ getRandomHexString()

static TYPO3\CMS\Core\Utility\GeneralUtility::getRandomHexString (   $count)
static

◆ getRedirectUrlFromHttpHeaders()

static TYPO3\CMS\Core\Utility\GeneralUtility::getRedirectUrlFromHttpHeaders (   $content)
staticprotected

Parses HTTP headers and returns the content of the "Location" header or the empty string if no such header found.

Parameters
string$content
Returns
string

Definition at line 2670 of file GeneralUtility.php.

◆ getSingletonInstances()

static TYPO3\CMS\Core\Utility\GeneralUtility::getSingletonInstances ( )
static

Get all currently registered singletons

Warning: This is NOT a public API method and must not be used in own extensions! This method is usually only used in tests in setUp() to fetch the list of currently registered singletons, if this list is manipulated with setSingletonInstance() in tests.

Definition at line 4735 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getSingletonInstancesContainsPreviouslySetSingletonInstance(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\resetSingletonInstancesResetsPreviouslySetInstance(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\resetSingletonInstancesSetsGivenInstance(), TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest\resolveTemplatePathAndFilenameReturnsTheExplicitlyConfiguredTemplatePathAndFilename(), TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Resource\FileReferenceTest\setUp(), TYPO3\CMS\Extbase\Tests\Unit\Core\BootstrapTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Resource\FolderTest\setUp(), TYPO3\CMS\Extbase\Tests\Unit\Service\FlexFormServiceTest\setUp(), TYPO3\CMS\Scheduler\Tests\Unit\Task\CachingFrameworkGarbageCollectionTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Resource\FileTest\setUp(), TYPO3\CMS\Extensionmanager\Tests\Unit\Task\UpdateExtensionListTaskTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest\setUp(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaGroupTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\setUp(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaCheckboxItemsTest\setUp(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaRadioItemsTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Utility\ExtensionManagementUtilityTest\setUp(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaSelectItemsTest\setUp(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseSystemLanguageRowsTest\setUp(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaSelectTreeItemsTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Resource\Utility\FileExtensionFilterTest\setUp(), TYPO3\CMS\Core\Tests\Unit\DataHandler\DataHandlerTest\setUp(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\ContentObjectRendererTest\setUp(), TYPO3\CMS\Fluid\Tests\Unit\View\StandaloneViewTest\setUp(), and TYPO3\CMS\Core\Tests\Integrity\IntegrityTest\standardSingletonIsRegistered().

◆ getThisUrl()

static TYPO3\CMS\Core\Utility\GeneralUtility::getThisUrl ( )
static

Returns the HOST+DIR-PATH of the current script (The URL, but without 'http://' and without script-filename)

Returns
string
Deprecated:
since TYPO3 CMS 7, will be removed in CMS 8, use GeneralUtility::getIndpEnv* instead

Definition at line 3330 of file GeneralUtility.php.

◆ getUrl()

static TYPO3\CMS\Core\Utility\GeneralUtility::getUrl (   $url,
  $includeHeader = 0,
  $requestHeaders = false,
$report = null 
)
static

Reads the file or url $url and returns the content If you are having trouble with proxys when reading URLs you can configure your way out of that with settings like $GLOBALS['TYPO3_CONF_VARS']['SYS']['curlUse'] etc.

Parameters
string$urlFile/URL to read
int$includeHeaderWhether the HTTP header should be fetched or not. 0=disable, 1=fetch header+content, 2=fetch header only
array$requestHeadersHTTP headers to be used in the request
array$reportError code/message and, if $includeHeader is 1, response meta data (HTTP status and content type)
Returns
mixed The content from the resource given as input. FALSE if an error has occurred.

Definition at line 2450 of file GeneralUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\addExtensionStatics(), TYPO3\CMS\Rtehtmlarea\Extension\MicroDataSchema\buildJavascriptConfiguration(), TYPO3\CMS\Core\Core\Bootstrap\checkLockedBackendAndRedirectOrDie(), TYPO3\CMS\Lowlevel\CleanerCommand\cli_main(), TYPO3\CMS\Core\Resource\ResourceCompressor\compressCssFile(), TYPO3\CMS\Core\Resource\ResourceCompressor\compressJsFile(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\createExtLocalconfCacheEntry(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\createExtTablesCacheEntry(), TYPO3\CMS\Core\Resource\ResourceCompressor\createMergedFile(), TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility\determineUpdateClassName(), TYPO3\CMS\Impexp\Export\export_addFile(), TYPO3\CMS\Documentation\Service\DocumentationService\fetchDocument(), TYPO3\CMS\Extensionmanager\Utility\Connection\TerUtility\fetchExtension(), TYPO3\CMS\Extensionmanager\Utility\Repository\Helper\fetchFile(), TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate\fetchUrl(), TYPO3\CMS\Install\Service\CoreVersionService\fetchVersionMatrixFromRemote(), TYPO3\CMS\Core\TypoScript\TemplateService\fileContent(), TYPO3\CMS\Documentation\Service\DocumentationService\getAvailablePackages(), TYPO3\CMS\Extensionmanager\Controller\UploadExtensionFileController\getExtensionFromT3xFile(), TYPO3\CMS\Install\Controller\Action\Ajax\ExtensionCompatibilityTester\getExtensionsToExclude(), TYPO3\CMS\Backend\Utility\BackendUtility\getFlexFormDS(), TYPO3\CMS\T3editor\Form\Element\T3editorElement\getHTMLCodeForEditor(), TYPO3\CMS\Backend\Template\DocumentTemplate\getHtmlTemplate(), TYPO3\CMS\Install\Service\CoreUpdateService\getMessages(), TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\AbstractOEmbedHelper\getOEmbedData(), TYPO3\CMS\Documentation\Service\DocumentationService\getOfficialDocuments(), TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig(), TYPO3\CMS\T3editor\T3editor\getPreparedTemplate(), TYPO3\CMS\Version\Hook\PreviewHook\getPreviewConfiguration(), TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\YouTubeHelper\getPreviewImage(), TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\VimeoHelper\getPreviewImage(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\getRegisteredFlexForms(), TYPO3\CMS\Backend\Utility\BackendUtility\getRegisteredFlexForms(), TYPO3\CMS\Extensionmanager\Utility\InstallUtility\getSqlDataDumpForFile(), TYPO3\CMS\Install\Service\SqlExpectedSchemaService\getTablesDefinitionString(), TYPO3\CMS\Core\Page\PageRenderer\getTemplateForPart(), TYPO3\CMS\Core\TypoScript\TemplateService\getTypoScriptSourceFileContent(), TYPO3\CMS\Install\Updates\ExtensionManagerTables\getUpdateStatements(), TYPO3\CMS\Core\Html\RteHtmlParser\getUrl(), TYPO3\CMS\IndexedSearch\Indexer\getUrlHeaders(), TYPO3\CMS\Extensionmanager\Utility\InstallUtility\importStaticSqlFile(), TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\includeFile(), TYPO3\CMS\Core\TypoScript\TemplateService\includeStaticTypoScriptSources(), TYPO3\CMS\IndexedSearch\Indexer\indexExternalUrl(), TYPO3\CMS\Core\Charset\CharsetConverter\initCaseFolding(), TYPO3\CMS\Core\Charset\CharsetConverter\initCharset(), TYPO3\CMS\Core\Charset\CharsetConverter\initToASCII(), TYPO3\CMS\Core\Charset\CharsetConverter\initUnicodeData(), TYPO3\CMS\Extensionmanager\Utility\Repository\Helper\isExtListUpdateNecessary(), TYPO3\CMS\Impexp\Import\loadFile(), TYPO3\CMS\Backend\Controller\BackendController\loadResourcesForRegisteredNavigationComponents(), TYPO3\CMS\Install\Controller\Action\Ajax\ExtensionCompatibilityTester\logError(), TYPO3\CMS\Core\TypoScript\TemplateService\mergeConstantsFromIncludedTsConfigFiles(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\pageErrorHandler(), TYPO3\CMS\Install\Updates\ExtensionManagerTables\performUpdate(), TYPO3\CMS\Extensionmanager\Utility\InstallUtility\processDatabaseUpdates(), TYPO3\CMS\IndexedSearch\FileContentParser\readFileContent(), TYPO3\CMS\Install\Controller\Action\Ajax\ExtensionCompatibilityTester\removeCurrentExtensionFromFile(), TYPO3\CMS\Core\Messaging\AbstractStandaloneMessage\render(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFlexFetch\resolvePossibleExternalFileInDataStructure(), TYPO3\CMS\Core\Resource\ResourceCompressor\retrieveExternalFile(), TYPO3\CMS\Install\Controller\Action\Ajax\ExtensionCompatibilityTester\writeCurrentExtensionToFile(), and TYPO3\CMS\Impexp\Import\writeFileVerify().

◆ getUserObj()

static TYPO3\CMS\Core\Utility\GeneralUtility::getUserObj (   $classRef)
static

Creates and returns reference to a user defined object. This function can return an object reference if you like. Just prefix the function call with "&": "$objRef = &\TYPO3\CMS\Core\Utility\GeneralUtility::getUserObj('EXT:myext/class.tx_myext_myclass.php:&tx_myext_myclass');". This will work ONLY if you prefix the class name with "&" as well. See description of function arguments. Please note that the reference functionality is deprecated as of TYPO3 CMS 7, and will be removed with TYPO3 CMS 8, let the class use the SingletonInterface of TYPO3 instead.

Todo:
Deprecate the whole method in several steps:
  1. Deprecated singleton pattern, (will be removed in TYPO3 CMS 8)
  2. Deprecate file prefix/ require file,
  3. Deprecate usage without valid class name.
  4. The last step should be to deprecate the method itself.
Parameters
string$classRefClass reference, '[file-reference":"]["&"]class-name'. You can prefix the class name with "[file-reference]:" and ::getFileAbsFileName() will then be used to resolve the filename and subsequently include it by "require_once()" which means you don't have to worry about including the class file either! Example: "EXT:realurl/class.tx_realurl.php:&tx_realurl". Finally; for the class name you can prefix it with "&" and you will reuse the previous instance of the object identified by the full reference string (meaning; if you ask for the same $classRef later in another place in the code you will get a reference to the first created one!).
Returns
object The instance of the class asked for. Instance is created with ::makeInstance
See also
callUserFunction()

Definition at line 4458 of file GeneralUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Backend\ToolbarItems\ClearCacheToolbarItem\__construct(), TYPO3\CMS\SysAction\ActionTask\__construct(), TYPO3\CMS\Linkvalidator\LinkAnalyzer\__construct(), TYPO3\CMS\Core\DataHandling\DataHandler\applyFiltersToValues(), TYPO3\CMS\Saltedpasswords\Utility\ExtensionManagerConfigurationUtility\buildHashMethodSelector(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex_procInData_travDS(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForFlex(), TYPO3\CMS\Lowlevel\CleanerCommand\cli_main(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\cObjGet(), TYPO3\CMS\Core\Database\DatabaseConnection\connectDB(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_execute(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_init(), TYPO3\CMS\Frontend\Hooks\MediaItemHooks\customMediaParams(), TYPO3\CMS\Frontend\Hooks\MediaItemHooks\customMediaRenderTypes(), TYPO3\CMS\Core\DataHandling\DataHandler\deleteAction(), TYPO3\CMS\Saltedpasswords\Salt\SaltFactory\determineSaltingHashingMethod(), TYPO3\CMS\Frontend\View\AdminPanelView\display(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\displayEditIcons(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\displayEditPanel(), TYPO3\CMS\Core\Controller\FileDumpController\dumpAction(), TYPO3\CMS\Core\Core\Bootstrap\executeExtTablesAdditionalFile(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroups(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\filterMenuPages(), TYPO3\CMS\Core\ExtDirect\ExtDirectApi\generateAPI(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\generatePage_postProcessing(), TYPO3\CMS\Core\DataHandling\DataHandler\getCheckModifyAccessListHookObjects(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getData(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getDocHeaderButtons(), TYPO3\CMS\Backend\Utility\BackendUtility\getFlexFormDS(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getGetImgResourceHookObjects(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getImageSourceCollection(), TYPO3\CMS\Reports\Report\Status\SystemStatus\getMissingPhpModulesOfExtensions(), TYPO3\CMS\Frontend\Page\PageRepository\getPage(), TYPO3\CMS\Frontend\Page\PageRepository\getPagesOverlay(), TYPO3\CMS\Frontend\Page\PageRepository\getRecordOverlay(), TYPO3\CMS\Saltedpasswords\Salt\SaltFactory\getSaltingInstance(), TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getStageActions(), TYPO3\CMS\Rsaauth\Storage\StorageFactory\getStorage(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\handleDataSubmission(), TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository\hookRequest(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\hookRequest(), TYPO3\CMS\IndexedSearch\Controller\SearchController\hookRequest(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\hookRequest(), TYPO3\CMS\Aboutmodules\Controller\ModulesController\indexAction(), TYPO3\CMS\IndexedSearch\Indexer\init(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\initHookObjects(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\initialize(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\initialize(), TYPO3\CMS\IndexedSearch\Indexer\initializeExternalParsers(), TYPO3\CMS\IndexedSearch\Controller\SearchController\initializeExternalParsers(), TYPO3\CMS\Backend\FrontendBackendUserAuthentication\initializeFrontendEdit(), TYPO3\CMS\Backend\View\PageLayoutView\isDragAndDropAllowed(), TYPO3\CMS\Lowlevel\RteImagesCommand\main(), TYPO3\CMS\Recordlist\Controller\ElementBrowserController\main(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\main(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\main(), TYPO3\CMS\Rtehtmlarea\Controller\ParseHtmlController\main_parse_html(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeClip(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Filelist\FileList\makeEdit(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\makeQueryArray(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\makeStatusLabel(), TYPO3\CMS\Core\Imaging\IconFactory\mapRecordTypeToOverlayIdentifier(), TYPO3\CMS\Core\DataHandling\DataHandler\moveRecord(), TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord_processFieldValue(), TYPO3\CMS\Core\DataHandling\DataHandler\moveRecord_raw(), TYPO3\CMS\Core\Utility\File\ExtendedFileUtility\processData(), TYPO3\CMS\Core\ExtDirect\ExtDirectRouter\processRpc(), TYPO3\CMS\IndexedSearch\Controller\SearchController\procSearchWordsByLexer(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\realPageCacheContent(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListHeader(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\resolveMixedLinkParameter(), TYPO3\CMS\Core\Html\RteHtmlParser\RTE_transform(), TYPO3\CMS\Backend\Utility\BackendUtility\RTEgetObj(), TYPO3\CMS\Saltedpasswords\Salt\SaltFactory\setPreferredHashingMethod(), TYPO3\CMS\Backend\Utility\BackendUtility\softRefParserObj(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\start(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\toggleDisableAction(), TYPO3\CMS\Core\Html\RteHtmlParser\TS_links_db(), TYPO3\CMS\Core\Html\RteHtmlParser\TS_links_rte(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawFooter(), TYPO3\CMS\Backend\Utility\BackendUtility\viewOnClick(), and TYPO3\CMS\IndexedSearch\Controller\AdministrationController\wordDetailAction().

◆ gif_compress()

static TYPO3\CMS\Core\Utility\GeneralUtility::gif_compress (   $theFile,
  $type 
)
static

Compressing a GIF file if not already LZW compressed. This function is a workaround for the fact that ImageMagick and/or GD does not compress GIF-files to their minimun size (that is RLE or no compression used)

The function takes a file-reference, $theFile, and saves it again through GD or ImageMagick in order to compress the file GIF: If $type is not set, the compression is done with ImageMagick (provided that $GLOBALS['TYPO3_CONF_VARS']['GFX']['im_path_lzw'] is pointing to the path of a lzw-enabled version of 'convert') else with GD (should be RLE-enabled!) If $type is set to either 'IM' or 'GD' the compression is done with ImageMagick and GD respectively PNG: No changes.

$theFile is expected to be a valid GIF-file! The function returns a code for the operation.

Parameters
string$theFileFilepath
string$typeSee description of function
Returns
string Returns "GD" if GD was used, otherwise "IM" if ImageMagick was used. If nothing done at all, it returns empty string.
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8. Use ::gifCompress() instead.

Definition at line 280 of file GeneralUtility.php.

References TYPO3\CMS\Core\Imaging\GraphicalFunctions\gifCompress().

◆ hideIfDefaultLanguage()

static TYPO3\CMS\Core\Utility\GeneralUtility::hideIfDefaultLanguage (   $localizationConfiguration)
static

◆ hideIfNotTranslated()

static TYPO3\CMS\Core\Utility\GeneralUtility::hideIfNotTranslated (   $l18n_cfg_fieldValue)
static

Responds on input localization setting value whether the page it comes from should be hidden if no translation exists or not.

Parameters
int$l18n_cfg_fieldValueValue from "l18n_cfg" field of a page record
Returns
bool TRUE if the page should be hidden

Definition at line 4191 of file GeneralUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\filterMenuPages(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\isSubMenu(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForLanguageMenu(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\renderL10nTable(), and TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\settingLanguage().

◆ hmac()

static TYPO3\CMS\Core\Utility\GeneralUtility::hmac (   $input,
  $additionalSecret = '' 
)
static

Returns a proper HMAC on a given input string and secret TYPO3 encryption key.

Parameters
string$inputInput string to create HMAC from
string$additionalSecretadditionalSecret to prevent hmac beeing used in a different context
Returns
string resulting (hexadecimal) HMAC currently with a length of 40 (HMAC-SHA-1)

Definition at line 795 of file GeneralUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Controller\BackendLayoutWizardController\__construct(), TYPO3\CMS\Backend\Form\Container\InlineControlContainer\__construct(), TYPO3\CMS\Backend\Controller\FormInlineAjaxController\addFlexFormDataStructurePointersFromAjaxContext(), TYPO3\CMS\Backend\Controller\LinkBrowserController\areFieldChangeFunctionsValid(), TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController\areFieldChangeFunctionsValid(), TYPO3\CMS\Core\Controller\FileDumpController\dumpAction(), TYPO3\CMS\Core\FormProtection\AbstractFormProtection\generateToken(), TYPO3\CMS\Backend\Controller\LinkBrowserController\getBodyTagAttributes(), TYPO3\CMS\Backend\Tests\Functional\Controller\FormInlineAjaxControllerTest\getContext(), TYPO3\CMS\Core\Log\Writer\FileWriter\getDefaultLogFileName(), TYPO3\CMS\Core\Resource\ResourceStorage\getPublicUrl(), TYPO3\CMS\Install\Service\SessionService\getSessionSavePath(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\hmacReturnsEqualHashesForEqualInput(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\hmacReturnsHashOfProperLength(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\hmacReturnsNoEqualHashesForNonEqualInput(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\imageLinkWrap(), TYPO3\CMS\Backend\Controller\FileSystemNavigationFrameController\init(), TYPO3\CMS\Frontend\Controller\ShowImageController\initialize(), TYPO3\CMS\Backend\Form\InlineStackProcessor\injectAjaxConfiguration(), TYPO3\CMS\Backend\Form\Wizard\ImageManipulationWizard\isValidToken(), TYPO3\CMS\Core\Page\PageRenderer\loadRequireJs(), TYPO3\CMS\Backend\Tree\View\FolderTreeView\PMiconATagWrap(), TYPO3\CMS\Backend\Form\Element\ImageManipulationElement\render(), TYPO3\CMS\Core\Tests\Unit\FormProtection\InstallToolFormProtectionTest\tokenFromSessionDataIsAvailableForValidateToken(), TYPO3\CMS\Core\Tests\Unit\FormProtection\BackendFormProtectionTest\tokenFromSessionDataIsAvailableForValidateToken(), and TYPO3\CMS\Core\FormProtection\AbstractFormProtection\validateToken().

◆ hostHeaderValueMatchesTrustedHostsPattern()

static TYPO3\CMS\Core\Utility\GeneralUtility::hostHeaderValueMatchesTrustedHostsPattern (   $hostHeaderValue)
static

Checks if the provided host header value matches the trusted hosts pattern without any preprocessing.

Parameters
string$hostHeaderValue
Returns
bool

Definition at line 3723 of file GeneralUtility.php.

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

Referenced by TYPO3\CMS\Install\SystemEnvironment\Check\checkTrustedHostPattern(), and TYPO3\CMS\Install\Controller\StepController\redirectToTool().

◆ idnaEncode()

static TYPO3\CMS\Core\Utility\GeneralUtility::idnaEncode (   $value)
static

Returns an ASCII string (punicode) representation of $value

Parameters
string$value
Returns
string An ASCII encoded (punicode) string

Definition at line 1312 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_input_Eval(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\detectLinkTypeFromLinkParameter(), and TYPO3\CMS\Core\Mail\MailMessage\idnaEncodeAddress().

◆ imageMagickCommand()

static TYPO3\CMS\Core\Utility\GeneralUtility::imageMagickCommand (   $command,
  $parameters,
  $path = '' 
)
static

Compile the command for running ImageMagick/GraphicsMagick.

Parameters
string$commandCommand to be run: identify, convert or combine/composite
string$parametersThe parameters string
string$pathOverride the default path (e.g. used by the install tool)
Returns
string Compiled command that deals with IM6 & GraphicsMagick

Definition at line 5341 of file GeneralUtility.php.

References TYPO3\CMS\Core\Utility\CommandUtility\imageMagickCommand().

Referenced by TYPO3\CMS\Core\Imaging\GraphicalFunctions\combineExec(), TYPO3\CMS\Core\Resource\Processing\LocalPreviewHelper\getTemporaryFilePath(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\gifCompress(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\imageMagickExec(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\imageMagickIdentify(), TYPO3\CMS\Backend\View\ThumbnailView\main(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\readPngGif(), and TYPO3\CMS\Core\Resource\OnlineMedia\Processing\PreviewProcessing\resizeImage().

◆ implodeArrayForUrl()

static TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl (   $name,
array  $theArray,
  $str = '',
  $skipBlank = false,
  $rawurlencodeParamName = false 
)
static

Implodes a multidim-array into GET-parameters (eg. &param[key][key2]=value2&param[key][key3]=value3)

Parameters
string$nameName prefix for entries. Set to blank if you wish none.
array$theArrayThe (multidimensional) array to implode
string$str(keep blank)
bool$skipBlankIf set, parameters which were blank strings would be removed.
bool$rawurlencodeParamNameIf set, the param name itself (for example "param[key][key2]") would be rawurlencoded as well.
Returns
string Imploded result, fx. &param[key][key2]=value2&param[key][key3]=value3
See also
explodeUrl2Array()

Definition at line 1628 of file GeneralUtility.php.

Referenced by TYPO3\CMS\IndexedSearch\Indexer\backend_initIndexer(), TYPO3\CMS\Backend\Utility\BackendUtility\buildScriptUrl(), TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder\buildTypolinkConfiguration(), TYPO3\CMS\Backend\Routing\UriBuilder\buildUri(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\calculateLinkVars(), TYPO3\CMS\Backend\Controller\EditDocumentController\compileStoreDat(), TYPO3\CMS\Recordlist\View\FolderUtilityRenderer\createFolder(), TYPO3\CMS\Backend\Controller\EditDocumentController\doProcessData(), TYPO3\CMS\Backend\Controller\EditDocumentController\generatePreviewCode(), TYPO3\CMS\Workspaces\Service\WorkspaceService\generateWorkspacePreviewLink(), TYPO3\CMS\Backend\Controller\LinkBrowserController\getBodyTagAttributes(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\getBodyTagAttributes(), TYPO3\CMS\Recordlist\Browser\FileBrowser\getBulkSelector(), TYPO3\CMS\Rtehtmlarea\ImageHandler\AddImageHandler\getBulkSelector(), TYPO3\CMS\Recordlist\View\FolderUtilityRenderer\getFileSearchField(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\getPreserveGetVars(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getQueryArguments(), TYPO3\CMS\Backend\Template\DocumentTemplate\getTabMenu(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getTypoLink(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\implodeArrayForUrlBuildsValidParameterString(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\implodeArrayForUrlCanSkipEmptyParameters(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\implodeArrayForUrlCanUrlEncodeKeyNames(), TYPO3\CMS\Backend\Controller\EditDocumentController\init(), TYPO3\CMS\Workspaces\Controller\PreviewController\initializeAction(), TYPO3\CMS\Core\TypoScript\TemplateService\linkData(), TYPO3\CMS\IndexedSearch\Controller\SearchController\linkPage(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\linkPage(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\makeCacheHash(), TYPO3\CMS\Backend\Template\ModuleTemplate\makeShortcutUrl(), TYPO3\CMS\Backend\Template\DocumentTemplate\makeShortcutUrl(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_linkTP(), TYPO3\CMS\Backend\Tree\View\ElementBrowserFolderTreeView\PM_ATagWrap(), TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView\PM_ATagWrap(), TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView\printTree(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\removeInvalidElements(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\renderCurrentUrl(), TYPO3\CMS\Recordlist\View\FolderUtilityRenderer\uploadForm(), TYPO3\CMS\Backend\Tree\View\ElementBrowserFolderTreeView\wrapIcon(), TYPO3\CMS\Recordlist\Tree\View\ElementBrowserPageTreeView\wrapTitle(), and TYPO3\CMS\Backend\Tree\View\ElementBrowserFolderTreeView\wrapTitle().

◆ implodeAttributes()

static TYPO3\CMS\Core\Utility\GeneralUtility::implodeAttributes ( array  $arr,
  $xhtmlSafe = false,
  $dontOmitBlankAttribs = false 
)
static

Implodes attributes in the array $arr for an attribute list in eg. and HTML tag (with quotes)

Parameters
array$arrArray with attribute key/value pairs, eg. "bgcolor"=>"red", "border"=>0
bool$xhtmlSafeIf set the resulting attribute list will have a) all attributes in lowercase (and duplicates weeded out, first entry taking precedence) and b) all values htmlspecialchar()'ed. It is recommended to use this switch!
bool$dontOmitBlankAttribsIf TRUE, don't check if values are blank. Default is to omit attributes with blank values.
Returns
string Imploded attributes, eg. 'bgcolor="red" border="0"'

Definition at line 1937 of file GeneralUtility.php.

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

Referenced by TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\addParams(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\encaps_lineSplit(), TYPO3\CMS\Frontend\Page\PageGenerator\JSeventFunctions(), TYPO3\CMS\Rtehtmlarea\Controller\CustomAttributeController\render_clickenlarge(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\render_table(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\render_uploads(), TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController\renderImageAttributes(), TYPO3\CMS\Core\Html\RteHtmlParser\RTE_transform(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\setATagParts(), TYPO3\CMS\Core\Html\RteHtmlParser\transformStyledATags(), TYPO3\CMS\Core\Html\RteHtmlParser\TS_AtagToAbs(), TYPO3\CMS\Core\Html\RteHtmlParser\TS_images_rte(), TYPO3\CMS\Core\Html\RteHtmlParser\TS_links_db(), TYPO3\CMS\Core\Html\RteHtmlParser\TS_reglinks(), TYPO3\CMS\Backend\Utility\BackendUtility\wrapClickMenuOnIcon(), TYPO3\CMS\Backend\View\PageTreeView\wrapTitle(), and TYPO3\CMS\Backend\Tree\View\FolderTreeView\wrapTitle().

◆ inArray()

static TYPO3\CMS\Core\Utility\GeneralUtility::inArray ( array  $in_array,
  $item 
)
static

Check if an string item exists in an array. Please note that the order of function parameters is reverse compared to the PHP function in_array()!!!

Comparison to PHP in_array(): -> $array = array(0, 1, 2, 3); -> variant_a := ::inArray($array, $needle) -> variant_b := in_array($needle, $array) -> variant_c := in_array($needle, $array, TRUE) +------—+--------—+--------—+--------—+ | $needle | variant_a | variant_b | variant_c | +------—+--------—+--------—+--------—+ | '1a' | FALSE | TRUE | FALSE | | '' | FALSE | TRUE | FALSE | | '0' | TRUE | TRUE | FALSE | | 0 | TRUE | TRUE | TRUE | +------—+--------—+--------—+--------—+

Parameters
array$in_arrayOne-dimensional array of items
string$itemItem to check for
Returns
bool TRUE if $item is in the one-dimensional array $in_array
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8 - use ArrayUtility::inArray() instead

Definition at line 1467 of file GeneralUtility.php.

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

◆ initSysLog()

static TYPO3\CMS\Core\Utility\GeneralUtility::initSysLog ( )
static

◆ inList()

static TYPO3\CMS\Core\Utility\GeneralUtility::inList (   $list,
  $item 
)
static

Check for item in list Check if an item exists in a comma-separated list of items.

Parameters
string$listComma-separated list of items (string)
string$itemItem to check for
Returns
bool TRUE if $item is in $list

Definition at line 697 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\_parseFunc(), TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDefaultValues\addData(), TYPO3\CMS\Backend\Tree\View\AbstractTreeView\addField(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\addItemsFromFolder(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addModule(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\addParams(), TYPO3\CMS\Core\Category\CategoryRegistry\addTcaColumn(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addToAllTCAtypes(), TYPO3\CMS\Backend\Controller\UserSettingsController\addToList(), TYPO3\CMS\Backend\Utility\BackendUtility\blindUserNames(), TYPO3\CMS\Rtehtmlarea\Extension\SelectFont\buildJSFontItemsConfig(), TYPO3\CMS\Frontend\Imaging\GifBuilder\calcOffset(), TYPO3\CMS\Workspaces\Service\WorkspaceService\canCreatePreviewLink(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\check(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\checkAuthMode(), TYPO3\CMS\Core\Resource\ResourceStorage\checkFileExtensionPermission(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\checkIf(), TYPO3\CMS\Backend\Module\ModuleLoader\checkModWorkspace(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_SW(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\checkWorkspace(), TYPO3\CMS\Core\DataHandling\DataHandler\compareFieldArrayWithCurrentAndUnset(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\copyImageOntoImage(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\DBgetInsert(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\DBgetUpdate(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\DBmayFEUserEdit(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\enableDisableItems(), TYPO3\CMS\Frontend\Configuration\TypoScript\ConditionMatching\ConditionMatcher\evaluateCondition(), TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher\evaluateCondition(), TYPO3\CMS\Impexp\Export\export_addFile(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_procesInput(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroups(), TYPO3\CMS\Workspaces\Service\StagesService\fetchGroupsRecursive(), TYPO3\CMS\Rtehtmlarea\ImageHandler\AddImageHandler\fileIsSelectableInFileList(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\filelist(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\filterMenuPages(), TYPO3\CMS\Backend\Controller\File\FileController\flattenResultDataValue(), TYPO3\CMS\Core\Utility\File\ExtendedFileUtility\func_edit(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\func_search(), TYPO3\CMS\Frontend\ContentObject\Menu\JavaScriptMenuContentObject\generate_level(), TYPO3\CMS\Backend\Form\Element\SelectTreeElement\generateJavascript(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\generateList(), TYPO3\CMS\Backend\View\PageLayoutView\generateTtContentDataArray(), TYPO3\CMS\Install\Service\SqlSchemaMigrationService\getDatabaseExtra(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getDocHeaderButtons(), TYPO3\CMS\Install\Controller\Action\Tool\TestSetup\getEmailSubject(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\getImageDimensions(), TYPO3\CMS\Filelist\FileFacade\getIsEditable(), TYPO3\CMS\Filelist\FileFacade\getIsImage(), TYPO3\CMS\Backend\Utility\BackendUtility\getModuleData(), TYPO3\CMS\Backend\Utility\BackendUtility\getNoRecordTitle(), TYPO3\CMS\Extensionmanager\Utility\Parser\XmlParserFactory\getParserInstance(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaRecordTitle\getRecordTitleForInputType(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordWSOL(), TYPO3\CMS\Core\TypoScript\TemplateService\getRootlineLevel(), TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getStageActions(), TYPO3\CMS\Sv\AuthenticationService\getSubGroups(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Impexp\Controller\ImportExportController\getTableSelectOptions(), TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider\getTableWhere(), TYPO3\CMS\Core\Resource\Processing\LocalPreviewHelper\getTemporaryFilePath(), TYPO3\CMS\SysAction\ActionTask\getUsergroups(), TYPO3\CMS\Core\DataHandling\DataHandler\getVersionizedIncomingFieldArray(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getWhere(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\hashLockClause_getHashInt(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\imageMagickConvert(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\initialize(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\inListForItemContainedReturnsTrue(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\inListForItemNotContainedReturnsFalse(), TYPO3\CMS\Core\Utility\File\BasicFileUtility\is_allowed(), TYPO3\CMS\Core\Tree\TableConfiguration\AbstractTableConfigurationTreeDataProvider\isExpanded(), TYPO3\CMS\Filelist\FileList\isImage(), TYPO3\CMS\Scheduler\CronCommand\CronCommand\isInCommandList(), TYPO3\CMS\Filelist\FileList\isMediaFile(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\isMemberOfGroup(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\isSubMenu(), TYPO3\CMS\Backend\Controller\NewRecordController\isTableAllowedForThisPage(), TYPO3\CMS\Rtehtmlarea\Controller\ParseHtmlController\keepSpanTagsWithId(), TYPO3\CMS\Core\Tests\Unit\Collection\RecordCollectionRepositoryTest\limitRecordFields(), TYPO3\CMS\SysAction\ActionList\listURL(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\mailto_makelinks(), TYPO3\CMS\Backend\Controller\File\EditFileController\main(), TYPO3\CMS\Backend\View\ThumbnailView\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\makeActionMenu(), TYPO3\CMS\Filelist\FileList\makeEdit(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\makeMenu(), TYPO3\CMS\Core\Database\QueryGenerator\makeOptionList(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\makeQuerySearchByTable(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\makeSearchString(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\maskImageOntoImage(), TYPO3\CMS\Backend\Form\FormDataProvider\EvaluateDisplayConditions\matchFieldCondition(), TYPO3\CMS\Backend\Module\BaseScriptClass\mergeExternalItems(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\modAccess(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_exec_query(), TYPO3\CMS\Backend\Clipboard\Clipboard\printContentFromTab(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printFileClickMenu(), TYPO3\CMS\Core\TypoScript\TemplateService\processTemplate(), TYPO3\CMS\Backend\Controller\UserSettingsController\removeFromList(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\removeItemsByDoktypeUserRestriction(), TYPO3\CMS\Backend\Form\Container\FlexFormElementContainer\render(), TYPO3\CMS\Backend\Form\Element\ImageManipulationElement\render(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\render(), TYPO3\CMS\Core\Resource\Hook\FileInfoHook\renderFileInformationContent(), TYPO3\CMS\Recordlist\Browser\FileBrowser\renderFilesInFolder(), TYPO3\CMS\Rtehtmlarea\ImageHandler\AddImageHandler\renderFilesInFolder(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\renderPageTitle(), TYPO3\CMS\Workspaces\Service\StagesService\resolveBackendUserIds(), TYPO3\CMS\Setup\Controller\SetupModuleController\setAvatarFileUid(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\showLogin(), TYPO3\CMS\Backend\Utility\BackendUtility\titleAltAttrib(), TYPO3\CMS\Core\Html\RteHtmlParser\TS_transform_rte(), and TYPO3\CMS\Core\Authentication\BackendUserAuthentication\workspaceCheckStageForCurrent().

◆ instantiateClass()

static TYPO3\CMS\Core\Utility\GeneralUtility::instantiateClass (   $className,
  $arguments 
)
staticprotected

Speed optimized alternative to ReflectionClass::newInstanceArgs()

Parameters
string$classNameName of the class to instantiate
array$argumentsArguments passed to self::makeInstance() thus the first one with index 0 holds the requested class name
Returns
mixed

Definition at line 4562 of file GeneralUtility.php.

◆ intExplode()

static TYPO3\CMS\Core\Utility\GeneralUtility::intExplode (   $delimiter,
  $string,
  $removeEmptyValues = false,
  $limit = 0 
)
static

Explodes a $string delimited by $delim and casts each item in the array to (int). Corresponds to ::trimExplode(), but with conversion to integers for all values.

Parameters
string$delimiterDelimiter string to explode with
string$stringThe string to explode
bool$removeEmptyValuesIf set, all empty values (='') will NOT be set in output
int$limitIf positive, the result will contain a maximum of limit elements,
Returns
array Exploded values, all converted to integers

Definition at line 1483 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Imaging\GraphicalFunctions\adjust(), TYPO3\CMS\Rtehtmlarea\Extension\Abbreviation\buildJSAbbreviationArray(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\calcTextCordsForMap(), TYPO3\CMS\Core\Database\QueryGenerator\cleanInputVal(), TYPO3\CMS\Core\Database\DatabaseConnection\cleanIntList(), TYPO3\CMS\Frontend\ContentObject\Menu\CategoryMenuUtility\collectPages(), TYPO3\CMS\Frontend\ContentObject\RecordsContentObject\collectRecordsFromCategories(), TYPO3\CMS\Core\Utility\VersionNumberUtility\convertVersionStringToArray(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\copyGifOntoGif(), TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory\create(), TYPO3\CMS\Backend\Utility\BackendUtility\createPreviewUrl(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\crop(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\DBmayFEUserEditSelect(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\determineStoragePageIdForNewRecord(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\doSearch(), TYPO3\CMS\Dbal\Database\DatabaseConnection\exec_SELECTquery(), TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository\execFinalQuery(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\execFinalQuery(), TYPO3\CMS\Dbal\Database\AdodbPreparedStatement\execute(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getTypeData(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroups(), TYPO3\CMS\Workspaces\Service\StagesService\fetchGroupsRecursive(), TYPO3\CMS\Frontend\ContentObject\FilesContentObject\findAndSortFiles(), TYPO3\CMS\SysNote\Domain\Repository\SysNoteRepository\findByPidsAndAuthor(), TYPO3\CMS\FluidStyledContent\ViewHelpers\Menu\SectionViewHelper\findBySection(), TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject\findLargestDims(), TYPO3\CMS\Frontend\ContentObject\Menu\ImageMenuContentObject\generate(), TYPO3\CMS\Backend\Controller\BackendController\generateJavascript(), TYPO3\CMS\IndexedSearch\Controller\SearchController\getAllAvailableIndexConfigurationsOptions(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\getBannedUids(), TYPO3\CMS\Backend\Controller\NewRecordController\getButtons(), TYPO3\CMS\Backend\Controller\EditDocumentController\getButtons(), TYPO3\CMS\Extbase\Configuration\AbstractConfigurationManager\getConfiguration(), TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper\getConstraint(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getFileMountRecords(), TYPO3\CMS\Linkvalidator\LinkAnalyzer\getLinkStatistics(), TYPO3\CMS\Workspaces\Service\WorkspaceService\getMoveToPlaceHolderFromPages(), TYPO3\CMS\Frontend\Page\PageRepository\getMultipleGroupsWhereClause(), TYPO3\CMS\Core\Utility\VersionNumberUtility\getNumericTypo3Version(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getPageShortcut(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getQuery(), TYPO3\CMS\Dbal\Database\DatabaseConnection\getQueryComponents(), TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager\getRecursiveStoragePids(), TYPO3\CMS\Extbase\Configuration\FrontendConfigurationManager\getRecursiveStoragePids(), TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider\getRelatedRecords(), TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository\getSearchRootPageIdList(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getSlidePids(), TYPO3\CMS\Sv\AuthenticationService\getSubGroups(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getWhere(), TYPO3\CMS\Backend\Tree\Pagetree\DataProvider\getWhereClause(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\imageLinkWrap(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\IMparams(), TYPO3\CMS\Core\TypoScript\TemplateService\includeStaticTypoScriptSources(), TYPO3\CMS\Backend\Controller\EditDocumentController\init(), TYPO3\CMS\IndexedSearch\Controller\SearchController\initialize(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\initialize(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\initializeDbMountpointsInWorkspace(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\intExplodeConvertsStringsToInteger(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\makeBox(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\makeEllipse(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\makeEmboss(), TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject\makeGifs(), TYPO3\CMS\Core\Database\QueryGenerator\makeSelectorTable(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\makeShadow(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\objPosition(), TYPO3\CMS\Core\Utility\RootlineUtility\parseMountPointParameter(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForBrowseMenu(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForDirectoryMenu(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForKeywordsMenu(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForLanguageMenu(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForUpdatedMenu(), TYPO3\CMS\Frontend\DataProcessing\SplitProcessor\process(), TYPO3\CMS\Core\TypoScript\TemplateService\processTemplate(), TYPO3\CMS\Core\Utility\VersionNumberUtility\raiseVersionNumber(), TYPO3\CMS\IndexedSearch\Controller\SearchController\searchAction(), TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository\sectionTableWhere(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\sectionTableWhere(), TYPO3\CMS\Dbal\Database\DatabaseConnection\SELECTquery(), TYPO3\CMS\Recordlist\LinkHandler\AbstractLinkHandler\setTemporaryDbMounts(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\setTemporaryDbMounts(), TYPO3\CMS\Recordlist\LinkHandler\PageLinkHandler\setTemporaryDbMounts(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\settingLanguage(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\setWebmounts(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\setWorkArea(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\splitString(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\start(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\substring(), TYPO3\CMS\Backend\Utility\BackendUtility\titleAttribForPages(), and TYPO3\CMS\Core\Imaging\GraphicalFunctions\txtPosition().

◆ IPv6Bin2Hex()

static TYPO3\CMS\Core\Utility\GeneralUtility::IPv6Bin2Hex (   $bin)
static

Transform an IPv6 address from binary to hex-representation

Parameters
string$binIPv6 address in hex-presentation
Returns
string Binary representation (16 characters, 128 characters)
See also
IPv6Hex2Bin()

Definition at line 488 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\IPv6Bin2HexCorrectlyConvertsAddresses().

◆ IPv6Hex2Bin()

static TYPO3\CMS\Core\Utility\GeneralUtility::IPv6Hex2Bin (   $hex)
static

Transform a regular IPv6 address from hex-representation into binary

Parameters
string$hexIPv6 address in hex-presentation
Returns
string Binary representation (16 characters, 128 characters)
See also
IPv6Bin2Hex()

Definition at line 476 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\IPv6Hex2BinCorrectlyConvertsAddresses().

◆ isAbsPath()

◆ isAllowedAbsPath()

◆ isAllowedHostHeaderValue()

static TYPO3\CMS\Core\Utility\GeneralUtility::isAllowedHostHeaderValue (   $hostHeaderValue)
static

Checks if the provided host header value matches the trusted hosts pattern. If the pattern is not defined (which only can happen early in the bootstrap), deny any value. The result is saved, so the check needs to be executed only once.

Parameters
string$hostHeaderValueHTTP_HOST header value as sent during the request (may include port)
Returns
bool

Definition at line 3692 of file GeneralUtility.php.

References $GLOBALS.

◆ isBrokenEmailEnvironment()

static TYPO3\CMS\Core\Utility\GeneralUtility::isBrokenEmailEnvironment ( )
static

Checks if current e-mail sending method does not accept recipient/sender name in a call to PHP mail() function. Windows version of mail() and mini_sendmail program are known not to process such input correctly and they cause SMTP errors. This function will return TRUE if current mail sending method has problem with recipient name in recipient/sender argument for mail().

Todo:
4.3 should have additional configuration variable, which is combined by || with the rest in this function.
Returns
bool TRUE if mail() does not accept recipient name
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8

Definition at line 1130 of file GeneralUtility.php.

◆ isFirstPartOfStr()

static TYPO3\CMS\Core\Utility\GeneralUtility::isFirstPartOfStr (   $str,
  $partStr 
)
static

Returns TRUE if the first part of $str matches the string $partStr

Parameters
string$strFull string to check
string$partStrReference string which must be found as the "first part" of the full string
Returns
bool TRUE if $partStr was found to be equal to the first part of $str

Definition at line 933 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Locking\Locker\__destruct(), TYPO3\CMS\SysAction\ActionTask\action_getUserMainDir(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\addFile(), TYPO3\CMS\Backend\View\BackendLayoutView\addItems(), TYPO3\CMS\Core\DataHandling\DataHandler\applyFiltersToValues(), TYPO3\CMS\Extensionmanager\Domain\Repository\ConfigurationItemRepository\buildConfigurationArray(), TYPO3\CMS\Core\Resource\ResourceCompressor\checkBaseDirectory(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\checkDeniedSuburls(), TYPO3\CMS\Core\Utility\File\BasicFileUtility\checkPathAgainstMounts(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\checkUrl(), TYPO3\CMS\Core\DataHandling\DataHandler\clear_cacheCmd(), TYPO3\CMS\Dbal\Database\SqlCompilers\Adodb\compileWhereClause(), TYPO3\CMS\Core\DataHandling\DataHandler\copyRecord_flexFormCallBack(), TYPO3\CMS\Core\Database\ReferenceIndex\createEntryData_fileRels(), TYPO3\CMS\Core\Resource\ResourceCompressor\createMergedFile(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\createTempSubDir(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\determineBaseUrl(), TYPO3\CMS\Impexp\Export\export_addFile(), TYPO3\CMS\Documentation\Service\DocumentationService\fetchNearestDocument(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\filelist(), TYPO3\CMS\Core\Utility\File\BasicFileUtility\findFirstWebFolder(), TYPO3\CMS\Core\ExtDirect\ExtDirectApi\findNamespace(), TYPO3\CMS\Core\Database\SoftReferenceIndex\findRef_images(), TYPO3\CMS\Core\Database\SoftReferenceIndex\findRef_TStemplate(), TYPO3\CMS\Impexp\Export\fixFileIDsInRelations(), TYPO3\CMS\Core\TypoScript\TemplateService\getFileName(), TYPO3\CMS\Core\Resource\ResourceFactory\getFolderObjectFromCombinedIdentifier(), TYPO3\CMS\Backend\Template\DocumentTemplate\getHtmlTemplate(), TYPO3\CMS\Extensionmanager\Utility\ListUtility\getInstallTypeForPackage(), TYPO3\CMS\Documentation\Domain\Repository\DocumentRepository\getMetadata(), TYPO3\CMS\Backend\Utility\BackendUtility\getPathType_web_nonweb(), TYPO3\CMS\Cshmanual\Domain\Repository\TableManualRepository\getSections(), TYPO3\CMS\Core\Utility\MailUtility\getSystemFromAddress(), TYPO3\CMS\Core\Utility\File\BasicFileUtility\is_webpath(), TYPO3\CMS\Core\IO\PharStreamWrapperInterceptor\isAllowed(), TYPO3\CMS\Install\Controller\Action\Step\DatabaseConnect\isConfigurationComplete(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\isFirstPartOfStrReturnsFalseForNotMatchingFirstPart(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\isFirstPartOfStrReturnsTrueForMatchingFirstPart(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\isInLocalDomain(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\isRelativeUrl(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\isValidExtensionPath(), TYPO3\CMS\Core\Configuration\ConfigurationManager\isValidLocalConfigurationPath(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\isWithin(), TYPO3\CMS\Scheduler\Scheduler\log(), TYPO3\CMS\Lowlevel\DoubleFilesCommand\main(), TYPO3\CMS\Lowlevel\LostFilesCommand\main(), TYPO3\CMS\Lowlevel\RteImagesCommand\main(), TYPO3\CMS\Lowlevel\RteImagesCommand\main_autoFix(), TYPO3\CMS\Saltedpasswords\Tests\Unit\Evaluation\EvaluatorTest\md5HashIsUpdatedToTemporarySaltedString(), TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord_processFieldValue(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\pageErrorHandler(), TYPO3\CMS\Impexp\Import\processSoftReferences_saveFile(), TYPO3\CMS\Impexp\Import\processSoftReferences_saveFile_createRelFile(), TYPO3\CMS\Backend\Utility\BackendUtility\referenceCount(), TYPO3\CMS\Core\Locking\SimpleLockStrategy\release(), TYPO3\CMS\Core\Locking\Locker\release(), TYPO3\CMS\Rtehtmlarea\Controller\AccessibilityLinkController\removeAccessibilityIcon(), TYPO3\CMS\Rtehtmlarea\Controller\CustomAttributeController\render_clickenlarge(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\render_uploads(), TYPO3\CMS\Core\Resource\ResourceFactory\retrieveFileOrFolderObject(), TYPO3\CMS\Core\Html\RteHtmlParser\RTE_transform(), TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend\setCacheDirectory(), TYPO3\CMS\Core\Database\SoftReferenceIndex\setTypoLinkPartsElement(), TYPO3\CMS\Extbase\Utility\LocalizationUtility\translate(), and TYPO3\CMS\Impexp\Import\unlinkTempFiles().

◆ isInternalRequestType()

static TYPO3\CMS\Core\Utility\GeneralUtility::isInternalRequestType ( )
staticprotected

Allows internal requests to the install tool and from the command line. We accept this risk to have the install tool always available. Also CLI needs to be allowed as unfortunately AbstractUserAuthentication::getAuthInfoArray() accesses HTTP_HOST without reason on CLI Additionally, allows requests when no REQUESTTYPE is set, which can happen quite early in the Bootstrap. See Application.php in EXT:backend/Classes/Http/.

Returns
bool

Definition at line 3754 of file GeneralUtility.php.

◆ isOnCurrentHost()

static TYPO3\CMS\Core\Utility\GeneralUtility::isOnCurrentHost (   $url)
static

Checks if a given URL matches the host that currently handles this HTTP request. Scheme, hostname and (optional) port of the given URL are compared.

Parameters
string$urlURL to compare with the TYPO3 request host
Returns
bool Whether the URL matches the TYPO3 request host

Definition at line 684 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Resource\ResourceCompressor\createMergedFile(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\isOnCurrentHostReturnsTrueWithCurrentHost().

◆ isRunningOnCgiServerApi()

static TYPO3\CMS\Core\Utility\GeneralUtility::isRunningOnCgiServerApi ( )
static

Check if the current request is running on a CGI server API

Returns
bool

Definition at line 5481 of file GeneralUtility.php.

◆ isValidUrl()

static TYPO3\CMS\Core\Utility\GeneralUtility::isValidUrl (   $url)
static

Checks if a given string is a Uniform Resource Locator (URL).

On seriously malformed URLs, parse_url may return FALSE and emit an E_WARNING.

filter_var() requires a scheme to be present.

http://www.faqs.org/rfcs/rfc2396.html Scheme names consist of a sequence of characters beginning with a lower case letter and followed by any combination of lower case letters, digits, plus ("+"), period ("."), or hyphen ("-"). For resiliency, programs interpreting URI should treat upper case letters as equivalent to lower case in scheme names (e.g., allow "HTTP" as well as "http"). scheme = alpha *( alpha | digit | "+" | "-" | "." )

Convert the domain part to punicode if it does not look like a regular domain name. Only the domain part because RFC3986 specifies the the rest of the url may not contain special characters: http://tools.ietf.org/html/rfc3986#appendix-A

Parameters
string$urlThe URL to be validated
Returns
bool Whether the given URL is valid

Definition at line 1411 of file GeneralUtility.php.

References TYPO3\CMS\Core\Utility\HttpUtility\buildUrl().

Referenced by TYPO3\CMS\Core\Resource\ResourceCompressor\createMergedFile(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\determineBaseUrl(), TYPO3\CMS\Core\Resource\ResourceStorage\getPublicUrl(), TYPO3\CMS\Core\Tests\Unit\Resource\Driver\LocalDriverTest\getPublicUrlReturnsValidUrlContainingSpecialCharacters(), TYPO3\CMS\Backend\Backend\Avatar\Image\getUrl(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\isInLocalDomain(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\validURLReturnsFalseForInvalidRessoure(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\validURLReturnsTrueForValidResource().

◆ keepItemsInArray()

static TYPO3\CMS\Core\Utility\GeneralUtility::keepItemsInArray ( array  $array,
  $keepItems,
  $getValueFunc = null 
)
static

Filters an array to reduce its elements to match the condition. The values in $keepItems can be optionally evaluated by a custom callback function.

Example (arguments used to call this function): $array = array( array('aa' => array('first', 'second'), array('bb' => array('third', 'fourth'), array('cc' => array('fifth', 'sixth'), ); $keepItems = array('third'); $getValueFunc = function($value) { return $value[0]; }

Returns: array( array('bb' => array('third', 'fourth'), )

Parameters
array$arrayThe initial array to be filtered/reduced
mixed$keepItemsThe items which are allowed/kept in the array - accepts array or csv string
string$getValueFunc(optional) Callback function used to get the value to keep
Returns
array The filtered/reduced array with the kept items
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8 - use ArrayUtility::keepItemsInArray() instead

Definition at line 1611 of file GeneralUtility.php.

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

◆ lcfirst()

static TYPO3\CMS\Core\Utility\GeneralUtility::lcfirst (   $string)
static

Converts the first char of a string to lowercase if it is a latin character (A-Z). Example: Converts "Hello World" to "hello World"

Parameters
string$stringThe string to be used to lowercase the first character
Returns
string The string with the first character as lowercase

Definition at line 1382 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\lcFirst().

◆ linkThisScript()

static TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript ( array  $getParams = [])
static

Returns the link-url to the current script. In $getParams you can set associative keys corresponding to the GET-vars you wish to add to the URL. If you set them empty, they will remove existing GET-vars from the current URL. REMEMBER to always use htmlspecialchars() for content in href-properties to get ampersands converted to entities (XHTML requirement and XSS precaution)

Parameters
array$getParamsArray of GET parameters to include
Returns
string

Definition at line 3349 of file GeneralUtility.php.

References $params.

Referenced by TYPO3\CMS\Backend\Form\FormDataProvider\ReturnUrl\addData(), TYPO3\CMS\Backend\History\RecordHistory\displaySettings(), TYPO3\CMS\Core\TypoScript\ConfigurationForm\ext_getForm(), TYPO3\CMS\Backend\Controller\NewRecordController\getButtons(), TYPO3\CMS\Filelist\Controller\FileListController\getModuleHeadline(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\getTemporaryTreeMountCancelNotice(), TYPO3\CMS\Recordlist\LinkHandler\PageLinkHandler\getTemporaryTreeMountCancelNotice(), TYPO3\CMS\Backend\Controller\Wizard\RteController\init(), TYPO3\CMS\Backend\Tree\View\ContentMovingPagePositionMap\linkPageTitle(), TYPO3\CMS\Backend\Tree\View\PageMovingPagePositionMap\linkPageTitle(), TYPO3\CMS\Filelist\FileList\listURL(), TYPO3\CMS\Backend\Controller\PageLayoutController\local_linkThisScript(), TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController\main(), TYPO3\CMS\Backend\Controller\PageTreeNavigationController\main(), TYPO3\CMS\Backend\Controller\EditDocumentController\openInNewWindowLink(), TYPO3\CMS\Backend\Clipboard\Clipboard\printClipboard(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printDBClickMenu(), TYPO3\CMS\Dbal\Controller\ModuleController\printLogMgm(), TYPO3\CMS\Backend\Template\DocumentTemplate\redirectUrls(), TYPO3\CMS\Backend\Template\ModuleTemplate\redirectUrls(), TYPO3\CMS\Backend\Controller\NewRecordController\regularNew(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\renderList(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\renderList(), TYPO3\CMS\Beuser\ViewHelpers\SwitchUserViewHelper\renderStatic(), TYPO3\CMS\Backend\Tree\View\PagePositionMap\wrapRecordTitle(), and TYPO3\CMS\Backend\Tree\View\AbstractTreeView\wrapStop().

◆ linkThisUrl()

static TYPO3\CMS\Core\Utility\GeneralUtility::linkThisUrl (   $url,
array  $getParams = [] 
)
static

Takes a full URL, $url, possibly with a querystring and overlays the $getParams arrays values onto the quirystring, packs it all together and returns the URL again. So basically it adds the parameters in $getParams to an existing URL, $url

Parameters
string$urlURL string
array$getParamsArray of key/value pairs for get parameters to add/overrule with. Can be multidimensional.
Returns
string Output URL with added getParams.

Definition at line 3372 of file GeneralUtility.php.

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

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getButtons(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getDocHeaderButtons(), TYPO3\CMS\Backend\Controller\File\FileUploadController\main(), TYPO3\CMS\Backend\Controller\File\RenameFileController\main(), TYPO3\CMS\Backend\Controller\File\ReplaceFileController\main(), and TYPO3\CMS\Backend\Controller\File\CreateFolderController\main().

◆ llXmlAutoFileName()

static TYPO3\CMS\Core\Utility\GeneralUtility::llXmlAutoFileName (   $fileRef,
  $language,
  $sameLocation = false 
)
static

Returns auto-filename for locallang localizations

Parameters
string$fileRefAbsolute file reference to locallang file
string$languageLanguage key
bool$sameLocationIf TRUE, then locallang localization file name will be returned with same directory as $fileRef
Returns
string Returns the filename reference for the language unless error occurred in which case it will be NULL

Definition at line 4234 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Localization\Parser\LocallangXmlParser\getParsedData(), and TYPO3\CMS\Core\Localization\Parser\AbstractXmlParser\getParsedData().

◆ locationHeaderUrl()

static TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl (   $path)
static

Prefixes a URL used with 'header-location' with 'http://...' depending on whether it has it already.

  • If already having a scheme, nothing is prepended
  • If having REQUEST_URI slash '/', then prefixing 'http://[host]' (relative to host)
  • Otherwise prefixed with TYPO3_REQUEST_DIR (relative to current dir / TYPO3_REQUEST_DIR)
Parameters
string$pathURL / path to prepend full URL addressing to.
Returns
string
Exceptions

Definition at line 3192 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Frontend\View\AdminPanelView\display(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\generateAndSendHash(), TYPO3\CMS\Frontend\View\AdminPanelView\getAdminPanelHeaderData(), TYPO3\CMS\Extbase\Service\ImageService\getImageUri(), TYPO3\CMS\Core\ExtDirect\ExtDirectApi\getRoutingUrl(), TYPO3\CMS\Backend\Controller\OnlineMediaController\mainAction(), TYPO3\CMS\Backend\Controller\File\FileController\mainAction(), TYPO3\CMS\Backend\Controller\SimpleDataHandlerController\mainAction(), TYPO3\CMS\Core\Utility\HttpUtility\redirect(), and TYPO3\CMS\Core\Page\PageRenderer\renderMainJavaScriptLibraries().

◆ logDeprecatedFunction()

static TYPO3\CMS\Core\Utility\GeneralUtility::logDeprecatedFunction ( )
static

Logs a call to a deprecated function. The log message will be taken from the annotation.

Returns
void

Definition at line 5287 of file GeneralUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\DebugUtility\debugTrail(), and TYPO3\CMS\Core\Utility\PathUtility\stripPathSitePrefix().

Referenced by TYPO3\CMS\Backend\View\LogoView\__construct(), TYPO3\CMS\Backend\Module\ModuleController\__construct(), TYPO3\CMS\Backend\View\ModuleMenuView\__construct(), TYPO3\CMS\Core\Localization\Parser\LocallangArrayParser\__construct(), TYPO3\CMS\Core\Locking\Locker\__construct(), TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject\__wakeup(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\acquirePageGenerationLock(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addModulePath(), TYPO3\CMS\Backend\Controller\BackendController\addToolbarItem(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\beautifyFileLink(), TYPO3\CMS\Backend\Utility\IconUtility\buildSpriteHtmlIconTag(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\CASEFUNC(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\checkCLIuser(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\checkDate(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\checkExistence(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\checkFileInclude(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_check(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_group_select(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_input(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_radio(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_text(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\CLEARGIF(), TYPO3\CMS\Backend\Controller\Wizard\EditController\closeWindow(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\COBJ_ARRAY(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\COLUMNS(), TYPO3\CMS\Core\Resource\ResourceCompressor\compressCssPregCallback(), TYPO3\CMS\Extbase\Utility\ExtensionUtility\configureModule(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\CONTENT(), TYPO3\CMS\Core\Database\RelationHandler\convertPosNeg(), TYPO3\CMS\Backend\Utility\BackendUtility\countVersionsOfRecordsOnPage(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\CTABLE(), TYPO3\CMS\Backend\Template\DocumentTemplate\dfw(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\doLocalAnchorFix(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\doXHTML_cleaning(), TYPO3\CMS\Backend\Controller\EditDocumentController\editRegularContentFromId(), TYPO3\CMS\Backend\Template\DocumentTemplate\endPageJS(), TYPO3\CMS\Core\Html\RteHtmlParser\evalWriteFile(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\excludeIcon(), TYPO3\CMS\Backend\Utility\BackendUtility\exec_foreign_table_where_query(), TYPO3\CMS\Core\TypoScript\ConfigurationForm\ext_getKeyImage(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getKeyImage(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\FILE(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\FILES(), TYPO3\CMS\Backend\Controller\SimpleDataHandlerController\finish(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\FLOWPLAYER(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\FLUIDTEMPLATE(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\FORM(), TYPO3\CMS\Core\Database\QueryGenerator\formatQ(), TYPO3\CMS\Backend\Template\DocumentTemplate\formatTime(), TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools\getAvailableLanguages(), TYPO3\CMS\Filelist\FileList\getButtonsAndOtherMarkers(), TYPO3\CMS\Backend\ContextMenu\ContextMenuAction\getClass(), TYPO3\CMS\Backend\Template\DocumentTemplate\getDynamicTabMenu(), TYPO3\CMS\Backend\Template\DocumentTemplate\getDynTabMenu(), TYPO3\CMS\Backend\Template\DocumentTemplate\getDynTabMenuId(), TYPO3\CMS\Backend\Utility\BackendUtility\getExcludeFields(), TYPO3\CMS\Backend\Utility\BackendUtility\getExplicitAuthFieldValues(), TYPO3\CMS\Backend\Utility\IconUtility\getIcon(), TYPO3\CMS\Backend\Form\Wizard\SuggestWizardDefaultReceiver\getIcon(), TYPO3\CMS\Fluid\View\StandaloneView\getLayoutRootPath(), TYPO3\CMS\Workspaces\Service\StagesService\getNotificationMode(), TYPO3\CMS\Backend\Template\DocumentTemplate\getPageInfo(), TYPO3\CMS\Backend\Controller\BackendController\getPageRenderer(), TYPO3\CMS\Backend\Template\DocumentTemplate\getPageRenderer(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getPageRenderer(), TYPO3\CMS\Fluid\View\StandaloneView\getPartialRootPath(), TYPO3\CMS\Backend\Utility\BackendUtility\getPathType_web_nonweb(), TYPO3\CMS\Backend\Utility\BackendUtility\getRegisteredFlexForms(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIcon(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconClasses(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconForFile(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconForRecord(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconForResource(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getStorageSiterootPids(), TYPO3\CMS\Core\Html\HtmlParser\getSubpart(), TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor\getTemporaryImageWithText(), TYPO3\CMS\Backend\Utility\BackendUtility\getThumbNail(), TYPO3\CMS\Backend\Utility\BackendUtility\getUrlToken(), TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFieldViewHelper\getValue(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\getWizardItems(), TYPO3\CMS\Backend\Utility\BackendUtility\helpTextIcon(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\HMENU(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\HRULER(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\IMAGE(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\IMG_RESOURCE(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\IMGTEXT(), TYPO3\CMS\Backend\Utility\BackendUtility\implodeTSParams(), TYPO3\CMS\Backend\Controller\ClickMenuController\init(), TYPO3\CMS\T3editor\T3editor\isEnabled(), TYPO3\CMS\Core\Utility\StringUtility\isLastPartOfString(), TYPO3\CMS\Backend\Template\DocumentTemplate\issueCommand(), TYPO3\CMS\Core\Database\QueryGenerator\JSbottom(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\jumpUrl(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\LOAD_REGISTER(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\loadNewTcaColumnsConfigFiles(), TYPO3\CMS\Lang\LanguageService\localizedFileRef(), TYPO3\CMS\Backend\Controller\ListFrameLoaderController\main(), TYPO3\CMS\Backend\Controller\ClickMenuController\main(), TYPO3\CMS\Rtehtmlarea\Controller\ParseHtmlController\main(), TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController\main(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\makeHtmlspecialchars(), TYPO3\CMS\Backend\Utility\IconUtility\mapRecordTypeToSpriteIconClass(), TYPO3\CMS\Backend\Form\FormDataProvider\EvaluateDisplayConditions\matchExtensionCondition(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\MEDIA(), TYPO3\CMS\Backend\Template\DocumentTemplate\menuTable(), TYPO3\CMS\Dbal\Database\DatabaseConnection\MetaType(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\MULTIMEDIA(), TYPO3\CMS\Dbal\Database\DatabaseConnection\MySQLActualType(), TYPO3\CMS\Dbal\Database\DatabaseConnection\MySQLMetaType(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\OTABLE(), TYPO3\CMS\Backend\Template\DocumentTemplate\parseTime(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_list_searchBox(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\pngToGifByImagemagick(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\prefixLocalAnchorsWithScript(), TYPO3\CMS\Backend\Controller\DummyController\printContent(), TYPO3\CMS\Backend\Controller\LoginFramesetController\printContent(), TYPO3\CMS\Recordlist\Controller\ElementBrowserFramesetController\printContent(), TYPO3\CMS\Rtehtmlarea\Controller\ParseHtmlController\printContent(), TYPO3\CMS\Backend\Controller\ClickMenuController\printContent(), TYPO3\CMS\Info\Controller\InfoModuleController\printContent(), TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController\printContent(), TYPO3\CMS\Backend\Controller\Wizard\TableController\printContent(), TYPO3\CMS\Func\Controller\PageFunctionsController\printContent(), TYPO3\CMS\Backend\Controller\FileSystemNavigationFrameController\printContent(), TYPO3\CMS\Version\Controller\VersionModuleController\printContent(), TYPO3\CMS\Backend\Controller\Wizard\RteController\printContent(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\printContent(), TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController\printContent(), TYPO3\CMS\Impexp\Controller\ImportExportController\printContent(), TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController\printContent(), TYPO3\CMS\Lowlevel\View\ConfigurationView\printContent(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\printContent(), TYPO3\CMS\Setup\Controller\SetupModuleController\printContent(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\printContent(), TYPO3\CMS\Recordlist\RecordList\printContent(), TYPO3\CMS\Backend\Controller\NewRecordController\printContent(), TYPO3\CMS\Backend\Controller\EditDocumentController\printContent(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\QTOBJECT(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\RECORDS(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\releasePageGenerationLock(), TYPO3\CMS\Core\Messaging\FlashMessage\render(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\render(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\render_bullets(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\render_uploads(), TYPO3\CMS\Beuser\Controller\PermissionAjaxController\renderGroupname(), TYPO3\CMS\Beuser\Controller\PermissionAjaxController\renderOwnername(), TYPO3\CMS\Fluid\ViewHelpers\Be\Buttons\IconViewHelper\renderStatic(), TYPO3\CMS\Beuser\Controller\PermissionAjaxController\renderToggleEditLock(), TYPO3\CMS\Backend\Utility\BackendUtility\replaceMarkersInWhereClause(), TYPO3\CMS\Backend\Template\DocumentTemplate\rfw(), TYPO3\CMS\Backend\Utility\BackendUtility\RTEgetObj(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\SEARCHRESULT(), TYPO3\CMS\Backend\ContextMenu\ContextMenuAction\setClass(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\setExternalJumpUrl(), TYPO3\CMS\Fluid\View\StandaloneView\setLayoutRootPath(), TYPO3\CMS\Fluid\View\StandaloneView\setPartialRootPath(), TYPO3\CMS\Workspaces\ExtDirect\ToolbarMenu\setWorkspace(), TYPO3\CMS\Backend\Utility\IconUtility\skinImg(), TYPO3\CMS\Backend\Template\DocumentTemplate\spacer(), TYPO3\CMS\Core\Database\DatabaseConnection\splitGroupOrderLimit(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\stdWrap_offsetWrap(), TYPO3\CMS\Core\Html\HtmlParser\substituteMarker(), TYPO3\CMS\Core\Html\HtmlParser\substituteMarkerAndSubpartArrayRecursive(), TYPO3\CMS\Core\Html\HtmlParser\substituteMarkerArray(), TYPO3\CMS\Core\Html\HtmlParser\substituteSubpart(), TYPO3\CMS\Core\Html\HtmlParser\substituteSubpartArray(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\SVG(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\SWFOBJECT(), TYPO3\CMS\Backend\Template\DocumentTemplate\table(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\TEMPLATE(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\TEXT(), TYPO3\CMS\Workspaces\ExtDirect\ToolbarMenu\toggleWorkspacePreviewMode(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\USER(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\verify_TSobjects(), TYPO3\CMS\Core\TypoScript\TemplateService\wrap(), TYPO3\CMS\Backend\Template\DocumentTemplate\wrapClickMenuOnIcon(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\wrapColorTableCM(), and TYPO3\CMS\Core\Html\HtmlParser\XHTML_clean().

◆ makeInstance()

static TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance (   $className)
static

Creates an instance of a class taking into account the class-extensions API of TYPO3. USE THIS method instead of the PHP "new" keyword. Eg. "$obj = new myclass;" should be "$obj = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance("myclass")" instead!

You can also pass arguments for a constructor: ::makeInstance(::class, $arg1, $arg2, ..., $argN)

You may want to use ::get() if you want TYPO3 to take care about injecting dependencies of the class to be created. Therefore create an instance of ObjectManager via GeneralUtility::makeInstance() first and call its get() method to get the instance of a specific class.

Parameters
string$classNamename of the class to instantiate, must not be empty and not start with a backslash
Returns
object the created instance
Exceptions

Definition at line 4518 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Install\View\StandaloneView\__construct(), TYPO3\CMS\Backend\InterfaceState\ExtDirect\DataProvider\__construct(), TYPO3\CMS\Extbase\Object\ObjectManagerException\__construct(), TYPO3\CMS\Form\Controller\WizardController\__construct(), TYPO3\CMS\Backend\Backend\ToolbarItems\LiveSearchToolbarItem\__construct(), TYPO3\CMS\Extbase\Object\ObjectManager\__construct(), TYPO3\CMS\Backend\Tree\Pagetree\Indicator\__construct(), TYPO3\CMS\Cshmanual\Domain\Repository\TableManualRepository\__construct(), TYPO3\CMS\Core\Resource\Processing\LocalCropScaleMaskHelper\__construct(), TYPO3\CMS\Version\ClickMenu\VersionClickMenu\__construct(), TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository\__construct(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\__construct(), TYPO3\CMS\Workspaces\ExtDirect\ActionHandler\__construct(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\__construct(), TYPO3\CMS\Impexp\Clickmenu\__construct(), TYPO3\CMS\Backend\Module\ModuleController\__construct(), TYPO3\CMS\Backend\Backend\ToolbarItems\UserToolbarItem\__construct(), TYPO3\CMS\Recycler\Controller\DeletedRecordsController\__construct(), TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject\__construct(), TYPO3\CMS\Backend\Module\AbstractModule\__construct(), TYPO3\CMS\SysAction\Backend\ToolbarItems\ActionToolbarItem\__construct(), TYPO3\CMS\Backend\Tree\Pagetree\ExtdirectTreeDataProvider\__construct(), TYPO3\CMS\Scheduler\Controller\SchedulerCliController\__construct(), TYPO3\CMS\Backend\Security\CategoryPermissionsAspect\__construct(), TYPO3\CMS\Form\Domain\Repository\TypoScriptRepository\__construct(), TYPO3\CMS\Backend\View\BackendLayoutView\__construct(), TYPO3\CMS\Core\Resource\AbstractRepository\__construct(), TYPO3\CMS\Install\Updates\AbstractDatabaseSchemaUpdate\__construct(), TYPO3\CMS\Extensionmanager\Utility\Importer\MirrorListUtility\__construct(), TYPO3\CMS\Form\Domain\Validator\InArrayValidator\__construct(), TYPO3\CMS\Filelist\FileFacade\__construct(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\__construct(), TYPO3\CMS\SysNote\Core\Bootstrap\__construct(), TYPO3\CMS\Install\View\FailsafeView\__construct(), TYPO3\CMS\Opendocs\Backend\ToolbarItems\OpendocsToolbarItem\__construct(), TYPO3\CMS\Beuser\Controller\PermissionAjaxController\__construct(), TYPO3\CMS\Core\Category\Collection\CategoryCollection\__construct(), TYPO3\CMS\Backend\Backend\ToolbarItems\ClearCacheToolbarItem\__construct(), TYPO3\CMS\Extbase\Scheduler\FieldProvider\__construct(), TYPO3\CMS\Core\Log\LogManager\__construct(), TYPO3\CMS\Backend\View\ModuleMenuView\__construct(), TYPO3\CMS\Backend\Template\Components\DocHeaderComponent\__construct(), TYPO3\CMS\Backend\View\PageTreeView\__construct(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\__construct(), TYPO3\CMS\Backend\Controller\Page\LocalizationController\__construct(), TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode\__construct(), TYPO3\CMS\Recordlist\Controller\ElementBrowserController\__construct(), TYPO3\CMS\Extbase\Scheduler\Task\__construct(), TYPO3\CMS\Core\Encoder\JavaScriptEncoder\__construct(), TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor\__construct(), TYPO3\CMS\Core\Resource\ProcessedFileRepository\__construct(), TYPO3\CMS\SysAction\ActionTask\__construct(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\__construct(), TYPO3\CMS\Core\Imaging\IconFactory\__construct(), TYPO3\CMS\Backend\Controller\BackendLayoutWizardController\__construct(), TYPO3\CMS\Extensionmanager\Report\ExtensionStatus\__construct(), TYPO3\CMS\Backend\Controller\ClickMenuController\__construct(), TYPO3\CMS\IndexedSearch\Lexer\__construct(), TYPO3\CMS\Core\Database\QueryView\__construct(), TYPO3\CMS\Func\Controller\PageFunctionsController\__construct(), TYPO3\CMS\Form\View\Wizard\WizardView\__construct(), TYPO3\CMS\Backend\Form\Container\InlineControlContainer\__construct(), TYPO3\CMS\Frontend\Http\RequestHandler\__construct(), TYPO3\CMS\Feedit\FrontendEditPanel\__construct(), TYPO3\CMS\Info\Controller\InfoModuleController\__construct(), TYPO3\CMS\Backend\Controller\Wizard\RteController\__construct(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\__construct(), TYPO3\CMS\Backend\Form\Element\AbstractFormElement\__construct(), TYPO3\CMS\Core\Resource\ResourceFactory\__construct(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\__construct(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\__construct(), TYPO3\CMS\Lowlevel\View\ConfigurationView\__construct(), TYPO3\CMS\Backend\Controller\File\ReplaceFileController\__construct(), TYPO3\CMS\Scheduler\Task\AbstractTask\__construct(), TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem\__construct(), TYPO3\CMS\Lang\Domain\Repository\LanguageRepository\__construct(), TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser\__construct(), TYPO3\CMS\Backend\Controller\File\EditFileController\__construct(), TYPO3\CMS\Dbal\Database\SqlParser\__construct(), TYPO3\CMS\Backend\Controller\LoginController\__construct(), TYPO3\CMS\Backend\Clipboard\Clipboard\__construct(), TYPO3\CMS\Backend\Controller\PageTreeNavigationController\__construct(), TYPO3\CMS\Backend\Tree\View\FolderTreeView\__construct(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\__construct(), TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem\__construct(), TYPO3\CMS\Form\PostProcess\MailPostProcessor\__construct(), TYPO3\CMS\Backend\Form\Wizard\SuggestWizardDefaultReceiver\__construct(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\__construct(), TYPO3\CMS\Backend\History\RecordHistory\__construct(), TYPO3\CMS\Backend\Controller\BackendController\__construct(), TYPO3\CMS\Core\Resource\ProcessedFile\__construct(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\__construct(), TYPO3\CMS\Backend\Tree\View\PagePositionMap\__construct(), TYPO3\CMS\Core\Utility\RootlineUtility\__construct(), TYPO3\CMS\Version\Controller\VersionModuleController\__construct(), TYPO3\CMS\Impexp\Controller\ImportExportController\__construct(), TYPO3\CMS\Fluid\View\TemplateView\__construct(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\__construct(), TYPO3\CMS\Core\Database\ReferenceIndex\__construct(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\__construct(), TYPO3\CMS\Backend\RecordList\AbstractRecordList\__construct(), TYPO3\CMS\Filelist\FileList\__construct(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\__construct(), TYPO3\CMS\Dbal\Database\DatabaseConnection\__construct(), TYPO3\CMS\Backend\View\PageLayoutView\__construct(), TYPO3\CMS\Backend\Template\ModuleTemplate\__construct(), TYPO3\CMS\Impexp\ImportExport\__construct(), TYPO3\CMS\Backend\Template\DocumentTemplate\__construct(), TYPO3\CMS\Core\Page\PageRenderer\__construct(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\__construct(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\__construct(), TYPO3\CMS\Backend\Template\Components\Buttons\Action\ShortcutButton\__toString(), TYPO3\CMS\Rsaauth\Backend\CommandLineBackend\__wakeup(), TYPO3\CMS\Extbase\Scheduler\Task\__wakeup(), TYPO3\CMS\Extbase\Persistence\Generic\QueryResult\__wakeup(), TYPO3\CMS\Extbase\Persistence\Generic\Query\__wakeup(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\acquireLock(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\acquirePageGenerationLock(), TYPO3\CMS\Backend\View\BackendLayout\DataProviderCollection\add(), TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository\addAdditionalInformation(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectTreeItems\addData(), TYPO3\CMS\Core\Page\PageRenderer\addExtOnReadyCode(), TYPO3\CMS\Extbase\Mvc\Controller\AbstractController\addFlashMessage(), TYPO3\CMS\Backend\Template\ModuleTemplate\addFlashMessage(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\addInstanceCalledTwoTimesMakesMakeInstanceReturnBothInstancesInAddingOrder(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\addInstanceMakesMakeInstanceReturnThatInstance(), TYPO3\CMS\Fluid\Core\Parser\Configuration\addInterceptor(), TYPO3\CMS\Backend\View\BackendLayoutView\addItems(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\addItemsFromFolder(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\addItemsFromSpecial(), TYPO3\CMS\Cshmanual\Service\JavaScriptService\addJavaScript(), TYPO3\CMS\Backend\Controller\OnlineMediaController\addMediaFromUrl(), TYPO3\CMS\SysAction\ActionTask\addMessage(), TYPO3\CMS\Core\Utility\File\ExtendedFileUtility\addMessageToFlashMessageQueue(), TYPO3\CMS\Core\DataHandling\DataHandler\addNewValuesToRemapStackChildIds(), TYPO3\CMS\Impexp\Controller\ImportExportController\addRecordsForPid(), TYPO3\CMS\Install\Controller\AbstractController\addSessionMessages(), TYPO3\CMS\Core\Database\QueryView\addToStoreQueryConfigs(), TYPO3\CMS\Dbal\Database\DatabaseConnection\analyzeCachingTables(), TYPO3\CMS\Core\DataHandling\DataHandler\applyFiltersToValues(), TYPO3\CMS\Core\Html\RteHtmlParser\applyPlainImageModeSettings(), TYPO3\CMS\Workspaces\Service\AutoPublishService\autoPublishWorkspaces(), TYPO3\CMS\Version\Utility\WorkspacesUtility\autoPublishWorkspaces(), TYPO3\CMS\IndexedSearch\Indexer\backend_initIndexer(), TYPO3\CMS\Backend\Http\AjaxRequestHandler\boot(), TYPO3\CMS\Core\Utility\MailUtility\breakLinesForEmail(), TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder\buildBackendUri(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\buildBaseTcaFromSingleFiles(), TYPO3\CMS\Rtehtmlarea\Controller\SelectImageController\buildImageMarkup(), TYPO3\CMS\Rtehtmlarea\Extension\Abbreviation\buildJSAbbreviationArray(), TYPO3\CMS\Backend\Utility\BackendUtility\buildScriptUrl(), TYPO3\CMS\Backend\Routing\UriBuilder\buildUri(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\calcAge(), TYPO3\CMS\Frontend\Imaging\GifBuilder\calcOffset(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\callUserFunction(), TYPO3\CMS\Form\Domain\Property\TypeConverter\ArrayToValidationElementConverter\canConvertFrom(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\changeLinksForAccessRestrictedPages(), TYPO3\CMS\Backend\Backend\ToolbarItems\UserToolbarItem\checkAccess(), TYPO3\CMS\Setup\Controller\SetupModuleController\checkAccess(), TYPO3\CMS\Saltedpasswords\Utility\ExtensionManagerConfigurationUtility\checkConfigurationBackend(), TYPO3\CMS\Belog\Module\BackendLogModuleBootstrap\checkExtObj(), TYPO3\CMS\Backend\Module\AbstractFunctionModule\checkExtObj(), TYPO3\CMS\Backend\Module\BaseScriptClass\checkExtObj(), TYPO3\CMS\Frontend\Imaging\GifBuilder\checkFile(), TYPO3\CMS\Version\Hook\PreviewHook\checkForPreview(), TYPO3\CMS\Rtehtmlarea\Hook\StatusReportConflictsCheckHook\checkIfNoConflictingExtensionIsInstalled(), TYPO3\CMS\Install\Updates\AbstractUpdate\checkIfTableExists(), TYPO3\CMS\Backend\View\PageLayoutView\checkIfTranslationsExistInLanguage(), TYPO3\CMS\Linkvalidator\Linktype\FileLinktype\checkLink(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\checkPageForShortcutRedirect(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\checkSchedulerUser(), TYPO3\CMS\Install\SystemEnvironment\Check\checkSomePhpOpcodeCacheIsLoaded(), TYPO3\CMS\Core\Html\HtmlParser\checkTagTypeCounts(), TYPO3\CMS\Frontend\Imaging\GifBuilder\checkTextObj(), TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility\checkUpdateScriptExists(), TYPO3\CMS\Impexp\Controller\ImportExportController\checkUpload(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_check(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_input_Eval(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_text_Eval(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForFlex(), TYPO3\CMS\Core\Tests\Unit\DataHandler\DataHandlerTest\checkValueForInputConvertsNullToEmptyString(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForRadio(), TYPO3\CMS\Frontend\Page\PageRepository\checkWorkspaceAccess(), TYPO3\CMS\Core\Utility\File\BasicFileUtility\cleanFileName(), TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools\cleanFlexFormXML(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\cleanList(), TYPO3\CMS\Recordlist\RecordList\clearCache(), TYPO3\CMS\Backend\Controller\PageLayoutController\clearCache(), TYPO3\CMS\Install\Controller\Action\Tool\ImportantActions\clearOpcodeCache(), TYPO3\CMS\CssStyledContent\Hooks\TcaCacheClearing\clearTcaCache(), TYPO3\CMS\FluidStyledContent\Hooks\TcaCacheClearing\clearTcaCache(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\clientInfo(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\cObjGet(), TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController\colorList(), TYPO3\CMS\Core\Utility\RootlineUtility\columnHasRelationToResolve(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\compileResult(), TYPO3\CMS\Fluid\Core\Widget\Bootstrap\configureObjectManager(), TYPO3\CMS\Extbase\Core\Bootstrap\configureObjectManager(), TYPO3\CMS\Core\Cache\Backend\PdoBackend\connect(), TYPO3\CMS\Form\Utility\TypoScriptToJsonConverter\convert(), TYPO3\CMS\Core\Resource\ResourceFactory\convertFlexFormDataToConfigurationArray(), TYPO3\CMS\Backend\Module\ModuleController\convertRawModuleDataToModuleMenuObject(), TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository\convertRawModuleDataToModuleMenuObject(), TYPO3\CMS\Core\DataHandling\DataHandler\copyRecord_flexFormCallBack(), TYPO3\CMS\Core\Database\RelationHandler\countItems(), TYPO3\CMS\IndexedSearch\Hook\CrawlerFilesHook\crawler_execute(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_execute_type2(), TYPO3\CMS\Core\Collection\AbstractRecordCollection\create(), TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Hook\BackendUserHandler\createBackendUser(), TYPO3\CMS\Core\Localization\Parser\LocallangArrayParser\createCsConvObject(), TYPO3\CMS\Core\Tests\Functional\DataHandling\Framework\ActionService\createDataHandler(), TYPO3\CMS\Backend\View\BackendLayoutView\createDataProviderContext(), TYPO3\CMS\Core\Resource\FileRepository\createDomainObject(), TYPO3\CMS\Core\Resource\ProcessedFileRepository\createDomainObject(), TYPO3\CMS\Form\Domain\Builder\FormBuilder\createElementObject(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\createExceptionHandler(), TYPO3\CMS\Core\Resource\Index\ExtractorRegistry\createExtractorInstance(), TYPO3\CMS\Core\Resource\ResourceFactory\createFolderObject(), TYPO3\CMS\Version\Hook\PreviewHook\createFrontendBackendUser(), TYPO3\CMS\Core\Imaging\IconFactory\createIcon(), TYPO3\CMS\Core\Resource\ProcessedFileRepository\createNewProcessedFileObject(), TYPO3\CMS\Backend\Utility\BackendUtility\createPreviewUrl(), TYPO3\CMS\Belog\Domain\Repository\LogEntryRepository\createQueryConstraints(), TYPO3\CMS\Version\Hook\DataHandlerHook\createRelationHandlerInstance(), TYPO3\CMS\Core\DataHandling\DataHandler\createRelationHandlerInstance(), TYPO3\CMS\Core\Resource\Rendering\RendererRegistry\createRendererInstance(), TYPO3\CMS\Core\Resource\ResourceFactory\createStorageObject(), TYPO3\CMS\Core\Resource\TextExtraction\TextExtractorRegistry\createTextExtractorInstance(), TYPO3\CMS\Fluid\ViewHelpers\Uri\TypolinkViewHelper\createTypolinkParameterArrayFromArguments(), TYPO3\CMS\Fluid\ViewHelpers\Link\TypolinkViewHelper\createTypolinkParameterArrayFromArguments(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\currentPageUrl(), TYPO3\CMS\Backend\Tree\TreeNodeCollection\dataFromArray(), TYPO3\CMS\Backend\Tree\TreeNode\dataFromArray(), TYPO3\CMS\Lang\Controller\LanguageController\deactivateLanguageAction(), TYPO3\CMS\Core\DataHandling\DataHandler\deleteRecord(), TYPO3\CMS\Core\DataHandling\DataHandler\deleteSpecificPage(), TYPO3\CMS\Reports\Controller\ReportController\detailAction(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\detectLinkTypeFromLinkParameter(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\determineId(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\determineIdIsHiddenPage(), TYPO3\CMS\Recordlist\Browser\AbstractElementBrowser\determineScriptUrl(), TYPO3\CMS\Backend\RecordList\AbstractRecordList\determineScriptUrl(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\determineScriptUrl(), TYPO3\CMS\Backend\Tree\View\AbstractTreeView\determineScriptUrl(), TYPO3\CMS\Recycler\Controller\RecyclerAjaxController\dispatch(), TYPO3\CMS\Backend\History\RecordHistory\displaySettings(), TYPO3\CMS\Reports\Report\Status\WarningMessagePostProcessor\displayWarningMessages_postProcess(), TYPO3\CMS\Backend\Controller\EditDocumentController\doProcessData(), TYPO3\CMS\Core\Controller\FileDumpController\dumpAction(), TYPO3\CMS\Core\Error\ProductionExceptionHandler\echoExceptionWeb(), TYPO3\CMS\Rsaauth\RsaEncryptionEncoder\enableRsaEncryption(), TYPO3\CMS\Backend\Controller\LinkBrowserController\encodeTypoLink(), TYPO3\CMS\Setup\Controller\SetupModuleController\enqueueFlashMessages(), TYPO3\CMS\Extbase\Persistence\Generic\Query\equals(), TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\error(), TYPO3\CMS\Recycler\Domain\Model\DeletedRecords\escapeValueForLike(), TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher\evaluateConditionCommon(), TYPO3\CMS\Backend\ContextMenu\AbstractContextMenuDataProvider\evaluateDisplayCondition(), TYPO3\CMS\Extensionmanager\Task\UpdateExtensionListTask\execute(), TYPO3\CMS\Workspaces\Task\AutoPublishTask\execute(), TYPO3\CMS\Version\Task\AutoPublishTask\execute(), TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionTask\execute(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\execute(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\executeAdminCommand(), TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility\executeUpdateIfNeeded(), TYPO3\CMS\Impexp\Export\export_addFile(), TYPO3\CMS\Impexp\Export\export_addRecord(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_fNandV(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getRootlineNumber(), TYPO3\CMS\Core\TypoScript\ConfigurationForm\ext_mergeIncomingWithExisting(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_outputTS(), TYPO3\CMS\Impexp\View\ExportPageTreeView\ext_tree(), TYPO3\CMS\Core\Tests\Unit\TypoScript\TemplateServiceTest\extensionStaticsAreProcessedIfExplicitlyRequested(), TYPO3\CMS\Backend\FrontendBackendUserAuthentication\extGetTreeList(), TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository\extGetTreeList(), TYPO3\CMS\Backend\Module\BaseScriptClass\extObjHeader(), TYPO3\CMS\IndexedSearch\Indexer\extractBaseHref(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\extractFileInformation(), TYPO3\CMS\IndexedSearch\Indexer\extractHyperLinks(), TYPO3\CMS\IndexedSearch\Indexer\extractLinks(), TYPO3\CMS\Core\Resource\Index\Indexer\extractRequiredMetaData(), TYPO3\CMS\Core\Type\File\ImageInfo\extractSvgImageSizes(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\fetch_the_id(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroupData(), TYPO3\CMS\Documentation\Domain\Repository\DocumentRepository\findAll(), TYPO3\CMS\Core\Resource\ResourceFactory\findBestMatchingStorageByLocalPath(), TYPO3\CMS\Core\Resource\Index\MetaDataRepository\findByFile(), TYPO3\CMS\Core\Resource\FileRepository\findFileReferenceByUid(), TYPO3\CMS\Core\Cache\Backend\FileBackend\findIdentifiersByTag(), TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject\findLargestDims(), TYPO3\CMS\Core\Database\SoftReferenceIndex\findRef_images(), TYPO3\CMS\Rtehtmlarea\Hook\SoftReferenceHook\findRef_rtehtmlarea_images(), TYPO3\CMS\Core\Database\SoftReferenceIndex\findRef_TStemplate(), TYPO3\CMS\Core\Database\SoftReferenceIndex\findRef_typolink_tag(), TYPO3\CMS\Backend\Controller\File\FileController\flattenResultDataValue(), TYPO3\CMS\Workspaces\Hook\DataHandlerHook\flushWorkspaceCacheEntriesByWorkspaceId(), TYPO3\CMS\Backend\Controller\LoginController\formAction(), TYPO3\CMS\Recordlist\LinkHandler\PageLinkHandler\formatCurrentUrl(), TYPO3\CMS\Recordlist\LinkHandler\FileLinkHandler\formatCurrentUrl(), TYPO3\CMS\Filelist\FileList\formatFileList(), TYPO3\CMS\Workspaces\Controller\ReviewController\fullIndexAction(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\func_refindex(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\func_relations(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\func_search(), TYPO3\CMS\Frontend\ContentObject\Menu\ImageMenuContentObject\generate(), TYPO3\CMS\Backend\Sprite\SpriteBuildingHandler\generate(), TYPO3\CMS\Workspaces\Service\GridDataService\generateGridListFromVersions(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\generateList(), TYPO3\CMS\Backend\Sprite\SpriteGenerator\generateSpriteFromArray(), TYPO3\CMS\Workspaces\Service\WorkspaceService\generateWorkspacePreviewLink(), TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getActionService(), TYPO3\CMS\Scheduler\Task\FileStorageIndexingAdditionalFieldProvider\getAdditionalFields(), TYPO3\CMS\Scheduler\Task\FileStorageExtractionAdditionalFieldProvider\getAdditionalFields(), TYPO3\CMS\Workspaces\ExtDirect\AbstractHandler\getAffectedElements(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\getAvailablePageIds(), TYPO3\CMS\Backend\View\PageLayoutView\getBackendLayoutView(), TYPO3\CMS\Core\Resource\ResourceStorage\getBackendUser(), TYPO3\CMS\Backend\Tree\View\FolderTreeView\getBrowsableTree(), TYPO3\CMS\Backend\Controller\NewRecordController\getButtons(), TYPO3\CMS\Impexp\Controller\ImportExportController\getButtons(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\getCache(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getCacheFloodingProtectionStatus(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\getCacheManager(), TYPO3\CMS\Recycler\Controller\DeletedRecordsController\getCacheManager(), TYPO3\CMS\Core\DataHandling\DataHandler\getCacheManager(), TYPO3\CMS\Core\Http\Dispatcher\getCallableFromTarget(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\getCharsetConversion(), TYPO3\CMS\Core\DataHandling\DataHandler\getCheckModifyAccessListHookObjects(), TYPO3\CMS\Extbase\Object\Container\Container\getClassInfoCache(), TYPO3\CMS\Extbase\Object\Container\Container\getClassInfoFactory(), TYPO3\CMS\Core\FormProtection\FormProtectionFactory\getClassNameAndConstructorArgumentsByType(), TYPO3\CMS\Backend\Form\Element\AbstractFormElement\getClipboardElements(), TYPO3\CMS\T3editor\T3editor\getCodeEditor(), TYPO3\CMS\Version\Hook\DataHandlerHook\getCommandMap(), TYPO3\CMS\Version\DataHandler\CommandMap\getCommonSetStagePropertiesCallback(), TYPO3\CMS\Reports\Report\Status\Typo3Status\getCompatibility6Status(), TYPO3\CMS\Core\Page\PageRenderer\getCompressor(), TYPO3\CMS\Extbase\Utility\LocalizationUtility\getConfigurationManager(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getContentObject(), TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject\getContentObjectVariables(), TYPO3\CMS\Backend\Controller\ClickMenuController\getContextMenuAction(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getCreatedDirectoriesWorldWritableStatus(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getCreatedFilesWorldWritableStatus(), TYPO3\CMS\Core\TypoScript\TemplateService\getCurrentPageData(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getData(), TYPO3\CMS\Core\Tests\FunctionalTestCase\getDatabaseConnection(), TYPO3\CMS\Version\Dependency\ElementEntityProcessor\getDataHandler(), TYPO3\CMS\Core\Integrity\DatabaseIntegrityCheck\getDBFields(), TYPO3\CMS\Workspaces\Service\Dependency\CollectionService\getDependencyCallback(), TYPO3\CMS\Version\DataHandler\CommandMap\getDependencyCallback(), TYPO3\CMS\Workspaces\Service\GridDataService\getDependencyCollectionService(), TYPO3\CMS\Workspaces\Service\Dependency\CollectionService\getDependencyResolver(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getDeprecationLogStatus(), TYPO3\CMS\Install\Report\EnvironmentStatusReport\getDetailedStatus(), TYPO3\CMS\Workspaces\Service\HistoryService\getDifferencesObject(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getDocHeaderButtons(), TYPO3\CMS\Backend\Template\ModuleTemplate\getDynamicTabMenu(), TYPO3\CMS\Backend\Template\DocumentTemplate\getDynamicTabMenu(), TYPO3\CMS\Recordlist\Controller\ElementBrowserController\getElementBrowserInstance(), TYPO3\CMS\Workspaces\Service\Dependency\CollectionService\getElementEntityProcessor(), TYPO3\CMS\Version\DataHandler\CommandMap\getElementEntityProcessor(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getEnvironmentVariable(), TYPO3\CMS\Backend\Utility\BackendUtility\getExplicitAuthFieldValues(), TYPO3\CMS\Version\Dependency\DependencyResolver\getFactory(), TYPO3\CMS\Dbal\Database\DatabaseConnection\getFieldInfoCache(), TYPO3\CMS\Frontend\Resource\FileCollector\getFileCollectionRepository(), TYPO3\CMS\Frontend\ContentObject\FilesContentObject\getFileCollector(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getFileDenyPatternStatus(), TYPO3\CMS\Core\Resource\ResourceStorage\getFileFactory(), TYPO3\CMS\Core\Resource\Processing\FileDeletionAspect\getFileIndexRepository(), TYPO3\CMS\Core\Resource\File\getFileIndexRepository(), TYPO3\CMS\Core\Resource\ResourceStorage\getFileProcessingService(), TYPO3\CMS\Lowlevel\RteImagesCommand\getFileProcObj(), TYPO3\CMS\Core\Resource\ResourceFactory\getFileReferenceObject(), TYPO3\CMS\Frontend\Resource\FileCollector\getFileRepository(), TYPO3\CMS\Install\Report\InstallStatusReport\getFileSystemStatus(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getFirstTimeValueForRecord(), TYPO3\CMS\Setup\Controller\SetupModuleController\getFlashMessage(), TYPO3\CMS\Backend\Form\Wizard\ImageManipulationWizard\getFluidTemplateObject(), TYPO3\CMS\Backend\Controller\BackendController\getFluidTemplateObject(), TYPO3\CMS\Core\Resource\ResourceStorage\getFolder(), TYPO3\CMS\Setup\Controller\SetupModuleController\getFormProtection(), TYPO3\CMS\Core\Type\File\ImageInfo\getGraphicalFunctions(), TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor\getGraphicalFunctionsObject(), TYPO3\CMS\Core\Resource\OnlineMedia\Processing\PreviewProcessing\getGraphicalFunctionsObject(), TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getGridDataService(), TYPO3\CMS\Backend\Controller\PageLayoutController\getHeaderFlashMessagesForCurrentPid(), TYPO3\CMS\ContextHelp\Controller\ContextHelpAjaxController\getHelpAction(), TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor\getHelperByTaskName(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getHtaccessUploadStatus(), TYPO3\CMS\Backend\Tree\View\AbstractTreeView\getIcon(), TYPO3\CMS\Backend\Form\Utility\FormEngineUtility\getIconHtml(), TYPO3\CMS\Backend\Backend\Avatar\DefaultAvatarProvider\getImage(), TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController\getImageAttributes(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\getImageDimensions(), TYPO3\CMS\Backend\Backend\Avatar\Avatar\getImgTag(), TYPO3\CMS\Install\SystemEnvironment\DatabaseCheck\getIncompatibleSqlModes(), TYPO3\CMS\Core\Resource\ResourceFactory\getIndexer(), TYPO3\CMS\Core\Utility\File\ExtendedFileUtility\getIndexer(), TYPO3\CMS\Core\Resource\ResourceStorage\getIndexer(), TYPO3\CMS\Extbase\Object\Container\ClassInfoFactory\getInjectProperties(), TYPO3\CMS\Core\Resource\Service\UserFileInlineLabelService\getInlineLabel(), TYPO3\CMS\Install\Report\SecurityStatusReport\getInstallToolPasswordStatus(), TYPO3\CMS\Install\Report\SecurityStatusReport\getInstallToolProtectionStatus(), TYPO3\CMS\Install\Updates\ExtensionManagerTables\getInstallToolSqlParser(), TYPO3\CMS\Workspaces\Hook\BackendUtilityHook\getInstance(), TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\OnlineMediaHelperRegistry\getInstance(), TYPO3\CMS\Core\Resource\ResourceFactory\getInstance(), TYPO3\CMS\Core\Resource\Index\ExtractorRegistry\getInstance(), TYPO3\CMS\Core\Resource\Rendering\RendererRegistry\getInstance(), TYPO3\CMS\Core\Resource\TextExtraction\TextExtractorRegistry\getInstance(), TYPO3\CMS\Core\Category\CategoryRegistry\getInstance(), TYPO3\CMS\Core\Resource\Index\FileIndexRepository\getInstance(), TYPO3\CMS\Workspaces\Service\GridDataService\getIntegrityService(), TYPO3\CMS\Impexp\Controller\ImportExportController\getLanguageService(), TYPO3\CMS\Rtehtmlarea\Controller\SelectImageController\getLinkHandlers(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\getLinkHandlers(), TYPO3\CMS\Linkvalidator\LinkAnalyzer\getLinkStatistics(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\getLinkTypes(), TYPO3\CMS\Core\Database\RelationHandler\getLiveDefaultId(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getLLL(), TYPO3\CMS\Core\Tests\Functional\DataHandling\IRRE\AbstractTestCase\getLoadDbGroup(), TYPO3\CMS\Core\DataHandling\DataHandler\getLocalTCE(), TYPO3\CMS\Frontend\ContentObject\Exception\ProductionExceptionHandler\getLogger(), TYPO3\CMS\Core\Resource\ProcessedFileRepository\getLogger(), TYPO3\CMS\Frontend\Resource\FileCollector\getLogger(), TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper\getLogger(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInline\getLogger(), TYPO3\CMS\Core\Log\LogManager\getLoggerNames(), TYPO3\CMS\Rsaauth\Hook\UserSetupHook\getLoginScripts(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getMemcachedConnectionStatus(), TYPO3\CMS\Frontend\ContentObject\Menu\MenuContentObjectFactory\getMenuObjectByType(), TYPO3\CMS\Core\Messaging\FlashMessageService\getMessageQueueByIdentifier(), TYPO3\CMS\Install\Service\CoreUpdateService\getMessages(), TYPO3\CMS\Core\Resource\Processing\FileDeletionAspect\getMetaDataRepository(), TYPO3\CMS\Core\Resource\File\getMetaDataRepository(), TYPO3\CMS\Backend\Utility\BackendUtility\getModuleData(), TYPO3\CMS\Filelist\Controller\FileListController\getModuleHeadline(), TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository\getModuleIcon(), TYPO3\CMS\Workspaces\Service\WorkspaceService\getMoveToPlaceHolderFromPages(), TYPO3\CMS\Impexp\Import\getNewTCE(), TYPO3\CMS\Scheduler\Execution\getNextExecution(), TYPO3\CMS\Backend\Tree\Pagetree\ExtdirectTreeDataProvider\getNodeTypes(), TYPO3\CMS\Backend\Utility\BackendUtility\getNoRecordTitle(), TYPO3\CMS\Core\Resource\ResourceFactory\getObjectFromCombinedIdentifier(), TYPO3\CMS\Workspaces\Service\AdditionalResourceService\getObjectManager(), TYPO3\CMS\Core\Mail\Mailer\getObjectManager(), TYPO3\CMS\Form\Utility\FormUtility\getObjectManager(), TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getObjectManager(), TYPO3\CMS\Linkvalidator\LinkAnalyzer\getObjectManager(), TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider\getObjectManager(), TYPO3\CMS\Workspaces\Service\GridDataService\getObjectManager(), TYPO3\CMS\Workspaces\Service\WorkspaceService\getObjectManager(), TYPO3\CMS\Core\Resource\ResourceStorage\getObjectManager(), TYPO3\CMS\Reports\Report\Status\Typo3Status\getOldXclassUsageStatus(), TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\OnlineMediaHelperRegistry\getOnlineMediaHelper(), TYPO3\CMS\Impexp\Task\ImportExportTask\getOverview(), TYPO3\CMS\Backend\Template\DocumentTemplate\getPageInfo(), TYPO3\CMS\Rsaauth\Slot\UsernamePasswordProviderSlot\getPageRenderer(), TYPO3\CMS\Impexp\Hook\BackendControllerHook\getPageRenderer(), TYPO3\CMS\Frontend\ContentObject\AbstractContentObject\getPageRenderer(), TYPO3\CMS\Backend\Controller\LoginFramesetController\getPageRenderer(), TYPO3\CMS\Backend\Backend\ToolbarItems\LiveSearchToolbarItem\getPageRenderer(), TYPO3\CMS\T3editor\Hook\FileEditHook\getPageRenderer(), TYPO3\CMS\Recordlist\Controller\ElementBrowserFramesetController\getPageRenderer(), TYPO3\CMS\Workspaces\Controller\AbstractController\getPageRenderer(), TYPO3\CMS\Workspaces\Backend\ToolbarItems\WorkspaceSelectorToolbarItem\getPageRenderer(), TYPO3\CMS\Backend\Backend\ToolbarItems\ClearCacheToolbarItem\getPageRenderer(), TYPO3\CMS\Opendocs\Backend\ToolbarItems\OpendocsToolbarItem\getPageRenderer(), TYPO3\CMS\Backend\Module\AbstractFunctionModule\getPageRenderer(), TYPO3\CMS\Backend\Form\FormResultCompiler\getPageRenderer(), TYPO3\CMS\Backend\Module\BaseScriptClass\getPageRenderer(), TYPO3\CMS\T3editor\T3editor\getPageRenderer(), TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController\getPageRenderer(), TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem\getPageRenderer(), TYPO3\CMS\Recordlist\RecordList\getPageRenderer(), TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem\getPageRenderer(), TYPO3\CMS\Frontend\Page\PageGenerator\getPageRenderer(), TYPO3\CMS\Backend\Controller\PageLayoutController\getPageRenderer(), TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend\getPageRepository(), TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbQueryParser\getPageRepository(), TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getPagesTSconfig(), TYPO3\CMS\Core\Localization\Parser\AbstractXmlParser\getParsedData(), TYPO3\CMS\Extensionmanager\Utility\Parser\XmlParserFactory\getParserInstance(), TYPO3\CMS\Core\Localization\LanguageStore\getParserInstance(), TYPO3\CMS\Backend\Utility\BackendUtility\getPathType_web_nonweb(), TYPO3\CMS\Core\Resource\Collection\FolderBasedFileCollection\getPersistableDataArray(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInputPlaceholders\getPlaceholderValue(), TYPO3\CMS\Core\Charset\CharsetConverter\getPreferredClientLanguage(), TYPO3\CMS\Impexp\Domain\Repository\PresetRepository\getPreset(), TYPO3\CMS\Frontend\Http\EidRequestHandler\getPriority(), TYPO3\CMS\Backend\Http\RequestHandler\getPriority(), TYPO3\CMS\Core\Resource\Processing\FileDeletionAspect\getProcessedFileRepository(), TYPO3\CMS\Core\Resource\ResourceFactory\getProcessedFileRepository(), TYPO3\CMS\Core\Resource\ResourceStorage\getProcessingFolder(), TYPO3\CMS\Core\Resource\OnlineMedia\Processing\PreviewProcessing\getProcessor(), TYPO3\CMS\Core\Log\Logger\getProcessors(), TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository\getRawModuleMenuData(), TYPO3\CMS\Setup\Controller\SetupModuleController\getRealScriptUserObj(), TYPO3\CMS\Workspaces\ExtDirect\ActionHandler\getRecipientList(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\getRecordArray(), TYPO3\CMS\Core\Utility\RootlineUtility\getRecordArray(), TYPO3\CMS\Backend\Tree\View\PagePositionMap\getRecordHeader(), TYPO3\CMS\Backend\Template\Components\MetaInformation\getRecordInformation(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getRecordRegistrationStatus(), TYPO3\CMS\Frontend\Page\PageRepository\getRecordsByField(), TYPO3\CMS\Workspaces\Service\StagesService\getRecordService(), TYPO3\CMS\Backend\Tree\Pagetree\DataProvider\getRecordWithWorkspaceOverlay(), TYPO3\CMS\Beuser\Controller\PermissionController\getRecursiveSelectOptions(), TYPO3\CMS\Version\Dependency\DependencyEntityFactory\getReference(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getReferenceIndexStatus(), TYPO3\CMS\Backend\Utility\BackendUtility\getRegisteredFlexForms(), TYPO3\CMS\Reports\Report\Status\Typo3Status\getRegisteredXclassStatus(), TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider\getRelatedRecords(), TYPO3\CMS\Core\Database\ReferenceIndex\getRelations(), TYPO3\CMS\Core\Database\ReferenceIndex\getRelations_procDB(), TYPO3\CMS\Core\Database\ReferenceIndex\getRelations_procFiles(), TYPO3\CMS\Install\Report\InstallStatusReport\getRemainingUpdatesStatus(), TYPO3\CMS\Extensionmanager\Utility\Repository\Helper\getRemoteMirrorListFile(), TYPO3\CMS\Reports\Report\Status\Status\getReport(), TYPO3\CMS\Form\Controller\WizardController\getRepository(), TYPO3\CMS\Frontend\Resource\FileCollector\getResourceFactory(), TYPO3\CMS\IndexedSearchMysql\Hook\MysqlFulltextIndexHook\getResultRows_SQLpointer(), TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository\getResultRows_SQLpointer(), TYPO3\CMS\Backend\Tree\Pagetree\ExtdirectTreeDataProvider\getRoot(), TYPO3\CMS\Backend\Tree\View\AbstractTreeView\getRootIcon(), TYPO3\CMS\Frontend\Page\PageRepository\getRootLine(), TYPO3\CMS\Rsaauth\Hook\UserSetupHook\getRsaEncryptionDecoder(), TYPO3\CMS\Rsaauth\RsaAuthService\getRsaEncryptionDecoder(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\getRuntimeCache(), TYPO3\CMS\Backend\Utility\BackendUtility\getRuntimeCache(), TYPO3\CMS\Cshmanual\Domain\Repository\TableManualRepository\getSections(), TYPO3\CMS\Impexp\Utility\ImportExportUtility\getSignalSlotDispatcher(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\getSignalSlotDispatcher(), TYPO3\CMS\Core\Resource\Service\FileProcessingService\getSignalSlotDispatcher(), TYPO3\CMS\Backend\Controller\EditDocumentController\getSignalSlotDispatcher(), TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService\getSignalSlotDispatcher(), TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem\getSignalSlotDispatcher(), TYPO3\CMS\Core\Imaging\IconFactory\getSignalSlotDispatcher(), TYPO3\CMS\Core\Database\SoftReferenceIndex\getSignalSlotDispatcher(), TYPO3\CMS\Backend\Utility\BackendUtility\getSignalSlotDispatcher(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIcon(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconForFile(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconForRecord(), TYPO3\CMS\Backend\Utility\IconUtility\getSpriteIconForResource(), TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getStageActions(), TYPO3\CMS\Workspaces\ExtDirect\ActionHandler\getStageService(), TYPO3\CMS\Workspaces\Domain\Record\AbstractRecord\getStagesService(), TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getStagesService(), TYPO3\CMS\Reports\Report\Status\SystemStatus\getStatus(), TYPO3\CMS\Reports\Report\Status\FalStatus\getStatus(), TYPO3\CMS\Reports\Report\Status\Status\getStatusProviders(), TYPO3\CMS\Core\Html\HtmlParser\getSubpart(), TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest\getSysDomainCacheReturnsCurrentDomainRecord(), TYPO3\CMS\Frontend\Tests\Unit\Controller\TypoScriptFrontendControllerTest\getSysDomainCacheReturnsForcedDomainRecord(), TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getSystemLanguages(), TYPO3\CMS\Workspaces\Service\GridDataService\getSystemLanguageValue(), TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook\getT3editor(), TYPO3\CMS\T3editor\Hook\FileEditHook\getT3editor(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\getTable(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_pages(), TYPO3\CMS\Recycler\Domain\Model\Tables\getTables(), TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider\getTableWhere(), TYPO3\CMS\SysAction\ActionTask\getTask(), TYPO3\CMS\Workspaces\Hook\DataHandlerHook\getTceMain(), TYPO3\CMS\Core\Tests\Functional\DataHandling\IRRE\AbstractTestCase\getTceMain(), TYPO3\CMS\Core\Resource\Processing\LocalPreviewHelper\getTemporaryFilePath(), TYPO3\CMS\Recordlist\LinkHandler\FileLinkHandler\getTitle(), TYPO3\CMS\Backend\RecordList\AbstractRecordList\getTranslateTools(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getTrustedHostsPatternStatus(), TYPO3\CMS\Frontend\Utility\EidUtility\getTSFE(), TYPO3\CMS\T3editor\TypoScriptReferenceLoader\getTypes(), TYPO3\CMS\Install\Controller\Action\Tool\CleanUp\getTypo3TempStatistics(), TYPO3\CMS\Core\Database\SoftReferenceIndex\getTypoLinkParts(), TYPO3\CMS\FluidStyledContent\ViewHelpers\Link\ClickEnlargeViewHelper\getTypoScriptService(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\getUidRootLineForClosestTemplate(), TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard\getUpdateObjectInstance(), TYPO3\CMS\Workspaces\Service\HistoryService\getUserName(), TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication\getUserTSconf(), TYPO3\CMS\Backend\Template\DocumentTemplate\getVersionSelector(), TYPO3\CMS\Fluid\Core\Compiler\AbstractCompiledTemplate\getViewHelper(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInline\getWorkspacedUids(), TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getWorkspaceInfos(), TYPO3\CMS\Workspaces\Hook\BackendUtilityHook\getWorkspaceService(), TYPO3\CMS\Workspaces\ExtDirect\PagetreeCollectionsProcessor\getWorkspaceService(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\handleDataSubmission(), TYPO3\CMS\Dbal\Database\DatabaseConnection\handler_init(), TYPO3\CMS\Install\Http\RequestHandler\handleRequest(), TYPO3\CMS\Backend\Console\CliRequestHandler\handleRequest(), TYPO3\CMS\Core\Resource\ResourceStorage\hasFile(), TYPO3\CMS\Form\Domain\Repository\ContentRepository\hasRecord(), TYPO3\CMS\Backend\Utility\BackendUtility\helpTextArray(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\HTMLparser_TSbridge(), TYPO3\CMS\Core\Page\PageRenderer\includeLanguageFileForInline(), TYPO3\CMS\Lang\LanguageService\includeLLFile(), TYPO3\CMS\Aboutmodules\Controller\ModulesController\indexAction(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\indexExtUrl(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\indexSingleRecord(), TYPO3\CMS\Dbal\Controller\ModuleController\init(), TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController\init(), TYPO3\CMS\Rtehtmlarea\Controller\ParseHtmlController\init(), TYPO3\CMS\Backend\Controller\ContentElement\ElementHistoryController\init(), TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView\init(), TYPO3\CMS\Lowlevel\View\ConfigurationView\init(), TYPO3\CMS\Backend\Controller\File\EditFileController\init(), TYPO3\CMS\Backend\Controller\FileSystemNavigationFrameController\init(), TYPO3\CMS\Backend\Controller\File\FileController\init(), TYPO3\CMS\Backend\Controller\PageTreeNavigationController\init(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\init(), TYPO3\CMS\Backend\Controller\SimpleDataHandlerController\init(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\init(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\init(), TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController\init(), TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController\init(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\init(), TYPO3\CMS\Frontend\Page\PageRepository\init(), TYPO3\CMS\Recordlist\RecordList\init(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\init(), TYPO3\CMS\Backend\Controller\PageLayoutController\init(), TYPO3\CMS\Setup\Controller\SetupModuleController\init(), TYPO3\CMS\IndexedSearch\Indexer\init(), TYPO3\CMS\Backend\Controller\EditDocumentController\init(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\initCaches(), TYPO3\CMS\Backend\Controller\File\FileController\initClipboard(), TYPO3\CMS\Backend\Controller\SimpleDataHandlerController\initClipboard(), TYPO3\CMS\Backend\Controller\LinkBrowserController\initCurrentUrl(), TYPO3\CMS\Backend\Controller\LinkBrowserController\initDocumentTemplate(), TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController\initDocumentTemplate(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\initDocumentTemplate(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\initFEuser(), TYPO3\CMS\Workspaces\ExtDirect\MassActionHandler\initFlushData(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\initHookObjects(), TYPO3\CMS\Rtehtmlarea\Controller\SelectImageController\initHookObjects(), TYPO3\CMS\Core\Localization\LocalizationFactory\initialize(), TYPO3\CMS\Recordlist\LinkHandler\AbstractLinkHandler\initialize(), TYPO3\CMS\Recordlist\Browser\FileBrowser\initialize(), TYPO3\CMS\Frontend\View\AdminPanelView\initialize(), TYPO3\CMS\Extbase\Scheduler\TaskExecutor\initialize(), TYPO3\CMS\Rtehtmlarea\ImageHandler\AddImageHandler\initialize(), TYPO3\CMS\IndexedSearch\Controller\SearchController\initialize(), TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository\initialize(), TYPO3\CMS\Dbal\Database\DatabaseConnection\initialize(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\initialize(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController\initialize_editor(), TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController\initialize_editor(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\initialize_editor(), TYPO3\CMS\Workspaces\Controller\AbstractController\initializeAction(), TYPO3\CMS\Workspaces\Controller\PreviewController\initializeAction(), TYPO3\CMS\Cshmanual\Controller\HelpController\initializeAction(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\initializeAction(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\initializeAction(), TYPO3\CMS\Backend\FrontendBackendUserAuthentication\initializeAdminPanel(), TYPO3\CMS\Core\Core\Bootstrap\initializeBackendAuthentication(), TYPO3\CMS\Core\Core\Bootstrap\initializeBackendTemplate(), TYPO3\CMS\Core\Localization\LocalizationFactory\initializeCache(), TYPO3\CMS\Extbase\Core\Bootstrap\initializeCache(), TYPO3\CMS\Backend\View\PageLayoutView\initializeClipboard(), TYPO3\CMS\Frontend\Http\RequestHandler\initializeController(), TYPO3\CMS\Core\Core\Bootstrap\initializeErrorHandling(), TYPO3\CMS\Impexp\Import\initializeImport(), TYPO3\CMS\Filelist\Controller\FileListController\initializeIndexAction(), TYPO3\CMS\Extbase\Object\Container\ClassInfoCache\initializeLevel2Cache(), TYPO3\CMS\Core\Resource\StorageRepository\initializeLocalCache(), TYPO3\CMS\Core\Mail\MailMessage\initializeMailer(), TYPO3\CMS\Extbase\SignalSlot\Dispatcher\initializeObject(), TYPO3\CMS\Core\Utility\RootlineUtility\initializeObject(), TYPO3\CMS\Extbase\Core\Bootstrap\initializeObjectManager(), TYPO3\CMS\Frontend\Http\RequestHandler\initializeOutputCompression(), TYPO3\CMS\Core\Core\Bootstrap\initializeSpriteManager(), TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject\initializeStandaloneViewInstance(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\initializeTceMain(), TYPO3\CMS\Backend\Controller\BackendController\initializeToolbarItems(), TYPO3\CMS\Core\Mail\Mailer\initializeTransport(), TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider\initializeTreeData(), TYPO3\CMS\Beuser\Controller\PermissionController\initializeView(), TYPO3\CMS\Workspaces\Service\GridDataService\initializeWorkspacesCachingFramework(), TYPO3\CMS\Frontend\Utility\EidUtility\initLanguage(), TYPO3\CMS\IndexedSearch\Example\CrawlerHook\initMessage(), TYPO3\CMS\Backend\Template\DocumentTemplate\initPageRenderer(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\initPageRenderer(), TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem\initShortcuts(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\initTemplate(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\initVariables(), TYPO3\CMS\Fluid\ViewHelpers\Be\TableListViewHelper\injectConfigurationManager(), TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper\injectConfigurationManager(), TYPO3\CMS\Extbase\Object\Container\Container\injectDependencies(), TYPO3\CMS\Filelist\Controller\FileListController\injectFileRepository(), TYPO3\CMS\Extensionmanager\ViewHelpers\UpdateScriptViewHelper\injectObjectManager(), TYPO3\CMS\Documentation\Slots\ExtensionManager\injectObjectManager(), TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager\injectQueryGenerator(), TYPO3\CMS\Lang\Command\LanguageCommandController\injectRegistryService(), TYPO3\CMS\Fluid\View\AbstractTemplateView\injectTemplateCompiler(), TYPO3\CMS\Backend\Form\NodeFactory\instantiate(), TYPO3\CMS\Frontend\Page\PageGenerator\isAllowedLinkVarValue(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\isBackendUserLoggedIn(), TYPO3\CMS\Core\Core\ClassLoadingInformation\isClassLoadingInformationAvailable(), TYPO3\CMS\Backend\Http\BackendModuleRequestHandler\isDispatchedModule(), TYPO3\CMS\Backend\View\PageLayoutView\isDragAndDropAllowed(), TYPO3\CMS\Rtehtmlarea\Controller\ImageRenderingController\isExternalImage(), TYPO3\CMS\Core\FormProtection\FormProtectionFactory\isFrontendSession(), TYPO3\CMS\Backend\Sprite\SpriteManager\isInitialized(), TYPO3\CMS\Workspaces\Controller\PreviewController\isInvalidStage(), TYPO3\CMS\Backend\Controller\LoginController\isLoginInProgress(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\isMemcachedUsed(), TYPO3\CMS\Core\Resource\ResourceStorage\isOnline(), TYPO3\CMS\Frontend\Page\PageGenerator\JSeventFunctions(), TYPO3\CMS\Filelist\FileList\linkClipboardHeaderIcon(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\linkWrapTemplateTitle(), TYPO3\CMS\Backend\Controller\LiveSearchController\liveSearchAction(), TYPO3\CMS\Backend\Routing\UriBuilder\loadBackendRoutes(), TYPO3\CMS\Core\Core\Bootstrap\loadConfigurationAndInitialize(), TYPO3\CMS\Core\Page\PageRenderer\loadJavaScriptLanguageStrings(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\loadModTsConfig(), TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider\loadTreeData(), TYPO3\CMS\Core\Tests\Unit\Log\Writer\FileWriterTest\logsToFileDataProvider(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\mailto_makelinks(), TYPO3\CMS\Frontend\Controller\PageInformationController\main(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\main(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\main(), TYPO3\CMS\Info\Controller\InfoModuleController\main(), TYPO3\CMS\Backend\Controller\ClickMenuController\main(), TYPO3\CMS\Backend\Controller\ContentElement\ElementHistoryController\main(), TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController\main(), TYPO3\CMS\Func\Controller\PageFunctionsController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController\main(), TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController\main(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\main(), TYPO3\CMS\Version\Controller\VersionModuleController\main(), TYPO3\CMS\Impexp\Controller\ImportExportController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\main(), TYPO3\CMS\Backend\Controller\PageTreeNavigationController\main(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\main(), TYPO3\CMS\Setup\Controller\SetupModuleController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Lowlevel\DeletedRecordsCommand\main_autoFix(), TYPO3\CMS\Lowlevel\OrphanRecordsCommand\main_autoFix(), TYPO3\CMS\Lowlevel\MissingFilesCommand\main_autoFix(), TYPO3\CMS\Lowlevel\CleanFlexformCommand\main_autoFix(), TYPO3\CMS\Lowlevel\DoubleFilesCommand\main_autoFix(), TYPO3\CMS\Lowlevel\MissingRelationsCommand\main_autoFix(), TYPO3\CMS\Lowlevel\RteImagesCommand\main_autoFix(), TYPO3\CMS\Lowlevel\VersionsCommand\main_autoFix(), TYPO3\CMS\Rtehtmlarea\Controller\ParseHtmlController\main_parse_html(), TYPO3\CMS\Lowlevel\CleanFlexformCommand\main_parseTreeCallBack(), TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController\main_user(), TYPO3\CMS\Backend\Controller\OnlineMediaController\mainAction(), TYPO3\CMS\Backend\Controller\Wizard\EditController\mainAction(), TYPO3\CMS\Backend\Controller\Wizard\RteController\mainAction(), TYPO3\CMS\Backend\Controller\Wizard\AddController\mainAction(), TYPO3\CMS\Backend\Controller\SimpleDataHandlerController\mainAction(), TYPO3\CMS\Frontend\Page\FramesetRenderer\make(), TYPO3\CMS\Backend\Template\Components\ButtonBar\makeButton(), TYPO3\CMS\Backend\Template\Components\ButtonBar\makeFullyRenderedButton(), TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject\makeGifs(), TYPO3\CMS\Backend\Template\Components\ButtonBar\makeHelpButton(), TYPO3\CMS\Backend\Template\Components\ButtonBar\makeInputButton(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceCalledTwoTimesAfterAddInstanceReturnTwoDifferentInstances(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceCalledTwoTimesForNonSingletonClassReturnsDifferentInstances(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceCalledTwoTimesForSingletonClassReturnsSameInstance(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceCalledTwoTimesForSingletonClassWithPurgeInstancesInbetweenReturnsDifferentInstances(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceInstanciatesConfiguredImplementation(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstancePassesParametersToConstructor(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceResolvesConfiguredImplementationsRecursively(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceReturnsClassInstance(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceWithBeginningSlashInClassNameThrowsException(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceWithEmptyArrayThrowsException(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceWithEmptyClassNameThrowsException(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceWithNonEmptyArrayThrowsException(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceWithNullClassNameThrowsException(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\makeInstanceWithZeroStringClassNameThrowsException(), TYPO3\CMS\Backend\Template\Components\ButtonBar\makeLinkButton(), TYPO3\CMS\Backend\Template\Components\MenuRegistry\makeMenu(), TYPO3\CMS\Backend\Template\Components\Menu\Menu\makeMenuItem(), TYPO3\CMS\IndexedSearch\Controller\SearchController\makeRating(), TYPO3\CMS\Impexp\Controller\ImportExportController\makeSaveForm(), TYPO3\CMS\Backend\Template\Components\ButtonBar\makeShortcutButton(), TYPO3\CMS\Backend\Template\ModuleTemplate\makeShortcutUrl(), TYPO3\CMS\Backend\Template\Components\ButtonBar\makeSplitButton(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\makeStatusLabel(), TYPO3\CMS\Dbal\Database\DatabaseConnection\map_fieldNamesInArray(), TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper\mapDateTime(), TYPO3\CMS\Core\Resource\ResourceStorage\markAsTemporaryOffline(), TYPO3\CMS\IndexedSearch\Controller\SearchController\markupSWpartsOfString(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\markupSWpartsOfString(), TYPO3\CMS\Install\Updates\AbstractUpdate\markWizardAsDone(), TYPO3\CMS\Lowlevel\View\ConfigurationView\menuConfig(), TYPO3\CMS\Backend\Controller\FormInlineAjaxController\mergeChildResultIntoJsonResult(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\mergeTSRef(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFlexPrepare\migrateFlexformTcaRecursive(), TYPO3\CMS\Backend\Template\DocumentTemplate\moduleBody(), TYPO3\CMS\Core\DataHandling\DataHandler\moveL10nOverlayRecords(), TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord_processFieldValue(), TYPO3\CMS\Core\Resource\OnlineMedia\Processing\PreviewProcessing\needsReprocessing(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\newCObj(), TYPO3\CMS\Core\DataHandling\DataHandler\newlog2(), TYPO3\CMS\Backend\Tree\View\ContentLayoutPagePositionMap\onClickInsertRecord(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\pageErrorHandler(), TYPO3\CMS\Backend\Controller\EditDocumentController\parseAdditionalGetParameters(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\parseFunc(), TYPO3\CMS\Backend\Configuration\TsConfigParser\parseTSconfig(), TYPO3\CMS\Backend\History\RecordHistory\performRollback(), TYPO3\CMS\Install\Updates\ProcessedFileChecksumUpdate\performUpdate(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_getEditPanel(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_getLL(), TYPO3\CMS\T3editor\Hook\FileEditHook\postOutputProcessingHook(), TYPO3\CMS\Dbal\Database\DatabaseConnection\precompileSELECTquery(), TYPO3\CMS\Dbal\Database\DatabaseConnection\prepare_SELECTquery(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForBrowseMenu(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForDirectoryMenu(), TYPO3\CMS\Backend\Form\Container\AbstractContainer\previewFieldValue(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\printContent(), TYPO3\CMS\Backend\Controller\EditDocumentController\printContent(), TYPO3\CMS\Frontend\ContentObject\ContentDataProcessor\process(), TYPO3\CMS\Backend\Controller\Page\LocalizationController\process(), TYPO3\CMS\T3editor\CodeCompletion\processAjaxRequest(), TYPO3\CMS\Core\Imaging\IconFactory\processAjaxRequest(), TYPO3\CMS\Backend\Controller\File\FileController\processAjaxRequest(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\processDatabaseFieldValue(), TYPO3\CMS\Rsaauth\Hook\DecryptionHook\processDatamap_preProcessFieldArray(), TYPO3\CMS\Core\TypoScript\TemplateService\processIncludes(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\processingByExtClassArray(), TYPO3\CMS\Sv\Tests\Unit\AuthenticationServiceTest\processLoginDataProvider(), TYPO3\CMS\Core\Tests\Unit\Log\Processor\AbstractProcessorTest\processorRefusesInvalidConfigurationOptions(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\processRequest(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\processSessionData(), TYPO3\CMS\Recordlist\Browser\FolderBrowser\processSessionData(), TYPO3\CMS\Recordlist\Browser\FileBrowser\processSessionData(), TYPO3\CMS\Core\Database\QueryView\procesStoreControl(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\purgeInstancesDropsAddedInstance(), TYPO3\CMS\Core\Utility\File\ExtendedFileUtility\pushErrorMessagesToFlashMessageQueue(), TYPO3\CMS\Core\Database\QueryView\queryMaker(), TYPO3\CMS\Core\Tests\Functional\DataHandling\Framework\DataSet\read(), TYPO3\CMS\Workspaces\Service\AdditionalColumnService\register(), TYPO3\CMS\Workspaces\Controller\ReviewController\registerButtons(), TYPO3\CMS\Core\Core\ClassLoadingInformation\registerClassLoadingInformation(), TYPO3\CMS\Core\Core\Bootstrap\registerRequestHandlerImplementation(), TYPO3\CMS\Extensionmanager\Controller\ActionController\reloadExtensionDataAction(), TYPO3\CMS\Extensionmanager\Utility\InstallUtility\reloadOpcache(), TYPO3\CMS\Impexp\Import\remapListedDBRecords_flexFormCallBack(), TYPO3\CMS\Core\Resource\Index\FileIndexRepository\remove(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFlexProcess\removeDisabledFieldsFromDataStructure(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\removeInaccessiblePages(), TYPO3\CMS\Form\View\Wizard\WizardView\removeTrailingDotsFromTyposcript(), TYPO3\CMS\Frontend\ContentObject\TemplateContentObject\render(), TYPO3\CMS\Extensionmanager\ViewHelpers\RemoveExtensionViewHelper\render(), TYPO3\CMS\Rsaauth\Form\Element\RsaInputElement\render(), TYPO3\CMS\Backend\Form\Container\FlexFormContainerContainer\render(), TYPO3\CMS\Backend\ViewHelpers\AvatarViewHelper\render(), TYPO3\CMS\Extensionmanager\ViewHelpers\ConfigureExtensionViewHelper\render(), TYPO3\CMS\Backend\LoginProvider\UsernamePasswordLoginProvider\render(), TYPO3\CMS\Documentation\ViewHelpers\FormatsViewHelper\render(), TYPO3\CMS\Backend\Form\Container\OuterWrapContainer\render(), TYPO3\CMS\Beuser\ViewHelpers\SpriteIconForRecordViewHelper\render(), TYPO3\CMS\Belog\ViewHelpers\WorkspaceTitleViewHelper\render(), TYPO3\CMS\Belog\ViewHelpers\UsernameViewHelper\render(), TYPO3\CMS\Core\ViewHelpers\IconViewHelper\render(), TYPO3\CMS\Belog\ViewHelpers\HistoryEntryViewHelper\render(), TYPO3\CMS\Backend\Form\Element\TextElement\render(), TYPO3\CMS\Beuser\ViewHelpers\RemoveUserViewHelper\render(), TYPO3\CMS\Extensionmanager\ViewHelpers\ReloadSqlDataViewHelper\render(), TYPO3\CMS\Backend\Backend\Avatar\Avatar\render(), TYPO3\CMS\Fluid\ViewHelpers\Be\PageInfoViewHelper\render(), TYPO3\CMS\Fluid\ViewHelpers\Link\TypolinkViewHelper\render(), TYPO3\CMS\Fluid\ViewHelpers\Format\CropViewHelper\render(), TYPO3\CMS\Recordlist\LinkHandler\UrlLinkHandler\render(), TYPO3\CMS\Recordlist\LinkHandler\MailLinkHandler\render(), TYPO3\CMS\Rtehtmlarea\ImageHandler\EditImageHandler\render(), TYPO3\CMS\Core\Messaging\AbstractStandaloneMessage\render(), TYPO3\CMS\Core\Http\AjaxRequestHandler\render(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\render(), TYPO3\CMS\Backend\Controller\BackendController\render(), TYPO3\CMS\Core\Page\PageRenderer\render(), TYPO3\CMS\Core\Http\AjaxRequestHandler\renderAsJavascript(), TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\UploadViewHelperTest\renderCallsSetErrorClassAttribute(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\renderCurrentUrl(), TYPO3\CMS\Backend\History\RecordHistory\renderDiff(), TYPO3\CMS\Recordlist\Browser\FileBrowser\renderFilesInFolder(), TYPO3\CMS\Rtehtmlarea\ImageHandler\AddImageHandler\renderFilesInFolder(), TYPO3\CMS\SysAction\ActionTask\renderFlashMessages(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\renderListMenu(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\renderPageTitle(), TYPO3\CMS\Core\Page\PageRenderer\renderPageWithUncachedObjects(), TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\TranslateViewHelperTest\renderReturnsDefaultIfNoTranslationIsFound(), TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\TranslateViewHelperTest\renderReturnsStringForGivenId(), TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\TranslateViewHelperTest\renderReturnsStringForGivenKey(), TYPO3\CMS\Belog\ViewHelpers\ErrorIconViewHelper\renderStatic(), TYPO3\CMS\Beuser\ViewHelpers\SwitchUserViewHelper\renderStatic(), TYPO3\CMS\Fluid\ViewHelpers\Uri\TypolinkViewHelper\renderStatic(), TYPO3\CMS\Fluid\ViewHelpers\Be\Buttons\ShortcutViewHelper\renderStatic(), TYPO3\CMS\Fluid\ViewHelpers\Be\Buttons\IconViewHelper\renderStatic(), TYPO3\CMS\Fluid\ViewHelpers\Format\HtmlViewHelper\renderStatic(), TYPO3\CMS\Fluid\ViewHelpers\Uri\ImageViewHelper\renderStatic(), TYPO3\CMS\Fluid\ViewHelpers\Format\CaseViewHelper\renderStatic(), TYPO3\CMS\Backend\Form\Container\AbstractContainer\renderTabMenu(), TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\TranslateViewHelperTest\renderThrowsExceptionIfNoKeyOrIdParameterIsGiven(), TYPO3\CMS\Beuser\Controller\PermissionAjaxController\renderToggleEditLock(), TYPO3\CMS\Setup\Controller\SetupModuleController\renderUserSetup(), TYPO3\CMS\Backend\Form\Wizard\ValueSliderWizard\renderWizard(), TYPO3\CMS\Core\Utility\File\ExtendedFileUtility\replaceFile(), TYPO3\CMS\Core\Tests\Unit\Cache\Frontend\PhpFrontendTest\requireOnceCallsTheBackendsRequireOnceMethod(), TYPO3\CMS\Core\Log\LogManager\reset(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\resetUC(), TYPO3\CMS\Core\Resource\OnlineMedia\Processing\PreviewProcessing\resizeImage(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\resolveMixedLinkParameter(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInline\resolveRelatedRecords(), TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\TranslateViewHelperTest\resultIsNotHtmlEscapedIfSoRequested(), TYPO3\CMS\Core\ExtDirect\ExtDirectRouter\routeAction(), TYPO3\CMS\Frontend\Controller\ExtDirectEidController\routeAction(), TYPO3\CMS\Core\Html\RteHtmlParser\RTE_transform(), TYPO3\CMS\Fluid\Core\Widget\Bootstrap\run(), TYPO3\CMS\T3editor\Hook\TypoScriptTemplateInfoHook\save(), TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository\saveKeywords(), TYPO3\CMS\SysAction\ActionTask\saveNewBackendUser(), TYPO3\CMS\Backend\Form\Wizard\SuggestWizard\searchAction(), TYPO3\CMS\Core\Database\DatabaseConnection\searchQuery(), TYPO3\CMS\Core\Mail\MboxTransport\send(), TYPO3\CMS\Extbase\Mvc\Web\Response\send(), TYPO3\CMS\Workspaces\ExtDirect\ActionHandler\sendPageToNextStage(), TYPO3\CMS\Workspaces\ExtDirect\ActionHandler\sendPageToPreviousStage(), TYPO3\CMS\Workspaces\ExtDirect\ActionHandler\sentCollectionToStage(), TYPO3\CMS\Core\Cache\Backend\FileBackend\set(), TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend\set(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\set_cache_timeout_default(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\setCachedList(), TYPO3\CMS\Core\Http\HttpRequest\setConfiguration(), TYPO3\CMS\Core\Error\ErrorHandler\setDebugMode(), TYPO3\CMS\Backend\Template\ModuleTemplate\setFlashMessageQueue(), TYPO3\CMS\Impexp\Import\setFlexFormRelations(), TYPO3\CMS\Form\PostProcess\MailPostProcessor\setFrom(), TYPO3\CMS\Core\DataHandling\DataHandler\setHistory(), TYPO3\CMS\Core\Tests\Unit\Log\Writer\FileWriterTest\setLogFileAcceptsAbsolutePath(), TYPO3\CMS\Core\Tests\Unit\Log\Writer\FileWriterTest\setLogFileSetsLogFile(), TYPO3\CMS\Reports\Task\SystemStatusUpdateTask\setNotificationEmail(), TYPO3\CMS\Core\Tests\Unit\Cache\Frontend\PhpFrontendTest\setPassesPhpSourceCodeTagsAndLifetimeToBackend(), TYPO3\CMS\Scheduler\Task\AbstractTask\setScheduler(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\setSingletonInstanceCalledTwoTimesMakesMakeInstanceReturnLastSetInstance(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\setSingletonInstanceMakesMakeInstanceReturnThatInstance(), TYPO3\CMS\Core\Imaging\Icon\setSize(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\setTemporaryDbMounts(), TYPO3\CMS\Core\TimeTracker\TimeTracker\setTSlogMessage(), TYPO3\CMS\Core\Database\SoftReferenceIndex\setTypoLinkPartsElement(), TYPO3\CMS\Core\Tests\Unit\Log\LogManagerTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Mail\MailMessageTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Service\MarkerBasedTemplateServiceTest\setUp(), TYPO3\CMS\Dbal\Tests\Unit\Database\SqlParserTest\setUp(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Mapper\DataMapperTest\setUp(), TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest\setUp(), TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Imaging\IconProvider\FontawesomeIconProviderTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Imaging\IconProvider\BitmapIconProviderTest\setUp(), TYPO3\CMS\Impexp\Tests\Functional\Export\AbstractExportTestCase\setUp(), TYPO3\CMS\Recycler\Tests\Functional\Recycle\AbstractRecycleTestCase\setUp(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\RelationTest\setUp(), TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\HookTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Localization\Parser\XliffParserTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Imaging\IconProvider\SvgIconProviderTest\setUp(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\setUp(), TYPO3\CMS\Impexp\Tests\Functional\Import\AbstractImportTestCase\setUp(), TYPO3\CMS\Core\Tests\Unit\Localization\Parser\LocallangXmlParserTest\setUp(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\InTest\setUp(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\QueryParserTest\setUp(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\AddTest\setUp(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\OperatorTest\setUp(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\CountTest\setUp(), TYPO3\CMS\Core\Tests\Functional\Category\Collection\CategoryCollectionTest\setUp(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedContentTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Cache\Backend\PdoBackendTest\setUpBackend(), TYPO3\CMS\Core\Tests\FunctionalTestCaseBootstrapUtility\setUpBasicTypo3Bootstrap(), TYPO3\CMS\Core\Tests\Unit\Log\Writer\FileWriterTest\setUpVfsStream(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\showAction(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\simplelog(), TYPO3\CMS\Extbase\Utility\FrontendSimulatorUtility\simulateFrontendEnvironment(), TYPO3\CMS\Fluid\ViewHelpers\Format\HtmlViewHelper\simulateFrontendEnvironment(), TYPO3\CMS\Fluid\ViewHelpers\Format\CropViewHelper\simulateFrontendEnvironment(), TYPO3\CMS\Setup\Controller\SetupModuleController\simulateUser(), TYPO3\CMS\Workspaces\Controller\ReviewController\singleIndexAction(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\sL(), TYPO3\CMS\Core\Package\PackageManager\sortAndSavePackageStates(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\start(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\stdWrap_editPanel(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\stdWrap_offsetWrap(), TYPO3\CMS\Scheduler\Task\AbstractTask\stop(), TYPO3\CMS\Frontend\Page\PageRepository\storeHash(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\substituteCMarkers(), TYPO3\CMS\Core\Html\HtmlParser\substituteMarker(), TYPO3\CMS\Core\Html\HtmlParser\substituteMarkerAndSubpartArrayRecursive(), TYPO3\CMS\Core\Html\HtmlParser\substituteMarkerArray(), TYPO3\CMS\Core\Html\HtmlParser\substituteSubpart(), TYPO3\CMS\Core\Html\HtmlParser\substituteSubpartArray(), TYPO3\CMS\Beuser\Hook\SwitchBackUserHook\switchBack(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController\tableRow(), TYPO3\CMS\Backend\Controller\Wizard\TableController\tableWizard(), TYPO3\CMS\Core\Tests\Unit\Log\LogManagerTest\tearDown(), TYPO3\CMS\Core\Tests\Unit\Localization\Parser\LocallangXmlParserTest\tearDown(), TYPO3\CMS\Core\Tests\Unit\Localization\Parser\XliffParserTest\tearDown(), TYPO3\CMS\Core\Integrity\DatabaseIntegrityCheck\testDBRefs(), TYPO3\CMS\Backend\Utility\BackendUtility\titleAltAttrib(), TYPO3\CMS\Recycler\Controller\DeletedRecordsController\transform(), TYPO3\CMS\Core\DataHandling\DataHandler\transformRichtextContentToDatabase(), TYPO3\CMS\Extbase\Utility\LocalizationUtility\translateFileReference(), TYPO3\CMS\Core\Html\RteHtmlParser\TS_links_db(), TYPO3\CMS\Core\Html\RteHtmlParser\TS_links_rte(), TYPO3\CMS\Recycler\Domain\Model\DeletedRecords\undeleteData(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\unloadExtension(), TYPO3\CMS\Core\Core\Bootstrap\unsetReservedGlobalVariables(), TYPO3\CMS\Scheduler\Task\AbstractTask\unsetScheduler(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\updateBrokenLinks(), TYPO3\CMS\Lang\Controller\LanguageController\updateLanguageAction(), TYPO3\CMS\Lang\Domain\Repository\LanguageRepository\updateSelectedLanguages(), TYPO3\CMS\Workspaces\ExtDirect\ActionHandler\updateStageChangeButtons(), TYPO3\CMS\Lang\Controller\LanguageController\updateTranslationAction(), TYPO3\CMS\Fluid\Compatibility\DocbookGeneratorService\userFunc(), TYPO3\CMS\Backend\Backend\Avatar\Avatar\validateSortAndInitiateAvatarProviders(), TYPO3\CMS\Version\Controller\VersionModuleController\versioningMgm(), TYPO3\CMS\Version\Hook\DataHandlerHook\versionizePages(), TYPO3\CMS\Core\TypoScript\TemplateService\versionOL(), TYPO3\CMS\SysAction\ActionTask\viewEditRecord(), TYPO3\CMS\SysAction\ActionTask\viewRecordList(), TYPO3\CMS\SysAction\ActionTask\viewSqlQuery(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\wizard_appendWizards(), TYPO3\CMS\Recordlist\Tree\View\ElementBrowserPageTreeView\wrapTitle(), TYPO3\CMS\Core\Configuration\ConfigurationManager\writeLocalConfiguration(), and TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\writeTemporaryFile().

◆ makeInstanceService()

static TYPO3\CMS\Core\Utility\GeneralUtility::makeInstanceService (   $serviceType,
  $serviceSubType = '',
  $excludeServiceKeys = [] 
)
static

Find the best service and check if it works. Returns object of the service class.

Parameters
string$serviceTypeType of service (service key).
string$serviceSubTypeSub type like file extensions or similar. Defined by the service.
mixed$excludeServiceKeysList of service keys which should be excluded in the search for a service. Array or comma list.
Returns
object|string[] The service object or an array with error infos.

Definition at line 4826 of file GeneralUtility.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\array_merge(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\deactivateService(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\findService(), and TYPO3\CMS\Core\Utility\DebugUtility\viewArray().

Referenced by TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\checkAuthentication(), TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication\fetchGroupData(), and TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\processLoginData().

◆ makeRedirectUrl()

static TYPO3\CMS\Core\Utility\GeneralUtility::makeRedirectUrl (   $inUrl,
  $l = 0,
  $index_script_url = '' 
)
static

Create a shortened "redirect" URL with specified length from an incoming URL

Parameters
string$inUrlInput URL
int$lURL string length limit
string$index_script_urlURL of "index script" - the prefix of the "?RDCT=..." parameter. If not supplied it will default to ::getIndpEnv('TYPO3_REQUEST_DIR').'index.php'
Returns
string Processed URL

Definition at line 5065 of file GeneralUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\Utility\GeneralUtility\substUrlsInPlainText().

◆ md5int()

◆ milliseconds()

◆ minifyJavaScript()

◆ mkdir()

static TYPO3\CMS\Core\Utility\GeneralUtility::mkdir (   $newFolder)
static

Wrapper function for mkdir. Sets folder permissions according to $GLOBALS['TYPO3_CONF_VARS']['SYS']['folderCreateMask'] and group ownership according to $GLOBALS['TYPO3_CONF_VARS']['SYS']['createGroup']

Parameters
string$newFolderAbsolute path to folder, see PHP mkdir() function. Removes trailing slash internally.
Returns
bool TRUE if went well!

Definition at line 2864 of file GeneralUtility.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\Locking\FileLockStrategy\__construct(), TYPO3\CMS\Core\Locking\SimpleLockStrategy\__construct(), TYPO3\CMS\Core\Locking\SemaphoreLockStrategy\__construct(), TYPO3\CMS\Core\Resource\ResourceCompressor\__construct(), TYPO3\CMS\SysAction\ActionTask\action_createDir(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\addDirectory(), TYPO3\CMS\Impexp\Import\checkOrCreateDir(), TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService\copyDependencies(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\copyDirectoryCopiesFilesAndDirectoriesWithAbsolutePaths(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\copyDirectoryCopiesFilesAndDirectoriesWithRelativePaths(), TYPO3\CMS\Extensionmanager\Controller\UploadExtensionFileController\copyExtensionFolderToTempFolder(), TYPO3\CMS\Core\Utility\GeneralUtility\createDirectoryPath(), TYPO3\CMS\Extensionmanager\Tests\Unit\Utility\FileHandlingUtilityTest\createFakeExtension(), TYPO3\CMS\Extensionmanager\Tests\Unit\Utility\InstallUtilityTest\createFakeExtension(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\createFolder(), TYPO3\CMS\Core\Locking\Locker\createPathIfNeeded(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\createTempSubDir(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\createZipFileFromExtension(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsCorrectlySetsPermissionsRecursive(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsDefaultPermissionsToDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsPermissionsToDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsPermissionsToDirectoryWithTrailingSlash(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsPermissionsToHiddenDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\ExtensionManagementUtilityTest\getExtLocalconfCacheIdentifierCreatesSha1WithFourtyCharactersAndPrefix(), TYPO3\CMS\Install\Report\InstallStatusReport\getFileSystemStatus(), TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\AbstractOnlineMediaHelper\getTempFolderPath(), TYPO3\CMS\Extensionmanager\Utility\InstallUtility\importInitialFiles(), TYPO3\CMS\Extensionmanager\Tests\Unit\Utility\InstallUtilityTest\importT3DFileDoesNotImportFileIfAlreadyImported(), TYPO3\CMS\Backend\Sprite\SpriteManager\isInitialized(), TYPO3\CMS\Backend\Utility\IconUtility\makeIcon(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirCreatesDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirCreatesDirectoryWithTrailingSlash(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirCreatesHiddenDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirSetsGroupOwnershipOfCreatedDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirSetsPermissionsOfCreatedDirectory(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\moveFolderWithinStorage(), TYPO3\CMS\Extensionmanager\Tests\Unit\Utility\InstallUtilityTest\processDatabaseUpdatesCallsImportFile(), TYPO3\CMS\Impexp\Import\processSoftReferences_saveFile_createRelFile(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\readPngGif(), and TYPO3\CMS\Extensionmanager\Controller\UploadExtensionFileController\removeExtensionAndRestoreFromBackup().

◆ mkdir_deep()

static TYPO3\CMS\Core\Utility\GeneralUtility::mkdir_deep (   $directory,
  $deepDirectory = '' 
)
static

Creates a directory - including parent directories if necessary and sets permissions on newly created directories.

Parameters
string$directoryTarget directory to create. Must a have trailing slash
string$deepDirectoryDirectory to create. This second parameter
Returns
void
Exceptions

Definition at line 2883 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\applyFiltersToValues(), TYPO3\CMS\Core\Tests\Unit\Resource\Driver\LocalDriverTest\copyFolderWithinStorageCopiesFileInSingleSubFolderToNewFolderName(), TYPO3\CMS\Core\Tests\Unit\Resource\Driver\LocalDriverTest\copyFolderWithinStorageCopiesSingleSubFolderToNewFolderName(), TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend\createFinalCacheDirectory(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\createFolder(), TYPO3\CMS\Core\Log\Writer\FileWriter\createLogFile(), TYPO3\CMS\Core\Tests\Unit\Utility\ExtensionManagementUtilityTest\createMockPackageManagerWithMockPackage(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\createNestedDirectory(), TYPO3\CMS\Core\Core\ClassLoadingInformation\ensureAutoloadInfoDirExists(), TYPO3\CMS\Install\Service\SessionService\ensureSessionSavePathExists(), TYPO3\CMS\Install\Tests\Unit\FolderStructure\FileNodeTest\fixSelfReturnsArrayOfStatusMessages(), TYPO3\CMS\Install\Tests\Unit\FolderStructureTestCase\getVirtualTestDir(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getVirtualTestDir(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepCreatesDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepCreatesDirectoryInVfsStream(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepCreatesDirectoryWithDoubleSlashes(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepCreatesSubdirectoriesRecursive(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepDoesNotChangePermissionsOfExistingSubDirectories(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepFixesPermissionsOfCreatedDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepFixesPermissionsOnNewParentDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepSetsGroupOwnershipOfCreatedDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepSetsGroupOwnershipOfCreatedParentDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepSetsGroupOwnershipOnNewSubDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepThrowsExceptionIfBaseDirectoryIsNotOfTypeString(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepThrowsExceptionIfDeepDirectoryIsNotOfTypeString(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\mkdirDeepThrowsExceptionIfDirectoryCreationFails(), TYPO3\CMS\Install\Service\CoreUpdateService\setDownloadTargetPath(), TYPO3\CMS\Documentation\Service\DocumentationService\unzipDocumentPackage(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\unzipExtensionFromFile(), TYPO3\CMS\Lang\Service\TerService\unzipTranslationFile(), and TYPO3\CMS\Lang\Service\TerService\updateTranslation().

◆ modifyHTMLColor()

static TYPO3\CMS\Core\Utility\GeneralUtility::modifyHTMLColor (   $color,
  $R,
  $G,
  $B 
)
static

Modifies a HTML Hex color by adding/subtracting $R,$G and $B integers

Parameters
string$colorA hexadecimal color code, #xxxxxx
int$ROffset value 0-255
int$GOffset value 0-255
int$BOffset value 0-255
Returns
string A hexadecimal color code, #xxxxxx, modified according to input vars
See also
modifyHTMLColorAll()
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8

Definition at line 901 of file GeneralUtility.php.

References TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange().

◆ modifyHTMLColorAll()

static TYPO3\CMS\Core\Utility\GeneralUtility::modifyHTMLColorAll (   $color,
  $all 
)
static

Modifies a HTML Hex color by adding/subtracting $all integer from all R/G/B channels

Parameters
string$colorA hexadecimal color code, #xxxxxx
int$allOffset value 0-255 for all three channels.
Returns
string A hexadecimal color code, #xxxxxx, modified according to input vars
See also
modifyHTMLColor()
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8

Definition at line 920 of file GeneralUtility.php.

◆ naturalKeySortRecursive()

static TYPO3\CMS\Core\Utility\GeneralUtility::naturalKeySortRecursive ( $array)
static

Sorts an array by key recursive - uses natural sort order (aAbB-zZ)

Parameters
array$arrayarray to be sorted recursively, passed by reference
Returns
bool TRUE if param is an array
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8 - use ArrayUtility::naturalKeySortRecursive() instead

Definition at line 1846 of file GeneralUtility.php.

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

◆ normalizeIPv6()

static TYPO3\CMS\Core\Utility\GeneralUtility::normalizeIPv6 (   $address)
static

Normalize an IPv6 address to full length

Parameters
string$addressGiven IPv6 address
Returns
string Normalized address
See also
compressIPv6()

Definition at line 500 of file GeneralUtility.php.

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

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\normalizeIPv6CorrectlyNormalizesAddresses().

◆ normalizeMailAddress()

static TYPO3\CMS\Core\Utility\GeneralUtility::normalizeMailAddress (   $address)
static

Changes from/to arguments for mail() function to work in any environment.

Parameters
string$addressAddress to adjust
Returns
string Adjusted address
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8

Definition at line 1143 of file GeneralUtility.php.

◆ png_to_gif_by_imagemagick()

static TYPO3\CMS\Core\Utility\GeneralUtility::png_to_gif_by_imagemagick (   $theFile)
static

Converts a png file to gif. This converts a png file to gif IF the FLAG $GLOBALS['TYPO3_CONF_VARS']['FE']['png_to_gif'] is set TRUE.

Parameters
string$theFileThe filename with path
Returns
string New filename
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8. Use ::pngToGifByImagemagick() instead.

Definition at line 295 of file GeneralUtility.php.

References TYPO3\CMS\Core\Imaging\GraphicalFunctions\pngToGifByImagemagick().

◆ presetApplicationContext()

static TYPO3\CMS\Core\Utility\GeneralUtility::presetApplicationContext ( ApplicationContext  $applicationContext)
static

Set the ApplicationContext

This function is used by the Bootstrap to hand over the application context. It must not be used anywhere else, because the context shall never be changed on runtime!

Parameters
\TYPO3\CMS\Core\Core\ApplicationContext$applicationContext
Exceptions

Definition at line 5458 of file GeneralUtility.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\$applicationContext.

Referenced by TYPO3\CMS\Core\Core\Bootstrap\baseSetup().

◆ purgeInstances()

static TYPO3\CMS\Core\Utility\GeneralUtility::purgeInstances ( )
static

◆ quoted_printable()

static TYPO3\CMS\Core\Utility\GeneralUtility::quoted_printable (   $string,
  $maxlen = 76 
)
static

Implementation of quoted-printable encode. See RFC 1521, section 5.1 Quoted-Printable Content-Transfer-Encoding

Parameters
string$stringContent to encode
int$maxlenLength of the lines, default is 76
Returns
string The QP encoded string
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8. Use mailer API instead

Definition at line 4909 of file GeneralUtility.php.

◆ quoteJSvalue()

static TYPO3\CMS\Core\Utility\GeneralUtility::quoteJSvalue (   $value)
static

Quotes a string for usage as JS parameter.

Parameters
string$valuethe string to encode, may be empty
Returns
string the encoded value already quoted (with single quotes),

Definition at line 5391 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Backend\View\PageTreeView\__construct(), TYPO3\CMS\Backend\Controller\BackendLayoutWizardController\__construct(), TYPO3\CMS\Backend\Controller\BackendController\__construct(), TYPO3\CMS\Setup\Controller\SetupModuleController\addAvatarButtonJs(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\addOnSubmitJavaScriptCode(), TYPO3\CMS\Version\Controller\VersionModuleController\adminLinks(), TYPO3\CMS\Rtehtmlarea\Extension\UserElements\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3HtmlParser\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3Link\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3Image\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3Link\buildJSClassesAnchorArray(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\compileResult(), TYPO3\CMS\IndexedSearch\Controller\SearchController\compileResultRows(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\createReferenceHtml(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\DB_changeFlag(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\DB_copycut(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\DB_db_list(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\DB_delete(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\DB_edit(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\DB_info(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\DB_new(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\DB_paste(), TYPO3\CMS\Core\Utility\DebugUtility\debug(), TYPO3\CMS\Core\Utility\DebugUtility\debugInPopUpWindow(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\detectLinkTypeFromLinkParameter(), TYPO3\CMS\Backend\History\RecordHistory\displaySettings(), TYPO3\CMS\Reports\Report\Status\WarningMessagePostProcessor\displayWarningMessages_postProcess(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\dragDrop_copymovefolder(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\dragDrop_copymovepage(), TYPO3\CMS\Backend\Utility\BackendUtility\editOnClick(), TYPO3\CMS\Feedit\FrontendEditPanel\editPanelLinkWrap(), TYPO3\CMS\Rsaauth\RsaEncryptionEncoder\enableRsaEncryption(), TYPO3\CMS\Core\TypoScript\ConfigurationForm\ext_getForm(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\FILE_copycut(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\FILE_delete(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\FILE_launch(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\FILE_paste(), TYPO3\CMS\Frontend\ContentObject\Menu\JavaScriptMenuContentObject\generate_level(), TYPO3\CMS\Backend\Form\Element\SelectTreeElement\generateJavascript(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getButtons(), TYPO3\CMS\Backend\Controller\PageTreeNavigationController\getButtons(), TYPO3\CMS\Backend\Controller\File\EditFileController\getButtons(), TYPO3\CMS\Backend\Controller\Wizard\RteController\getButtons(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\getButtons(), TYPO3\CMS\Backend\Controller\EditDocumentController\getButtons(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\getButtons(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getDocHeaderButtons(), TYPO3\CMS\Backend\Utility\BackendUtility\getDropdownMenu(), TYPO3\CMS\Frontend\View\AdminPanelView\getEditModule(), TYPO3\CMS\Backend\Utility\BackendUtility\getFuncCheck(), TYPO3\CMS\Backend\Utility\BackendUtility\getFuncInput(), TYPO3\CMS\Backend\Utility\BackendUtility\getFuncMenu(), TYPO3\CMS\Backend\Form\Container\InlineControlContainer\getLevelInteractionLink(), TYPO3\CMS\Backend\Utility\BackendUtility\getLinkToDataHandlerAction(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getMailTo(), TYPO3\CMS\Backend\View\ModuleMenuView\getModuleData(), TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController\getPageConfigLabel(), TYPO3\CMS\Backend\View\ModuleMenuView\getRawModuleData(), TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository\getRawModuleMenuData(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\getRteInitJsCode(), TYPO3\CMS\Backend\ModuleSettings\getStoreControl(), TYPO3\CMS\Backend\Controller\Wizard\TableController\getTableHTML(), TYPO3\CMS\Backend\Controller\BackendController\handlePageEditing(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\imageLinkWrap(), TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController\init(), TYPO3\CMS\Backend\Controller\File\CreateFolderController\init(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\init(), TYPO3\CMS\Backend\Controller\EditDocumentController\init(), TYPO3\CMS\Workspaces\Controller\PreviewController\initializeAction(), TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem\initShortcuts(), TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom(), TYPO3\CMS\Backend\View\PageLayoutView\languageSelector(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\link(), TYPO3\CMS\Filelist\FileList\linkClipboardHeaderIcon(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\linkClipboardHeaderIcon(), TYPO3\CMS\Recordlist\Controller\ElementBrowserFramesetController\main(), TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController\main(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\main(), TYPO3\CMS\Backend\Controller\PageLayoutController\main(), TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController\main_user(), TYPO3\CMS\Backend\Controller\PageLayoutController\makeButtons(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeClip(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\IndexedSearch\ViewHelpers\PageBrowsingViewHelper\makecurrentPageSelector_link(), TYPO3\CMS\Filelist\FileList\makeEdit(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\makePointerSelector_link(), TYPO3\CMS\Filelist\FileList\makeRef(), TYPO3\CMS\Backend\Template\ModuleTemplate\makeShortcutIcon(), TYPO3\CMS\Backend\Template\DocumentTemplate\makeShortcutIcon(), TYPO3\CMS\Backend\View\PageLayoutView\newContentElementOnClick(), TYPO3\CMS\Backend\Tree\View\PageMovingPagePositionMap\onClickEvent(), TYPO3\CMS\Backend\Tree\View\PagePositionMap\onClickEvent(), TYPO3\CMS\Backend\Tree\View\ContentCreationPagePositionMap\onClickInsertRecord(), TYPO3\CMS\Backend\Tree\View\ContentLayoutPagePositionMap\onClickInsertRecord(), TYPO3\CMS\Backend\Tree\View\PagePositionMap\onClickInsertRecord(), TYPO3\CMS\Taskcenter\Controller\TaskModuleController\openInNewWindow(), TYPO3\CMS\Backend\Controller\EditDocumentController\openInNewWindowLink(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_openAtagHrefInJSwindow(), TYPO3\CMS\Backend\Tree\View\ElementBrowserFolderTreeView\PM_ATagWrap(), TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView\PM_ATagWrap(), TYPO3\CMS\Backend\Tree\View\FolderTreeView\PMiconATagWrap(), TYPO3\CMS\Backend\View\PageTreeView\PMiconATagWrap(), TYPO3\CMS\Backend\Clipboard\Clipboard\printClipboard(), TYPO3\CMS\Backend\Clipboard\Clipboard\printContentFromTab(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\printDBClickMenu(), TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView\printTree(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\processRequest(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\quoteJsValueTest(), TYPO3\CMS\Backend\Template\DocumentTemplate\redirectUrls(), TYPO3\CMS\Backend\Template\ModuleTemplate\redirectUrls(), TYPO3\CMS\Rsaauth\Form\Element\RsaInputElement\render(), TYPO3\CMS\Backend\Form\Element\SelectCheckBoxElement\render(), TYPO3\CMS\Documentation\ViewHelpers\FormatsViewHelper\render(), TYPO3\CMS\T3editor\Form\Element\T3editorElement\render(), TYPO3\CMS\Extensionmanager\ViewHelpers\Form\TypoScriptConstantsViewHelper\renderColorPicker(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\renderCurrentUrl(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\renderForeignRecordHeader(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\renderL10nTable(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListHeader(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListNavigation(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\renderListRow(), TYPO3\CMS\Opendocs\Backend\ToolbarItems\OpendocsToolbarItem\renderMenuEntry(), TYPO3\CMS\Backend\Form\Container\InlineControlContainer\renderPossibleRecordsSelectorTypeGroupDB(), TYPO3\CMS\Backend\Form\Container\InlineControlContainer\renderPossibleRecordsSelectorTypeSelect(), TYPO3\CMS\Backend\Form\Element\SelectSingleBoxElement\renderResetButtonElement(), TYPO3\CMS\Backend\Controller\BackendController\setStartupModule(), TYPO3\CMS\Setup\Controller\SetupModuleController\simulateUser(), TYPO3\CMS\Workspaces\Controller\ReviewController\singleIndexAction(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\stdWrap_encodeForJavaScriptValue(), TYPO3\CMS\Backend\Utility\BackendUtility\titleAltAttrib(), TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\urlRefForCM(), TYPO3\CMS\Backend\Utility\BackendUtility\viewOnClick(), TYPO3\CMS\Backend\Tests\Unit\Utility\BackendUtilityTest\viewOnClickReturnsOnClickCodeWithAlternativeUrl(), TYPO3\CMS\SysAction\ActionTask\viewRecordList(), TYPO3\CMS\Backend\Tree\View\ContentLayoutPagePositionMap\wrapColumnHeader(), TYPO3\CMS\Backend\Tree\View\ElementBrowserFolderTreeView\wrapIcon(), TYPO3\CMS\Backend\Tree\View\BrowseTreeView\wrapIcon(), TYPO3\CMS\Backend\Tree\View\FolderTreeView\wrapIcon(), TYPO3\CMS\Backend\Tree\View\ContentLayoutPagePositionMap\wrapRecordTitle(), TYPO3\CMS\Recordlist\Tree\View\ElementBrowserPageTreeView\wrapTitle(), TYPO3\CMS\Backend\Tree\View\ElementBrowserFolderTreeView\wrapTitle(), TYPO3\CMS\Backend\View\PageTreeView\wrapTitle(), TYPO3\CMS\Backend\Tree\View\FolderTreeView\wrapTitle(), TYPO3\CMS\Backend\Tree\View\AbstractTreeView\wrapTitle(), TYPO3\CMS\Frontend\ContentObject\Menu\JavaScriptMenuContentObject\writeMenu(), and TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject\writeMenu().

◆ rawUrlEncodeFP()

static TYPO3\CMS\Core\Utility\GeneralUtility::rawUrlEncodeFP (   $str)
static

rawurlencode which preserves "/" chars Useful when file paths should keep the "/" chars, but have all other special chars encoded.

Parameters
string$strInput string
Returns
string Output string

Definition at line 1071 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\cImage(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rawUrlEncodeFpPreservesSlashes().

◆ rawUrlEncodeJS()

static TYPO3\CMS\Core\Utility\GeneralUtility::rawUrlEncodeJS (   $str)
static

Version of rawurlencode() where all spaces (%20) are re-converted to space-characters. Useful when passing text to JavaScript where you simply url-encode it to get around problems with syntax-errors, linebreaks etc.

Parameters
string$strString to raw-url-encode with spaces preserved
Returns
string Rawurlencoded result of input string, but with all %20 (space chars) converted to real spaces.

Definition at line 1059 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rawUrlEncodeJsPreservesWhitespaces().

◆ read_png_gif()

static TYPO3\CMS\Core\Utility\GeneralUtility::read_png_gif (   $theFile,
  $output_png = false 
)
static

Returns filename of the png/gif version of the input file (which can be png or gif). If input file type does not match the wanted output type a conversion is made and temp-filename returned.

Parameters
string$theFileFilepath of image file
bool$output_pngIf set, then input file is converted to PNG, otherwise to GIF
Returns
string If the new image file exists, its filepath is returned
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8. Use ::readPngGif() instead.

Definition at line 311 of file GeneralUtility.php.

References TYPO3\CMS\Core\Imaging\GraphicalFunctions\readPngGif().

◆ remapArrayKeys()

static TYPO3\CMS\Core\Utility\GeneralUtility::remapArrayKeys ( $array,
  $mappingTable 
)
static

Rename Array keys with a given mapping table

Parameters
array$arrayArray by reference which should be remapped
array$mappingTableArray with remap information, array/$oldKey => $newKey)
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8 - use ArrayUtility::remapArrayKeys() instead

Definition at line 1765 of file GeneralUtility.php.

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

◆ removeArrayEntryByValue()

static TYPO3\CMS\Core\Utility\GeneralUtility::removeArrayEntryByValue ( array  $array,
  $cmpValue 
)
static

Removes the value $cmpValue from the $array if found there. Returns the modified array

Parameters
array$arrayArray containing the values
string$cmpValueValue to search for and if found remove array entry where found.
Returns
array Output array with entries removed if search string is found
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8 - use ArrayUtility::removeArrayEntryByValue() instead

Definition at line 1581 of file GeneralUtility.php.

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

◆ removeDotsFromTS()

◆ removePrefixPathFromList()

static TYPO3\CMS\Core\Utility\GeneralUtility::removePrefixPathFromList ( array  $fileArr,
  $prefixToRemove 
)
static

Removes the absolute part of all files/folders in fileArr

Parameters
array$fileArrThe file array to remove the prefix from
string$prefixToRemoveThe prefix path to remove (if found as first part of string!)
Returns
array The input $fileArr processed.

Definition at line 3127 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\addItemsFromFolder(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_execute_type2(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\createZipFileFromExtension(), TYPO3\CMS\Backend\Controller\BackendController\includeLegacyBackendItems(), and TYPO3\CMS\Lowlevel\LostFilesCommand\main().

◆ removeSingletonInstance()

static TYPO3\CMS\Core\Utility\GeneralUtility::removeSingletonInstance (   $className,
SingletonInterface  $instance 
)
static

Removes the instance of a singleton class to be returned by makeInstance.

Warning: This is NOT a public API method and must not be used in own extensions! This methods exists mostly for unit tests to inject a mock of a singleton class. If you use this, make sure to always combine this with getSingletonInstances() and resetSingletonInstances() in setUp() and tearDown() of the test class.

See also
makeInstance
Exceptions

Definition at line 4689 of file GeneralUtility.php.

◆ removeXSS()

static TYPO3\CMS\Core\Utility\GeneralUtility::removeXSS (   $string)
static

Wrapper for the RemoveXSS function. Removes potential XSS code from an input string.

Using an external class by Travis Puderbaugh kalla.nosp@m.har@.nosp@m.quick.nosp@m.wire.nosp@m.d.com

Parameters
string$stringInput string
Returns
string Input string with potential XSS code removed

Definition at line 251 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Form\Domain\Filter\RemoveXssFilter\filter(), TYPO3\CMS\Backend\Controller\Wizard\AddController\mainAction(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\setQueryString(), and TYPO3\CMS\Felogin\Controller\FrontendLoginController\validateRedirectUrl().

◆ requireFile()

static TYPO3\CMS\Core\Utility\GeneralUtility::requireFile (   $requireFile)
static

Requires a class for TYPO3 Useful to require classes from inside other classes (not global scope). A limited set of global variables are available (see function)

Parameters
string$requireFile,Path of the file to be included
Returns
void

Definition at line 4893 of file GeneralUtility.php.

◆ requireOnce()

static TYPO3\CMS\Core\Utility\GeneralUtility::requireOnce (   $requireFile)
static

Require a class for TYPO3 Useful to require classes from inside other classes (not global scope). A limited set of global variables are available (see function)

Parameters
string$requireFile,Path of the file to be included
Returns
void

Definition at line 4878 of file GeneralUtility.php.

Referenced by TYPO3\CMS\IndexedSearch\Indexer\includeCrawlerClass().

◆ resetSingletonInstances()

static TYPO3\CMS\Core\Utility\GeneralUtility::resetSingletonInstances ( array  $newSingletonInstances)
static

Set a group of singleton instances. Similar to setSingletonInstance(), but multiple instances can be set.

Warning: This is NOT a public API method and must not be used in own extensions! This method is usually only used in tests to restore the list of singletons in tearDown(), that was backed up with getSingletonInstances() in setUp() and manipulated in tests with setSingletonInstance()

Definition at line 4715 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\resetSingletonInstancesResetsPreviouslySetInstance(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\resetSingletonInstancesSetsGivenInstance(), TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest\resolveTemplatePathAndFilenameReturnsTheExplicitlyConfiguredTemplatePathAndFilename(), TYPO3\CMS\Core\Tests\Unit\Utility\MailUtilityTest\tearDown(), TYPO3\CMS\Core\Tests\Unit\Resource\FileReferenceTest\tearDown(), TYPO3\CMS\Extbase\Tests\Unit\Core\BootstrapTest\tearDown(), TYPO3\CMS\Core\Tests\Unit\Resource\FolderTest\tearDown(), TYPO3\CMS\Extbase\Tests\Unit\Service\FlexFormServiceTest\tearDown(), TYPO3\CMS\Scheduler\Tests\Unit\Task\CachingFrameworkGarbageCollectionTest\tearDown(), TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest\tearDown(), TYPO3\CMS\Core\Tests\Unit\Resource\FileTest\tearDown(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaGroupTest\tearDown(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaCheckboxItemsTest\tearDown(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaRadioItemsTest\tearDown(), TYPO3\CMS\Extensionmanager\Tests\Unit\Task\UpdateExtensionListTaskTest\tearDown(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\tearDown(), TYPO3\CMS\Core\Tests\Unit\Utility\ExtensionManagementUtilityTest\tearDown(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaSelectItemsTest\tearDown(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaSelectTreeItemsTest\tearDown(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseSystemLanguageRowsTest\tearDown(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaFlexFetchTest\tearDown(), TYPO3\CMS\Core\Tests\Unit\Resource\ResourceStorageTest\tearDown(), TYPO3\CMS\Core\Tests\Unit\Resource\Utility\FileExtensionFilterTest\tearDown(), TYPO3\CMS\Core\Tests\Unit\DataHandler\DataHandlerTest\tearDown(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\tearDown(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\ContentObjectRendererTest\tearDown(), and TYPO3\CMS\Fluid\Tests\Unit\View\StandaloneViewTest\tearDown().

◆ resolveAllSheetsInDS()

static TYPO3\CMS\Core\Utility\GeneralUtility::resolveAllSheetsInDS ( array  $dataStructArray)
static

Resolves ALL sheet definitions in dataStructArray If no sheet is found, then the default "sDEF" will be created with the dataStructure inside.

Parameters
array$dataStructArrayInput data structure, possibly with a sheet-definition and references to external data source files.
Returns
array Output data structure with all sheets resolved as arrays.

Definition at line 4321 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\getRegisteredFlexForms(), TYPO3\CMS\Backend\Utility\BackendUtility\getRegisteredFlexForms(), and TYPO3\CMS\Backend\Form\Wizard\SuggestWizard\overrideFieldNameAndConfigurationForFlexform().

◆ resolveBackPath()

static TYPO3\CMS\Core\Utility\GeneralUtility::resolveBackPath (   $pathStr)
static

Resolves "../" sections in the input path string. For example "fileadmin/directory/../other_directory/" will be resolved to "fileadmin/other_directory/"

Parameters
string$pathStrFile path in which "/../" is resolved
Returns
string

Definition at line 3158 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\addExtOnReadyCode(), TYPO3\CMS\Backend\Controller\BackendController\addJavascriptFile(), TYPO3\CMS\Backend\Template\DocumentTemplate\addStyleSheetDirectory(), TYPO3\CMS\Backend\Sprite\SimpleSpriteHandler\buildCssAndRegisterIcons(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3Link\buildJSClassesAnchorArray(), TYPO3\CMS\Backend\Module\ModuleLoader\checkMod(), TYPO3\CMS\Backend\Sprite\AbstractSpriteHandler\collectTcaSpriteIcons(), TYPO3\CMS\Core\Resource\ResourceCompressor\compressCssFile(), TYPO3\CMS\Core\Resource\ResourceCompressor\compressJsFile(), TYPO3\CMS\Core\Resource\ResourceCompressor\createMergedFile(), TYPO3\CMS\Impexp\Export\export_addFile(), TYPO3\CMS\Backend\Sprite\SpriteBuildingHandler\generate(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\getAbsolutePath(), TYPO3\CMS\Core\Utility\PathUtility\getAbsoluteWebPath(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getDeprecationLogFileLink(), TYPO3\CMS\Core\Resource\ResourceCompressor\getFilenameFromMainDir(), TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi\getFullFileName(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\getFullFileName(), TYPO3\CMS\Backend\Template\DocumentTemplate\getHtmlTemplate(), TYPO3\CMS\Backend\Form\Utility\FormEngineUtility\getIconHtml(), TYPO3\CMS\Backend\View\ModuleMenuView\getRawModuleData(), TYPO3\CMS\Backend\Domain\Repository\Module\BackendModuleRepository\getRawModuleMenuData(), TYPO3\CMS\Backend\Module\ModuleLoader\getRelativePath(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\indexExtUrl(), TYPO3\CMS\IndexedSearch\Indexer\isAllowedLocalFile(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\main(), TYPO3\CMS\Backend\Utility\IconUtility\mapFileExtensionToSpriteIconName(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\prependAbsolutePath(), TYPO3\CMS\Impexp\Import\processSoftReferences_saveFile_createRelFile(), TYPO3\CMS\Core\Imaging\IconRegistry\registerTCAIcons(), TYPO3\CMS\Backend\View\LogoView\render(), TYPO3\CMS\Backend\Controller\BackendController\render(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\render_uploads(), TYPO3\CMS\Core\Page\PageRenderer\renderAdditionalJavaScriptLibraries(), TYPO3\CMS\Core\Page\PageRenderer\renderCssFiles(), TYPO3\CMS\Core\Page\PageRenderer\renderCssLibraries(), TYPO3\CMS\Core\Page\PageRenderer\renderJavaScriptFiles(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\resolveBackPathWithDataProvider(), TYPO3\CMS\Backend\Sprite\SpriteGenerator\resolveSpritePath(), TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi\writeTemporaryFile(), and TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\writeTemporaryFile().

◆ resolveSheetDefInDS()

static TYPO3\CMS\Core\Utility\GeneralUtility::resolveSheetDefInDS (   $dataStructArray,
  $sheet = 'sDEF' 
)
static

Looks for a sheet-definition in the input data structure array. If found it will return the data structure for the sheet given as $sheet (if found). If the sheet definition is in an external file that file is parsed and the data structure inside of that is returned.

Parameters
array$dataStructArrayInput data structure, possibly with a sheet-definition and references to external data source files.
string$sheetThe sheet to return, preferably.
Returns
array An array with two num. keys: key0: The data structure is returned in this key (array) UNLESS an error occurred in which case an error string is returned (string). key1: The used sheet key value!

Definition at line 4283 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex_procInData(), and TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools\traverseFlexFormXMLData().

◆ revExplode()

◆ rmdir()

static TYPO3\CMS\Core\Utility\GeneralUtility::rmdir (   $path,
  $removeNonEmpty = false 
)
static

Wrapper function for rmdir, allowing recursive deletion of folders and files

Parameters
string$pathAbsolute path to folder, see PHP rmdir() function. Removes trailing slash internally.
bool$removeNonEmptyAllow deletion of non-empty directories
Returns
bool TRUE if went well!

Definition at line 2939 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Locking\FileLockStrategyTest\constructorCreatesLockDirectoryIfNotExisting(), TYPO3\CMS\Core\Tests\Unit\Locking\SimpleLockStrategyTest\constructorCreatesLockDirectoryIfNotExisting(), TYPO3\CMS\Core\Tests\Unit\Locking\LockerTest\constructorCreatesLockDirectoryIfNotExisting(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\deleteFolder(), TYPO3\CMS\Core\Package\PackageManager\deletePackage(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getAllFilesAndFoldersInPathReturnsArrayWithMd5Keys(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\moveFolderWithinStorage(), TYPO3\CMS\Extensionmanager\Controller\UploadExtensionFileController\removeBackupFolder(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\removeDirectory(), TYPO3\CMS\Extensionmanager\Controller\UploadExtensionFileController\removeExtensionAndRestoreFromBackup(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rmdirDoesNotRemoveDirectoryWithFilesAndReturnsFalseIfRecursiveDeletionIsOff(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rmdirRemovesDeadLinkToDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rmdirRemovesDeadLinkToFile(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rmdirRemovesDirectoriesRecursiveAndReturnsTrue(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rmdirRemovesDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rmdirRemovesDirectoryWithTrailingSlash(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rmdirRemovesFile(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rmdirRemovesLinkToDirectory(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rmdirReturnFalseIfNoFileWasRemoved(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rmdirReturnTrueIfFileWasRemoved(), TYPO3\CMS\Core\Tests\Unit\Resource\Driver\LocalDriverTest\tearDown(), TYPO3\CMS\Core\Tests\UnitTestCase\tearDown(), and TYPO3\CMS\Lang\Service\TerService\updateTranslation().

◆ rmFromList()

static TYPO3\CMS\Core\Utility\GeneralUtility::rmFromList (   $element,
  $list 
)
static

Removes an item from a comma-separated list of items.

If $element contains a comma, the behaviour of this method is undefined. Empty elements in the list are preserved.

Parameters
string$elementElement to remove
string$listComma-separated list of items (string)
Returns
string New comma-separated list of items

Definition at line 712 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\buildJSClassesArray(), TYPO3\CMS\Rtehtmlarea\Controller\ParseHtmlController\keepSpanTagsWithId(), TYPO3\CMS\Filelist\FileList\linkClipboardHeaderIcon(), TYPO3\CMS\Rtehtmlarea\Extension\Language\main(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\rmFromListRemovesElementsFromCommaSeparatedList().

◆ sanitizeLocalUrl()

static TYPO3\CMS\Core\Utility\GeneralUtility::sanitizeLocalUrl (   $url = '')
static

Checks if a given string is a valid frame URL to be loaded in the backend.

Parameters
string$urlpotential URL to check
Returns
string either $url if $url is considered to be harmless, or an

Definition at line 4017 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Backend\Controller\LoginController\__construct(), TYPO3\CMS\Backend\History\RecordHistory\getArgument(), TYPO3\CMS\Backend\Controller\ContentElement\ElementHistoryController\getButtons(), TYPO3\CMS\Backend\Controller\Wizard\RteController\getButtons(), TYPO3\CMS\Version\Hook\PreviewHook\getPreviewConfiguration(), TYPO3\CMS\Backend\Controller\File\RenameFileController\init(), TYPO3\CMS\Backend\Controller\File\FileUploadController\init(), TYPO3\CMS\Backend\Controller\File\ReplaceFileController\init(), TYPO3\CMS\Backend\Controller\ContentElement\MoveElementController\init(), TYPO3\CMS\Backend\Controller\File\CreateFolderController\init(), TYPO3\CMS\Backend\Controller\File\EditFileController\init(), TYPO3\CMS\Backend\Controller\Wizard\AddController\init(), TYPO3\CMS\Backend\Controller\File\FileController\init(), TYPO3\CMS\Backend\Controller\SimpleDataHandlerController\init(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\init(), TYPO3\CMS\Backend\Controller\NewRecordController\init(), TYPO3\CMS\Recordlist\RecordList\init(), TYPO3\CMS\Backend\Controller\PageLayoutController\init(), TYPO3\CMS\Backend\Controller\EditDocumentController\localizationRedirect(), TYPO3\CMS\Backend\Controller\Wizard\ListController\main(), TYPO3\CMS\Backend\Controller\OnlineMediaController\mainAction(), TYPO3\CMS\Backend\Controller\Wizard\AddController\mainAction(), TYPO3\CMS\Backend\Controller\EditDocumentController\preInit(), TYPO3\CMS\Backend\Template\DocumentTemplate\redirectUrls(), TYPO3\CMS\Backend\Template\ModuleTemplate\redirectUrls(), TYPO3\CMS\Form\View\Wizard\WizardView\removeTrailingDotsFromTyposcript(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\renderBackButton(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\sanitizeLocalUrlAcceptsEncodedValidPaths(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\sanitizeLocalUrlAcceptsEncodedValidUrls(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\sanitizeLocalUrlAcceptsNotEncodedValidPaths(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\sanitizeLocalUrlAcceptsNotEncodedValidUrls(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\sanitizeLocalUrlDeniesEncodedInvalidUrls(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\sanitizeLocalUrlDeniesPlainInvalidUrls(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\start(), and TYPO3\CMS\Backend\Controller\Wizard\TableController\tableWizard().

◆ setSingletonInstance()

static TYPO3\CMS\Core\Utility\GeneralUtility::setSingletonInstance (   $className,
SingletonInterface  $instance 
)
static

Sets the instance of a singleton class to be returned by makeInstance.

If this function is called multiple times for the same $className, makeInstance will return the last set instance.

Warning: This is NOT a public API method and must not be used in own extensions! This methods exists mostly for unit tests to inject a mock of a singleton class. If you use this, make sure to always combine this with getSingletonInstances() and resetSingletonInstances() in setUp() and tearDown() of the test class.

See also
makeInstance
Parameters
string$className
\TYPO3\CMS\Core\SingletonInterface$instance
Returns
void

Definition at line 4667 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaCheckboxItemsTest\addDataCallsItemsProcFunc(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaRadioItemsTest\addDataCallsItemsProcFunc(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseSystemLanguageRowsTest\addDataResolvesLanguageIsocodeFromStaticInfoTable(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaGroupTest\addDataSetsFileData(), TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\TcaSelectItemsTest\addDataThrowsExceptionIfForeignTableIsNotDefinedInTca(), TYPO3\CMS\Extbase\Tests\Unit\Service\FlexFormServiceTest\convertFlexFormContentToArrayResolvesComplexArrayStructure(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\ContentObjectRendererTest\createMockedLoggerAndLogManager(), TYPO3\CMS\Extensionmanager\Tests\Unit\Task\UpdateExtensionListTaskTest\executeCallsPersistAllOnPersistenceManager(), TYPO3\CMS\Extensionmanager\Tests\Unit\Task\UpdateExtensionListTaskTest\executeCallsUpdateExtListOfRepositoryHelper(), TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest\getDriverObjectAcceptsDriverClassName(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\getExtLocalconfCacheIdentifier(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\getSingletonInstancesContainsPreviouslySetSingletonInstance(), TYPO3\CMS\Core\Core\Bootstrap\initializeCachingFramework(), TYPO3\CMS\Core\Core\Bootstrap\loadConfigurationAndInitialize(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\regeneratePageTitle(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsStandardWrapForExtbaseControllerActionName(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\resetSingletonInstancesResetsPreviouslySetInstance(), TYPO3\CMS\Fluid\Tests\Unit\View\TemplateViewTest\resolveTemplatePathAndFilenameReturnsTheExplicitlyConfiguredTemplatePathAndFilename(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\setSingletonInstanceCalledTwoTimesMakesMakeInstanceReturnLastSetInstance(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\setSingletonInstanceForClassThatIsNoSubclassOfProvidedClassThrowsException(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\setSingletonInstanceForEmptyClassNameThrowsException(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\setSingletonInstanceMakesMakeInstanceReturnThatInstance(), TYPO3\CMS\Core\Tests\Unit\Resource\FileTest\setUp(), TYPO3\CMS\Core\Tests\Unit\Resource\Utility\FileExtensionFilterTest\setUp(), TYPO3\CMS\Fluid\Tests\Unit\View\StandaloneViewTest\setUp(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\setUpBasicFrontendEnvironment(), TYPO3\CMS\Extbase\Tests\Unit\Core\BootstrapTest\tearDown(), TYPO3\CMS\Scheduler\Tests\Unit\Task\CachingFrameworkGarbageCollectionTest\tearDown(), and TYPO3\CMS\Core\Tests\Unit\Resource\FileTest\updatePropertiesReloadsStorageObjectIfStorageChanges().

◆ shortMD5()

static TYPO3\CMS\Core\Utility\GeneralUtility::shortMD5 (   $input,
  $len = 10 
)
static

Returns the first 10 positions of the MD5-hash (changed from 6 to 10 recently)

Parameters
string$inputInput string to be md5-hashed
int$lenThe string-length of the output
Returns
string Substring of the resulting md5-hash, being $len chars long (from beginning)

Definition at line 783 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Frontend\Imaging\GifBuilder\checkFile(), TYPO3\CMS\IndexedSearch\Indexer\createLocalPathFromT3vars(), TYPO3\CMS\IndexedSearch\Tests\Unit\IndexerTest\extractHyperLinksReturnsCorrectFileUsingT3Vars(), TYPO3\CMS\Core\Localization\Parser\LocallangArrayParser\generateCacheFileName(), TYPO3\CMS\Workspaces\Controller\PreviewController\generateJavascript(), TYPO3\CMS\Backend\Controller\BackendController\generateJavascript(), TYPO3\CMS\Core\Resource\Processing\AbstractTask\getConfigurationChecksum(), TYPO3\CMS\Backend\Template\ModuleTemplate\getDynamicTabMenu(), TYPO3\CMS\Backend\Template\DocumentTemplate\getDynamicTabMenu(), TYPO3\CMS\Backend\Template\DocumentTemplate\getDynTabMenuId(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\imageMagickConvert(), TYPO3\CMS\Filelist\FileList\makeEdit(), TYPO3\CMS\Backend\Utility\IconUtility\makeIcon(), TYPO3\CMS\Backend\Form\Container\FlexFormTabsContainer\render(), TYPO3\CMS\Backend\Form\Container\TabsContainer\render(), TYPO3\CMS\Core\Html\RteHtmlParser\RTE_transform(), TYPO3\CMS\Core\Cache\Backend\ApcBackend\setCache(), TYPO3\CMS\Core\Cache\Backend\ApcuBackend\setCache(), TYPO3\CMS\Core\Tests\Unit\Cache\Backend\ApcBackendTest\setRemovesTagsFromPreviousSet(), TYPO3\CMS\Frontend\ContentObject\Menu\JavaScriptMenuContentObject\writeMenu(), TYPO3\CMS\Frontend\ContentObject\Menu\ImageMenuContentObject\writeMenu(), TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi\writeTemporaryFile(), and TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\writeTemporaryFile().

◆ slashArray()

static TYPO3\CMS\Core\Utility\GeneralUtility::slashArray ( array  $arr,
  $cmd 
)
static

Either slashes ($cmd=add) or strips ($cmd=strip) array $arr depending on $cmd

Parameters
array$arrMultidimensional input array
string$cmd"add" or "strip", depending on usage you wish.
Returns
array
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8

Definition at line 1746 of file GeneralUtility.php.

◆ slashJS()

static TYPO3\CMS\Core\Utility\GeneralUtility::slashJS (   $string,
  $extended = false,
  $char = '\'' 
)
static

This function is used to escape any ' -characters when transferring text to JavaScript!

Parameters
string$stringString to escape
bool$extendedIf set, also backslashes are escaped.
string$charThe character to escape, default is ' (single-quote)
Returns
string Processed input string

Definition at line 1044 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\slashJsEscapesSingleQuotesAndSlashes().

◆ split_fileref()

◆ split_tag_attributes()

static TYPO3\CMS\Core\Utility\GeneralUtility::split_tag_attributes (   $tag)
static

Returns an array with the 'components' from an attribute list from an HTML tag. The result is normally analyzed by get_tag_attributes Removes tag-name if found

Parameters
string$tagHTML-tag string (or attributes only)
Returns
array Array with the attribute values.

Definition at line 1901 of file GeneralUtility.php.

◆ splitCalc()

static TYPO3\CMS\Core\Utility\GeneralUtility::splitCalc (   $string,
  $operators 
)
static

This splits a string by the chars in $operators (typical /+-*) and returns an array with them in

Parameters
string$stringInput string, eg "123 + 456 / 789 - 4 @param string $operators Operators to split by, typically "/+-*
Returns
array Array with operators and operands separated.
See also
::calc(), ::calcOffset()

Definition at line 1007 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\calc(), TYPO3\CMS\Frontend\Imaging\GifBuilder\calculateValue(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\splitCalcCorrectlySplitsExpression().

◆ stdAuthCode()

static TYPO3\CMS\Core\Utility\GeneralUtility::stdAuthCode (   $uid_or_record,
  $fields = '',
  $codeLength = 8 
)
static

Standard authentication code (used in Direct Mail, checkJumpUrl and setfixed links computations)

Parameters
mixed$uid_or_recordUid (int) or record (array)
string$fieldsList of fields from the record if that is given.
int$codeLengthLength of returned authentication code.
Returns
string MD5 hash of 8 chars.

Definition at line 4164 of file GeneralUtility.php.

References $GLOBALS.

◆ stripHttpHeaders()

static TYPO3\CMS\Core\Utility\GeneralUtility::stripHttpHeaders (   $content)
staticprotected

Strips HTTP headers from the content.

Parameters
string$content
Returns
string

Definition at line 2695 of file GeneralUtility.php.

◆ stripSlashesOnArray()

static TYPO3\CMS\Core\Utility\GeneralUtility::stripSlashesOnArray ( array &  $theArray)
static

StripSlash array This function traverses a multidimensional array and strips slashes to the values. NOTE that the input array is and argument by reference.!! Twin-function to addSlashesOnArray

Parameters
array$theArrayMultidimensional input array, (REFERENCE!)
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8
Returns
array

Definition at line 1725 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\fillInFieldArray(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\stripSlashesOnArrayStripsSlashesRecursive().

◆ strtolower()

static TYPO3\CMS\Core\Utility\GeneralUtility::strtolower (   $str)
static

Converts string to lowercase The function converts all Latin characters (A-Z, but no accents, etc) to lowercase. It is safe for all supported character sets (incl. utf-8). Unlike strtolower() it does not honour the locale.

Parameters
string$strInput string
Returns
string Lowercase String

Definition at line 1191 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\allowedToEdit(), TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\BlockElements\buildJavascriptConfiguration(), TYPO3\CMS\Dbal\Database\SqlCompilers\Adodb\compileWhereClause(), TYPO3\CMS\Core\Utility\GeneralUtility\createVersionNumberedFilename(), TYPO3\CMS\Extensionmanager\Utility\Connection\TerUtility\fetchExtension(), TYPO3\CMS\Lang\Service\TerService\fetchTranslation(), TYPO3\CMS\Lang\Service\TerService\fetchTranslationStatus(), TYPO3\CMS\Core\Utility\GeneralUtility\flushOutputBuffers(), TYPO3\CMS\Core\Utility\GeneralUtility\get_tag_attributes(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\getAllowedEditActions(), TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv(), TYPO3\CMS\Core\Utility\GeneralUtility\hostHeaderValueMatchesTrustedHostsPattern(), TYPO3\CMS\Core\Utility\GeneralUtility\implodeAttributes(), TYPO3\CMS\Core\Utility\GeneralUtility\normalizeIPv6(), TYPO3\CMS\Core\Utility\GeneralUtility\split_fileref(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\strtolowerConvertsOnlyLatinCharacters().

◆ strtoupper()

static TYPO3\CMS\Core\Utility\GeneralUtility::strtoupper (   $str)
static

Converts string to uppercase The function converts all Latin characters (a-z, but no accents, etc) to uppercase. It is safe for all supported character sets (incl. utf-8). Unlike strtoupper() it does not honour the locale.

Parameters
string$strInput string
Returns
string Uppercase String

Definition at line 1177 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Felogin\Controller\FrontendLoginController\getUserFieldMarkers(), TYPO3\CMS\Core\Utility\GeneralUtility\initSysLog(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\makeSearchForm(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\printResultRow(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\strtoupperConvertsOnlyLatinCharacters().

◆ substUrlsInPlainText()

static TYPO3\CMS\Core\Utility\GeneralUtility::substUrlsInPlainText (   $message,
  $urlmode = '76',
  $index_script_url = '' 
)
static

Takes a clear-text message body for a plain text email, finds all 'http://' links and if they are longer than 76 chars they are converted to a shorter URL with a hash parameter. The real parameter is stored in the database and the hash-parameter/URL will be redirected to the real parameter when the link is clicked. This function is about preserving long links in messages.

Parameters
string$messageMessage content
string$urlmodeURL mode; "76" or "all
string$index_script_urlURL of index script (see makeRedirectUrl())
Returns
string Processed message content
See also
makeRedirectUrl()
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8. Use mailer API instead

Definition at line 5027 of file GeneralUtility.php.

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

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\substUrlsInPlainText().

◆ tempnam()

static TYPO3\CMS\Core\Utility\GeneralUtility::tempnam (   $filePrefix,
  $fileSuffix = '' 
)
static

Create temporary filename (Create file with unique file name) This function should be used for getting temporary file names - will make your applications safe for open_basedir = on REMEMBER to delete the temporary files after use! This is done by ::unlink_tempfile()

Parameters
string$filePrefixPrefix for temporary file
string$fileSuffixSuffix for temporary file, for example a special file extension
Returns
string result from PHP function tempnam() with PATH_site . 'typo3temp/' set for temp path.
See also
unlink_tempfile(), upload_to_tempfile()

Definition at line 4141 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Dbal\Tests\Unit\Database\DatabaseConnectionTest\createFakeExtension(), TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\AbstractOnlineMediaHelper\createNewFile(), TYPO3\CMS\Backend\Sprite\SpriteGenerator\generateGraphic(), TYPO3\CMS\Backend\Sprite\SpriteGenerator\generateHighDensityGraphic(), TYPO3\CMS\Impexp\Controller\ImportExportController\getButtons(), TYPO3\CMS\Core\Tests\Unit\Http\UploadedFileTest\getGetStreamRaisesExceptionAfterMove(), TYPO3\CMS\Core\Resource\Processing\LocalPreviewHelper\getTemporaryFilePath(), TYPO3\CMS\Impexp\Import\import_addFileNameToBeCopied(), TYPO3\CMS\IndexedSearch\Indexer\indexExternalUrl(), TYPO3\CMS\Impexp\Tests\Functional\Import\AbstractImportTestCase\isCaseSensitiveFilesystem(), TYPO3\CMS\Core\Tests\Unit\Http\UploadedFileTest\moveToCannotBeCalledMoreThanOnce(), TYPO3\CMS\Core\Tests\Unit\Http\UploadedFileTest\moveToMovesFileToDesignatedPath(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\processRequest(), TYPO3\CMS\IndexedSearch\FileContentParser\readFileContent(), TYPO3\CMS\Core\Tests\Unit\Imaging\IconProvider\SvgIconProviderTest\setUp(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\spellCheckHandler(), TYPO3\CMS\Core\Service\AbstractService\tempFile(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\tempnamReturnsAbsolutePathInsideDocumentRoot(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\tempnamReturnsPathStartingWithGivenPrefix(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\tempnamReturnsPathWithoutBackslashes(), and TYPO3\CMS\Impexp\Import\writeTemporaryFileFromData().

◆ trimExplode()

static TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode (   $delim,
  $string,
  $removeEmptyValues = false,
  $limit = 0 
)
static

Explodes a string and trims all values for whitespace in the end. If $onlyNonEmptyValues is set, then all blank ('') values are removed.

Parameters
string$delimDelimiter string to explode with
string$stringThe string to explode
bool$removeEmptyValuesIf set, all empty values will be removed in output
int$limitIf limit is set and positive, the returned array will contain a maximum of limit elements with the last element containing the rest of string. If the limit parameter is negative, all components except the last -limit are returned.
Returns
array Exploded values

Definition at line 1551 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Frontend\Hooks\TreelistCacheUpdateHooks\__construct(), TYPO3\CMS\Scheduler\CronCommand\CronCommand\__construct(), TYPO3\CMS\Backend\Form\Container\InlineControlContainer\__construct(), TYPO3\CMS\Backend\Form\Wizard\SuggestWizardDefaultReceiver\__construct(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessShowitem\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessCommon\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessPlaceholders\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessRecordTitle\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInputPlaceholders\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFlexProcess\addDataStructurePointersToMetaData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaTypesShowitem\addFieldsBySubtypeAddList(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addFieldsToAllPalettesOfField(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\addItemsFromFolder(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\addMenuItems(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addModule(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addService(), TYPO3\CMS\IndexedSearch\Indexer\addSpacesToKeywordList(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addToAllTCAtypes(), TYPO3\CMS\Backend\ModuleSettings\addToStoreList(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\addTScomment(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\allowedToEdit(), TYPO3\CMS\Core\DataHandling\DataHandler\applyFiltersToValues(), TYPO3\CMS\Rtehtmlarea\Extension\DefinitionList\applyToolbarConstraints(), TYPO3\CMS\Rtehtmlarea\Extension\DefaultClean\applyToolbarConstraints(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3HtmlParser\applyToolbarConstraints(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3Link\applyToolbarConstraints(), TYPO3\CMS\Rtehtmlarea\Extension\TableOperations\applyToolbarConstraints(), TYPO3\CMS\Version\DataHandler\CommandMap\applyWorkspacesSetStageBehaviour(), TYPO3\CMS\Core\DataHandling\DataHandler\assemblePermissions(), TYPO3\CMS\Extensionmanager\Domain\Repository\ConfigurationItemRepository\buildConfigurationArray(), TYPO3\CMS\Backend\Sprite\SpriteGenerator\buildFileInformationCache(), TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\BlockElements\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\SelectFont\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\InlineElements\buildJavascriptConfiguration(), TYPO3\CMS\Rtehtmlarea\Extension\Abbreviation\buildJSAbbreviationArray(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\buildJSClassesArray(), TYPO3\CMS\Rtehtmlarea\Extension\SelectFont\buildJSFontItemsConfig(), TYPO3\CMS\Frontend\Imaging\GifBuilder\calcOffset(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\calculateCacheTags(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\calculateLinkVars(), TYPO3\CMS\Frontend\Imaging\GifBuilder\calculateMaximum(), TYPO3\CMS\Core\DataHandling\DataHandler\canDeletePage(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\checkDate(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\checkDeniedSuburls(), TYPO3\CMS\Core\Service\AbstractService\checkExec(), TYPO3\CMS\Backend\Controller\FormInlineAjaxController\checkInlineFileTypeAccessForField(), TYPO3\CMS\Core\Html\HtmlParser\checkTagTypeCounts(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_check(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex_procInData_travDS(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_group_select_explodeSelectGroupValue(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForGroupSelect(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForInline(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForInput(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForText(), TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi\cleanList(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\cleanList(), TYPO3\CMS\Recordlist\RecordList\clearCache(), TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend\clearPageCache(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\clearPageCacheContent_pidList(), TYPO3\CMS\Core\Controller\CommandLineController\cli_validateArgs(), TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher\compareNumber(), TYPO3\CMS\Extbase\Utility\ExtensionUtility\configurePlugin(), TYPO3\CMS\Core\Resource\Filter\FileExtensionFilter\convertToLowercaseArray(), TYPO3\CMS\Core\Utility\VersionNumberUtility\convertVersionsStringToVersionNumbers(), TYPO3\CMS\Core\DataHandling\DataHandler\copyPages(), TYPO3\CMS\Core\DataHandling\DataHandler\copyRecord_flexFormCallBack(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\crawler_execute_type2(), TYPO3\CMS\Backend\Controller\OnlineMediaController\createAction(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\createFolder(), TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer\createPaletteContentArray(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\DBgetInsert(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\DBgetUpdate(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\DBmayFEUserEdit(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\DBmayFEUserEditSelect(), TYPO3\CMS\Recycler\Task\CleanerTask\deleteFilesForTable(), TYPO3\CMS\Core\DataHandling\DataHandler\deleteRecord(), TYPO3\CMS\Cshmanual\Controller\HelpController\detailAction(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\detectLinkTypeFromLinkParameter(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\displayEditIcons(), TYPO3\CMS\Core\Html\RteHtmlParser\divideIntoLines(), TYPO3\CMS\Core\DataHandling\DataHandler\doesPageHaveUnallowedTables(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\enableDisableItems(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\encaps_lineSplit(), TYPO3\CMS\Frontend\Configuration\TypoScript\ConditionMatching\ConditionMatcher\evaluateCondition(), TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher\evaluateCondition(), TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher\evaluateConditionCommon(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\execute(), TYPO3\CMS\Install\Controller\Action\Ajax\UninstallExtension\executeAction(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\executePositionedStringInsertion(), TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\executeValueModifier(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\explodeItemList(), TYPO3\CMS\Version\DataHandler\CommandMap\explodeSetStage(), TYPO3\CMS\Backend\Form\Container\AbstractContainer\explodeSingleFieldShowItemConfiguration(), TYPO3\CMS\Backend\Sprite\SpriteGenerator\explodeSizeTag(), TYPO3\CMS\Backend\Utility\BackendUtility\explodeSoftRefParserList(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_fNandV(), TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository\extGetTreeList(), TYPO3\CMS\Backend\Form\Container\InlineControlContainer\extractFlexFormParts(), TYPO3\CMS\Extensionmanager\Domain\Repository\ConfigurationItemRepository\extractInformationForConfigFieldsOfTypeOptions(), TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController\extractLinesFromTSConfig(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\extractSearchableFieldsFromTable(), TYPO3\CMS\Core\Tests\Unit\Core\SystemEnvironmentBuilderTest\fileDenyPatternMatchesPhpExtensionDataProvider(), TYPO3\CMS\Frontend\ContentObject\FilesContentObject\findAndSortFiles(), TYPO3\CMS\Core\Resource\Index\FileIndexRepository\findOneByCombinedIdentifier(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\findService(), TYPO3\CMS\Core\DataHandling\DataHandler\fixCopyAfterDuplFields(), TYPO3\CMS\SysAction\ActionTask\fixDbMount(), TYPO3\CMS\Core\DataHandling\DataHandler\fixUniqueInPid(), TYPO3\CMS\Backend\Controller\EditDocumentController\fixWSversioningInEditConf(), TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository\freeIndexUidWhere(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\freeIndexUidWhere(), TYPO3\CMS\Backend\Controller\BackendController\generateJavascript(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\generateList(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\getAbsolutePathsToConfiguredDirectories(), TYPO3\CMS\IndexedSearch\Controller\SearchController\getAllAvailableMediaTypesOptions(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\getAllowedEditActions(), TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController\getAllowedItems(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\getAllowedItems(), TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController\getAllowedLinkAttributes(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\getAllowedLinkAttributes(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInputPlaceholders\getAllowedTableForGroupField(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getButtons(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getCategoryMountPoints(), TYPO3\CMS\Backend\Form\Element\AbstractFormElement\getClipboardElements(), TYPO3\CMS\Backend\View\BackendLayoutView\getColPosListItemsParsed(), TYPO3\CMS\Backend\Utility\BackendUtility\getCommonSelectFields(), TYPO3\CMS\Core\Utility\CommandUtility\getConfiguredApps(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getCurrentPageCacheConfiguration(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getData(), TYPO3\CMS\Backend\ContextMenu\Pagetree\ContextMenuDataProvider\getDisableActions(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getDocHeaderButtons(), TYPO3\CMS\Core\Tests\Functional\DataHandling\IRRE\AbstractTestCase\getElementStructureForCommands(), TYPO3\CMS\Version\Hook\DataHandlerHook\getEmailsForStageChangeNotification(), TYPO3\CMS\Core\DataHandling\DataHandler\getExcludeListArray(), TYPO3\CMS\Install\Controller\Action\Ajax\ExtensionCompatibilityTester\getExtensionsToExclude(), TYPO3\CMS\Install\Service\SqlSchemaMigrationService\getFieldDefinitions_fileContent(), TYPO3\CMS\Setup\Controller\SetupModuleController\getFieldsFromShowItem(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getFieldVal(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getFileDenyPatternStatus(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getFileMountRecords(), TYPO3\CMS\Core\Resource\ResourceFactory\getFileObjectFromCombinedIdentifier(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getFilePermissions(), TYPO3\CMS\Workspaces\Tests\Unit\ExtDirect\ExtDirectServerTest\getFileReferenceProphecies(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getFirstTimeValueForRecord(), TYPO3\CMS\Backend\Utility\BackendUtility\getFlexFormDS(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFlexProcess\getFlexIdentifier(), TYPO3\CMS\Core\Resource\ResourceFactory\getFolderObjectFromCombinedIdentifier(), TYPO3\CMS\Backend\Controller\UserSettingsController\getFromDottedNotation(), TYPO3\CMS\Core\TypoScript\TemplateService\getFromMPmap(), TYPO3\CMS\Backend\Utility\BackendUtility\getGroupNames(), TYPO3\CMS\Backend\View\BackendLayoutView\getIdentifiersToBeExcluded(), TYPO3\CMS\Cshmanual\Domain\Repository\TableManualRepository\getImages(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\getImgColumnWidths(), TYPO3\CMS\Core\Resource\Service\UserFileInlineLabelService\getInlineLabel(), TYPO3\CMS\Backend\Controller\FormInlineAjaxController\getInlineRelatedRecordsUidArray(), TYPO3\CMS\Core\Html\RteHtmlParser\getKeepTags(), TYPO3\CMS\Backend\Utility\BackendUtility\getLabelsFromItemsList(), TYPO3\CMS\Rtehtmlarea\Extension\Language\getLanguages(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\getLinkTypes(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\getMainDictionaryCharacterSet(), TYPO3\CMS\Backend\Tree\Pagetree\ExtdirectTreeDataProvider\getNodeTypes(), TYPO3\CMS\Backend\Utility\BackendUtility\getNoRecordTitle(), TYPO3\CMS\Core\Resource\ResourceFactory\getObjectFromCombinedIdentifier(), TYPO3\CMS\Frontend\Page\PageRepository\getPagesOverlay(), TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig(), TYPO3\CMS\Core\Utility\CommandUtility\getPathsInternal(), TYPO3\CMS\Core\DataHandling\DataHandler\getPlaceholderTitleForTableLabel(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInputPlaceholders\getPlaceholderValue(), TYPO3\CMS\Core\Charset\CharsetConverter\getPreferredClientLanguage(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\getPreserveGetVars(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getQuery(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getQueryMarkers(), TYPO3\CMS\Workspaces\ExtDirect\ActionHandler\getRecipientList(), TYPO3\CMS\Core\Utility\RootlineUtility\getRecordArray(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordTitle(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaRecordTitle\getRecordTitleByLabelProperties(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaRecordTitle\getRecordTitleForGroupType(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\getRegisteredFlexForms(), TYPO3\CMS\Backend\Utility\BackendUtility\getRegisteredFlexForms(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInputPlaceholders\getRelatedGroupFieldUids(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\getRteInitJsCode(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\getSearchField(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\getSearchFields(), TYPO3\CMS\Cshmanual\Domain\Repository\TableManualRepository\getSeeAlsoLinks(), TYPO3\CMS\Backend\Utility\BackendUtility\getSpecConfParts(), TYPO3\CMS\Workspaces\ExtDirect\ExtDirectServer\getStageActions(), TYPO3\CMS\Core\Resource\ResourceFactory\getStorageObjectFromCombinedIdentifier(), TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Collector\getTableFields(), TYPO3\CMS\Backend\Form\Wizard\SuggestWizard\getTablesToQueryFromFieldConfiguration(), TYPO3\CMS\Backend\Utility\BackendUtility\getTCAtypes(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getTSConfig(), TYPO3\CMS\WizardCrpages\Controller\CreatePagesWizardModuleFunctionController\getTypeSelectHtml(), TYPO3\CMS\Core\Database\SoftReferenceIndex\getTypoLinkParts(), TYPO3\CMS\Version\Hook\DataHandlerHook\getUniqueFields(), TYPO3\CMS\IndexedSearch\Indexer\getUrlHeaders(), TYPO3\CMS\SysAction\ActionTask\getUsergroups(), TYPO3\CMS\Backend\Utility\BackendUtility\getUserNames(), TYPO3\CMS\Backend\Form\AbstractNode\getValidationDataAsJsonString(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInline\getWorkspacedUids(), TYPO3\CMS\Core\Resource\ResourceStorage\hasFile(), TYPO3\CMS\Core\Html\HtmlParser\HTMLparserConfig(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\includeLibs(), TYPO3\CMS\Core\TypoScript\TemplateService\includeStaticTypoScriptSources(), TYPO3\CMS\IndexedSearch\Hook\CrawlerHook\indexSingleRecord(), TYPO3\CMS\Backend\ClickMenu\ClickMenu\init(), TYPO3\CMS\Core\Database\QueryGenerator\init(), TYPO3\CMS\Core\TypoScript\TemplateService\init(), TYPO3\CMS\Backend\Controller\EditDocumentController\init(), TYPO3\CMS\Core\Charset\CharsetConverter\initCharset(), TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController\initCurrentUrl(), TYPO3\CMS\Core\Localization\LanguageStore\initialize(), TYPO3\CMS\Rtehtmlarea\ImageHandler\AddImageHandler\initialize(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\initialize(), TYPO3\CMS\Workspaces\Controller\PreviewController\initializeAction(), TYPO3\CMS\Backend\Form\InlineStackProcessor\initializeByParsingDomObjectIdString(), TYPO3\CMS\Core\Utility\RootlineUtility\initializeObject(), TYPO3\CMS\IndexedSearch\FileContentParser\initParser(), TYPO3\CMS\Core\Utility\CommandUtility\initPaths(), TYPO3\CMS\Core\Charset\CharsetConverter\initUnicodeData(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\initVariables(), TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper\injectConfigurationManager(), TYPO3\CMS\Lang\Command\LanguageCommandController\injectRegistryService(), TYPO3\CMS\Core\DataHandling\DataHandler\insertUpdateDB_preprocessBasedOnFieldType(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\INTincScript_includeLibs(), TYPO3\CMS\Core\Core\SystemEnvironmentBuilder\isFunctionDisabled(), TYPO3\CMS\Backend\Utility\BackendUtility\isModuleSetInTBE_MODULES(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isServiceAvailable(), TYPO3\CMS\Core\DataHandling\DataHandler\isTableAllowedForThisPage(), TYPO3\CMS\Form\Domain\Validator\FileAllowedTypesValidator\isValid(), TYPO3\CMS\Form\Domain\Validator\InArrayValidator\isValid(), TYPO3\CMS\Frontend\Page\PageGenerator\JSeventFunctions(), TYPO3\CMS\Core\Utility\ArrayUtility\keepItemsInArray(), TYPO3\CMS\Backend\View\PageLayoutView\languageSelector(), TYPO3\CMS\Documentation\Controller\DocumentController\listAction(), TYPO3\CMS\Recycler\Domain\Model\DeletedRecords\loadData(), TYPO3\CMS\Backend\Controller\BackendController\loadResourcesForRegisteredNavigationComponents(), TYPO3\CMS\Rtehtmlarea\Extension\Spellchecker\main(), TYPO3\CMS\Lowlevel\LostFilesCommand\main(), TYPO3\CMS\Rtehtmlarea\Extension\CopyPaste\main(), TYPO3\CMS\Rtehtmlarea\Extension\Abbreviation\main(), TYPO3\CMS\Backend\Controller\ContentElement\ElementHistoryController\main(), TYPO3\CMS\Backend\Controller\File\CreateFolderController\main(), TYPO3\CMS\Backend\Controller\NewRecordController\main(), TYPO3\CMS\Backend\Controller\OnlineMediaController\mainAction(), TYPO3\CMS\Backend\Controller\Wizard\AddController\mainAction(), TYPO3\CMS\Backend\Controller\LoginController\makeInterfaceSelectorBox(), TYPO3\CMS\Backend\View\PageLayoutView\makeOrdinaryList(), TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList\makeQueryArray(), TYPO3\CMS\IndexedSearch\Controller\SearchFormController\makeSearchForm(), TYPO3\CMS\Core\Migrations\TcaMigration\migrateExtAndSysextPathToEXTPath(), TYPO3\CMS\Core\Migrations\TcaMigration\migrateShowItemAdditionalPaletteToOwnPalette(), TYPO3\CMS\Core\Migrations\TcaMigration\migrateSpecialConfigurationAndRemoveShowItemStylePointerConfig(), TYPO3\CMS\Core\Migrations\TcaMigration\migrateT3editorWizardWithEnabledByTypeConfigToColumnsOverrides(), TYPO3\CMS\Core\FrontendEditing\FrontendEditingController\move(), TYPO3\CMS\Core\DataHandling\DataHandler\moveL10nOverlayRecords(), TYPO3\CMS\Version\Hook\DataHandlerHook\moveRecord_wsPlaceholders(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\newCObj(), TYPO3\CMS\Backend\Form\Wizard\SuggestWizard\overrideFieldNameAndConfigurationForFlexform(), TYPO3\CMS\Extbase\Configuration\FrontendConfigurationManager\overrideStoragePidIfStartingPointIsSet(), TYPO3\CMS\Extbase\Configuration\FrontendConfigurationManager\overrideSwitchableControllerActionsFromFlexForm(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\parseFunc(), TYPO3\CMS\Backend\Module\ModuleLoader\parseModulesArray(), TYPO3\CMS\Core\Utility\RootlineUtility\parseMountPointParameter(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_classParam(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_getLL(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_getPidList(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_isOnlyFields(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_prependFieldsWithTable(), TYPO3\CMS\Core\DataHandling\DataHandler\placeholderShadowing(), TYPO3\CMS\Core\DataHandling\DataHandler\prepareCacheFlush(), TYPO3\CMS\Backend\Form\Wizard\SuggestWizardDefaultReceiver\prepareSelectStatement(), TYPO3\CMS\Backend\Form\Container\AbstractContainer\previewFieldValue(), TYPO3\CMS\Backend\Controller\EditDocumentController\printContent(), TYPO3\CMS\Backend\Tree\View\PagePositionMap\printContentElementColumns(), TYPO3\CMS\Core\TimeTracker\TimeTracker\printTSlog(), TYPO3\CMS\Frontend\DataProcessing\SplitProcessor\process(), TYPO3\CMS\Version\Hook\DataHandlerHook\processCmdmap(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\processDatabaseFieldValue(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\processForeignTableClause(), TYPO3\CMS\Core\TypoScript\TemplateService\processIncludes(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\processParams(), TYPO3\CMS\Felogin\Controller\FrontendLoginController\processRedirect(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\processRequest(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\processSessionData(), TYPO3\CMS\Recordlist\Browser\FileBrowser\processSessionData(), TYPO3\CMS\Core\Database\RelationHandler\readList(), TYPO3\CMS\Core\Category\CategoryRegistry\registerDefaultCategorizedTables(), TYPO3\CMS\Extbase\Utility\ExtensionUtility\registerModule(), TYPO3\CMS\Backend\Controller\NewRecordController\regularNew(), TYPO3\CMS\Core\DataHandling\DataHandler\remapListedDBRecords_procDBRefs(), TYPO3\CMS\Install\Controller\Action\Ajax\ExtensionCompatibilityTester\removeCurrentExtensionFromFile(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFlexProcess\removeExcludeFieldsFromDataStructure(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaTypesShowitem\removeFields(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaTypesShowitem\removeFieldsByBitmaskExcludeBits(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaTypesShowitem\removeFieldsBySubtypeExcludeList(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaTypesShowitem\removeFieldsFromPalettes(), TYPO3\CMS\Backend\Controller\UserSettingsController\removeFromList(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\removeInvalidElements(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\removeItemsByRemoveItemsPageTsConfig(), TYPO3\CMS\Backend\Form\Container\FlexFormTabsContainer\render(), TYPO3\CMS\Backend\Form\Container\FlexFormNoTabsContainer\render(), TYPO3\CMS\Rsaauth\Form\Element\RsaInputElement\render(), TYPO3\CMS\Backend\Form\Container\ListOfFieldsContainer\render(), TYPO3\CMS\Backend\Form\Container\FullRecordContainer\render(), TYPO3\CMS\Backend\Form\Element\SelectMultipleSideBySideElement\render(), TYPO3\CMS\Backend\Form\Container\SoloFieldContainer\render(), TYPO3\CMS\Backend\Form\Element\TextElement\render(), TYPO3\CMS\Backend\Form\Element\ImageManipulationElement\render(), TYPO3\CMS\Rtehtmlarea\ImageHandler\EditImageHandler\render(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\render(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\render_bullets(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\render_table(), TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController\render_uploads(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\renderForeignRecordHeader(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\renderL10nTable(), TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController\renderLinkAttributeFields(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\renderPageTitle(), TYPO3\CMS\Backend\Form\Container\InlineControlContainer\renderPossibleRecordsSelectorTypeGroupDB(), TYPO3\CMS\Fluid\ViewHelpers\Format\BytesViewHelper\renderStatic(), TYPO3\CMS\Backend\Form\Wizard\ValueSliderWizard\renderWizard(), TYPO3\CMS\Workspaces\Service\StagesService\resolveBackendUserIds(), TYPO3\CMS\Backend\Sprite\SpriteGenerator\resolveSpritePath(), TYPO3\CMS\Core\Html\RteHtmlParser\RTE_transform(), TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository\saveKeywords(), TYPO3\CMS\IndexedSearch\FileContentParser\searchTypeMediaTitle(), TYPO3\CMS\Core\Database\QueryGenerator\setAndCleanUpExternalLists(), TYPO3\CMS\Core\Core\Bootstrap\setCacheHashOptions(), TYPO3\CMS\Recycler\Domain\Model\DeletedRecords\setData(), TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowInitializeNew\setDefaultsFromNeighborRow(), TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapFactory\setFieldEvaluations(), TYPO3\CMS\Backend\Controller\UserSettingsController\setFromDottedNotation(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessFieldLabels\setLabelFromShowitemAndPalettes(), TYPO3\CMS\Core\DataHandling\DataHandler\setMirror(), TYPO3\CMS\Reports\Task\SystemStatusUpdateTask\setNotificationEmail(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\setPageCacheContent(), TYPO3\CMS\Recordlist\Browser\DatabaseBrowser\setTemporaryDbMounts(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\settingLanguage(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\spellCheckHandler(), TYPO3\CMS\Core\Html\HtmlParser\splitIntoBlock(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\splitString(), TYPO3\CMS\Core\Html\HtmlParser\splitTags(), TYPO3\CMS\Core\Database\RelationHandler\start(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\statisticDetailsAction(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\stdWrap_addPageCacheTags(), TYPO3\CMS\Core\Service\MarkerBasedTemplateService\substituteMarkerAndSubpartArrayRecursive(), TYPO3\CMS\Core\Service\MarkerBasedTemplateService\substituteMarkerArray(), TYPO3\CMS\Form\Domain\Validator\FileAllowedTypesValidator\substituteMarkers(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\TCAlookup(), TYPO3\CMS\Dbal\Database\Specifics\PostgresSpecifics\transformQueryParts(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\trimExplodeReturnsCorrectResult(), TYPO3\CMS\Core\Html\RteHtmlParser\TS_links_rte(), TYPO3\CMS\Core\Html\HtmlParser\unprotectTags(), TYPO3\CMS\Backend\View\ModuleMenuView\unsetHiddenModules(), TYPO3\CMS\Core\Core\Bootstrap\unsetReservedGlobalVariables(), TYPO3\CMS\Beuser\Controller\PermissionController\updateAction(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\updateBrokenLinks(), TYPO3\CMS\Lang\Service\TranslationService\updateTranslation(), TYPO3\CMS\Reports\Task\SystemStatusUpdateTaskNotificationEmailField\validateAdditionalFields(), TYPO3\CMS\Linkvalidator\Task\ValidatorTaskAdditionalFieldProvider\validateAdditionalFields(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\wizardArray(), and TYPO3\CMS\Install\Controller\Action\Ajax\ExtensionCompatibilityTester\writeCurrentExtensionToFile().

◆ underscoredToLowerCamelCase()

static TYPO3\CMS\Core\Utility\GeneralUtility::underscoredToLowerCamelCase (   $string)
static

Returns a given string with underscores as lowerCamelCase. Example: Converts minimal_value to minimalValue

Parameters
string$stringString to be converted to camel case
Returns
string lowerCamelCasedWord

Definition at line 1356 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapFactory\buildDataMap(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\caseshift(), TYPO3\CMS\Backend\Controller\BackendController\loadResourcesForRegisteredNavigationComponents(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\underscoredToLowerCamelCase().

◆ underscoredToUpperCamelCase()

static TYPO3\CMS\Core\Utility\GeneralUtility::underscoredToUpperCamelCase (   $string)
static

Returns a given string with underscores as UpperCamelCase. Example: Converts blog_example to BlogExample

Parameters
string$stringString to be converted to camel case
Returns
string UpperCamelCasedWord

Definition at line 1343 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\caseshift(), TYPO3\CMS\Extbase\Scheduler\TaskExecutor\execute(), TYPO3\CMS\Core\Page\PageRenderer\loadRequireJs(), TYPO3\CMS\Extbase\Utility\ExtensionUtility\registerModule(), TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\render(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\underscoredToUpperCamelCase().

◆ uniqueList()

static TYPO3\CMS\Core\Utility\GeneralUtility::uniqueList (   $in_list,
  $secondParameter = null 
)
static

Takes comma-separated lists and arrays and removes all duplicates If a value in the list is trim(empty), the value is ignored.

Parameters
string$in_listAccept multiple parameters which can be comma-separated lists of values and arrays.
mixed$secondParameterDummy field, which if set will show a warning!
Returns
string Returns the list without any duplicates of values, space around values are trimmed

Definition at line 828 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Resource\ResourceStorage\checkFileExtensionPermission(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\fetchGroupData(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\filelist(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordWSOL(), TYPO3\CMS\Core\Utility\File\BasicFileUtility\init(), TYPO3\CMS\Filelist\FileList\linkClipboardHeaderIcon(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\uniqueListUnifiesCommaSeparatedList(), and TYPO3\CMS\Core\Authentication\BackendUserAuthentication\workspaceInit().

◆ unlink_tempfile()

static TYPO3\CMS\Core\Utility\GeneralUtility::unlink_tempfile (   $uploadedTempFileName)
static

Deletes (unlink) a temporary filename in 'PATH_site."typo3temp/"' given as input. The function will check that the file exists, is in PATH_site."typo3temp/" and does not contain back-spaces ("../") so it should be pretty safe. Use this after upload_to_tempfile() or tempnam() from this class!

Parameters
string$uploadedTempFileNameFilepath for a file in PATH_site."typo3temp/". Must be absolute.
Returns
bool Returns TRUE if the file was unlink()'ed
See also
upload_to_tempfile(), tempnam()

Definition at line 4115 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Resource\Processing\LocalCropScaleMaskHelper\__construct(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\ContentObjectRendererTest\filelinkCreatesCorrectUrlForFileWithUrlEncodedSpecialChars(), TYPO3\CMS\Backend\Sprite\SpriteGenerator\generateGraphic(), TYPO3\CMS\Backend\Sprite\SpriteGenerator\generateHighDensityGraphic(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\processRequest(), TYPO3\CMS\Form\Utility\SessionUtility\removeFiles(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\spellCheckHandler(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\unlink_tempfileRemovesHiddenFile(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\unlink_tempfileRemovesValidFileInTypo3temp(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\unlink_tempfileReturnsNullIfFileDoesNotExist(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\unlink_tempfileReturnsNullIfFileIsNowWithinTypo3temp(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\unlink_tempfileReturnsTrueIfFileWasRemoved(), TYPO3\CMS\Core\Service\AbstractService\unlinkTempFiles(), and TYPO3\CMS\Impexp\Import\unlinkTempFiles().

◆ unQuoteFilenames()

static TYPO3\CMS\Core\Utility\GeneralUtility::unQuoteFilenames (   $parameters,
  $unQuote = false 
)
static

Explode a string (normally a list of filenames) with whitespaces by considering quotes in that string.

This is mostly needed by the imageMagickCommand function above.

Parameters
string$parametersThe whole parameters string
bool$unQuoteIf set, the elements of the resulting array are unquoted.
Returns
array Exploded parameters

Definition at line 5355 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\explodeAndUnquoteImageMagickCommands(), and TYPO3\CMS\Core\Utility\CommandUtility\imageMagickCommand().

◆ upload_copy_move()

static TYPO3\CMS\Core\Utility\GeneralUtility::upload_copy_move (   $source,
  $destination 
)
static

◆ upload_to_tempfile()

static TYPO3\CMS\Core\Utility\GeneralUtility::upload_to_tempfile (   $uploadedFileName)
static

Will move an uploaded file (normally in "/tmp/xxxxx") to a temporary filename in PATH_site."typo3temp/" from where TYPO3 can use it. Use this function to move uploaded files to where you can work on them. REMEMBER to use ::unlink_tempfile() afterwards - otherwise temp-files will build up! They are NOT automatically deleted in PATH_site."typo3temp/"!

Parameters
string$uploadedFileNameThe temporary uploaded filename, eg. $_FILES['[upload field name here]']['tmp_name']
Returns
string If a new file was successfully created, return its filename, otherwise blank string.
See also
unlink_tempfile(), upload_copy_move()

Definition at line 4087 of file GeneralUtility.php.

References $GLOBALS, and $params.

Referenced by TYPO3\CMS\Extensionmanager\Controller\UploadExtensionFileController\extractAction(), and TYPO3\CMS\Form\Hooks\HandleIncomingFormValues\saveUploadedFile().

◆ validEmail()

static TYPO3\CMS\Core\Utility\GeneralUtility::validEmail (   $email)
static

Checking syntax of input email address

http://tools.ietf.org/html/rfc3696 International characters are allowed in email. So the whole address needs to be converted to punicode before passing it to filter_var(). We convert the user- and domain part separately to increase the chance of hitting an entry in self::$idnaStringCache.

Also the @ sign may appear multiple times in an address. If not used as a boundary marker between the user- and domain part, it must be escaped with a backslash: @. This mean we can not just explode on the @ sign and expect to get just two parts. So we pop off the domain and then glue the rest together again.

Parameters
string$emailInput string to evaluate
Returns
bool Returns TRUE if the $email address (input string) is valid

Definition at line 1094 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_input_Eval(), TYPO3\CMS\Install\Controller\Action\Tool\TestSetup\executeAction(), TYPO3\CMS\Linkvalidator\Task\ValidatorTask\getLinkTypes(), TYPO3\CMS\Workspaces\ExtDirect\ActionHandler\getReceipientsOfStage(), TYPO3\CMS\Workspaces\ExtDirect\ActionHandler\getRecipientList(), TYPO3\CMS\Core\Utility\MailUtility\getSystemFromAddress(), TYPO3\CMS\Form\Domain\Validator\EmailValidator\isValid(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\link(), TYPO3\CMS\Form\PostProcess\MailPostProcessor\setFrom(), TYPO3\CMS\Reports\Task\SystemStatusUpdateTaskNotificationEmailField\validateAdditionalFields(), TYPO3\CMS\Linkvalidator\Task\ValidatorTaskAdditionalFieldProvider\validateAdditionalFields(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\validEmailReturnsFalseForInvalidMailAddress(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\validEmailReturnsTrueForValidMailAddress(), and TYPO3\CMS\SysAction\ActionTask\viewNewBackendUser().

◆ validIP()

static TYPO3\CMS\Core\Utility\GeneralUtility::validIP (   $ip)
static

Validate a given IP address.

Possible format are IPv4 and IPv6.

Parameters
string$ipIP address to be tested
Returns
bool TRUE if $ip is either of IPv4 or IPv6 format.

Definition at line 577 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\validIpReturnsFalseForInvalidIp(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\validIpReturnsTrueForValidIp().

◆ validIPv4()

static TYPO3\CMS\Core\Utility\GeneralUtility::validIPv4 (   $ip)
static

Validate a given IP address to the IPv4 address format.

Example for possible format: 10.0.45.99

Parameters
string$ipIP address to be tested
Returns
bool TRUE if $ip is of IPv4 format.

Definition at line 590 of file GeneralUtility.php.

◆ validIPv6()

static TYPO3\CMS\Core\Utility\GeneralUtility::validIPv6 (   $ip)
static

Validate a given IP address to the IPv6 address format.

Example for possible format: 43FB::BB3F:A0A0:0 | ::1

Parameters
string$ipIP address to be tested
Returns
bool TRUE if $ip is of IPv6 format.

Definition at line 603 of file GeneralUtility.php.

◆ validPathStr()

static TYPO3\CMS\Core\Utility\GeneralUtility::validPathStr (   $theFile)
static

Checks for malicious file paths.

Returns TRUE if no '//', '..', '\' or control characters are found in the $theFile. This should make sure that the path is not pointing 'backwards' and further doesn't contain double/back slashes. So it's compatible with the UNIX style path strings valid for TYPO3 internally.

Parameters
string$theFileFile path to evaluate
Returns
bool TRUE, $theFile is allowed path string, FALSE otherwise
See also
http://php.net/manual/en/security.filesystem.nullbytes.php

Definition at line 3931 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Utility\File\BasicFileUtility\checkPathAgainstMounts(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\clean_directory(), TYPO3\CMS\Core\Charset\CharsetConverter\initCharset(), TYPO3\CMS\Core\Charset\CharsetConverter\initUnicodeData(), TYPO3\CMS\Core\Utility\File\BasicFileUtility\is_directory(), TYPO3\CMS\Core\IO\PharStreamWrapperInterceptor\isAllowed(), TYPO3\CMS\Core\Tests\UnitTestCase\tearDown(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\validPathStrDetectsInvalidCharacters(), and TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\validPathStrWorksWithUnicodeFileNames().

◆ verifyFilenameAgainstDenyPattern()

static TYPO3\CMS\Core\Utility\GeneralUtility::verifyFilenameAgainstDenyPattern (   $filename)
static

◆ wrapJS()

static TYPO3\CMS\Core\Utility\GeneralUtility::wrapJS (   $string,
  $linebreak = true 
)
static

Wraps JavaScript code XHTML ready with <script>-tags Automatic re-indenting of the JS code is done by using the first line as indent reference. This is nice for indenting JS code with PHP code on the same level.

Parameters
string$stringJavaScript code
bool$linebreakWrap script element in line breaks? Default is TRUE.
Returns
string The wrapped JS code, ready to put into a XHTML page

Definition at line 1966 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Utility\DebugUtility\debug(), TYPO3\CMS\Core\Utility\DebugUtility\debugInPopUpWindow(), TYPO3\CMS\Core\TypoScript\ConfigurationForm\ext_getForm(), TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom(), TYPO3\CMS\Core\Page\PageRenderer\renderJqueryScriptTag(), TYPO3\CMS\Core\Page\PageRenderer\renderMainJavaScriptLibraries(), and TYPO3\CMS\Workspaces\Controller\ReviewController\singleIndexAction().

◆ writeFile()

static TYPO3\CMS\Core\Utility\GeneralUtility::writeFile (   $file,
  $content,
  $changePermissions = false 
)
static

Writes $content to the file $file

Parameters
string$fileFilepath to write to
string$contentContent to write
bool$changePermissionsIf TRUE, permissions are forced to be set
Returns
bool TRUE if the file was successfully opened and written to.

Definition at line 2712 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Resource\ResourceCompressor\__construct(), TYPO3\CMS\Lowlevel\AdminCommand\cli_main(), TYPO3\CMS\Dbal\Tests\Unit\Database\DatabaseConnectionTest\createFakeExtension(), TYPO3\CMS\Core\Log\Writer\FileWriter\createHtaccessFile(), TYPO3\CMS\Core\Log\Writer\FileWriter\createLogFile(), TYPO3\CMS\Core\Resource\ResourceCompressor\createMergedFile(), TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest\deleteProtocolFileDeletesFile(), TYPO3\CMS\Install\Service\SessionService\ensureSessionSavePathExists(), TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\extractIncludes(), TYPO3\CMS\Documentation\Service\DocumentationService\fetchDocument(), TYPO3\CMS\Backend\Sprite\AbstractSpriteHandler\generate(), TYPO3\CMS\Backend\Sprite\SpriteGenerator\generateSpriteFromArray(), TYPO3\CMS\Impexp\Import\import_addFileNameToBeCopied(), TYPO3\CMS\IndexedSearch\Indexer\indexExternalUrl(), TYPO3\CMS\Core\Core\ClassLoadingInformation\isClassLoadingInformationAvailable(), TYPO3\CMS\Install\Controller\Action\Ajax\ExtensionCompatibilityTester\logError(), TYPO3\CMS\Impexp\Import\processSoftReferences_saveFile_createRelFile(), TYPO3\CMS\Install\Controller\Action\Ajax\ExtensionCompatibilityTester\removeCurrentExtensionFromFile(), TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest\removeCurrentExtensionFromFileRemovesGivenExtension(), TYPO3\CMS\Core\Resource\ResourceCompressor\retrieveExternalFile(), TYPO3\CMS\Core\Package\PackageManager\sortAndSavePackageStates(), TYPO3\CMS\Documentation\Service\DocumentationService\unzipDocumentPackage(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\unzipExtensionFromFile(), TYPO3\CMS\Lang\Service\TerService\unzipTranslationFile(), TYPO3\CMS\Core\Configuration\ConfigurationManager\writeAdditionalConfiguration(), TYPO3\CMS\Install\Controller\Action\Ajax\ExtensionCompatibilityTester\writeCurrentExtensionToFile(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\writeEmConfToFile(), TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility\writeExtensionFiles(), TYPO3\CMS\Core\Resource\ResourceCompressor\writeFileAndCompressed(), TYPO3\CMS\Impexp\Import\writeFileVerify(), TYPO3\CMS\Core\Configuration\ConfigurationManager\writeLocalConfiguration(), and TYPO3\CMS\Impexp\Import\writeTemporaryFileFromData().

◆ writeFileToTypo3tempDir()

static TYPO3\CMS\Core\Utility\GeneralUtility::writeFileToTypo3tempDir (   $filepath,
  $content 
)
static

Writes $content to a filename in the typo3temp/ folder (and possibly one or two subfolders...) Accepts an additional subdirectory in the file path!

Parameters
string$filepathAbsolute file path to write to inside "typo3temp/". First part of this string must match PATH_site."typo3temp/"
string$contentContent string to write
Returns
string Returns NULL on success, otherwise an error string telling about the problem.

Definition at line 2807 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\copyDirectoryCopiesFilesAndDirectoriesWithAbsolutePaths(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\copyDirectoryCopiesFilesAndDirectoriesWithRelativePaths(), TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility\determineUpdateClassName(), TYPO3\CMS\Extensionmanager\Controller\ActionController\downloadExtensionDataAction(), TYPO3\CMS\Documentation\Service\DocumentationService\fetchDocument(), TYPO3\CMS\Extensionmanager\Utility\Repository\Helper\fetchFile(), TYPO3\CMS\Core\Tests\Unit\Utility\GeneralUtilityTest\fixPermissionsSetsPermissionsWithRelativeFileReference(), TYPO3\CMS\Core\Localization\Parser\LocallangArrayParser\generateCacheFile(), TYPO3\CMS\Backend\Controller\BackendController\getLocalLangFileName(), TYPO3\CMS\Documentation\Service\DocumentationService\getOfficialDocuments(), TYPO3\CMS\Backend\Controller\EditDocumentController\init(), TYPO3\CMS\Core\Charset\CharsetConverter\initCaseFolding(), TYPO3\CMS\Core\Charset\CharsetConverter\initCharset(), TYPO3\CMS\Core\Charset\CharsetConverter\initToASCII(), TYPO3\CMS\Core\Charset\CharsetConverter\initUnicodeData(), TYPO3\CMS\Frontend\Page\PageGenerator\inline2TempFile(), TYPO3\CMS\Core\Tests\Unit\Resource\ResourceFactoryTest\retrieveFileOrFolderObjectReturnsFileIfPathIsGiven(), TYPO3\CMS\Lang\Service\TerService\updateTranslation(), TYPO3\CMS\Version\Hook\DataHandlerHook\versionizePages(), TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi\writeTemporaryFile(), and TYPO3\CMS\Rtehtmlarea\Form\Element\RichTextElement\writeTemporaryFile().

◆ xml2array()

static TYPO3\CMS\Core\Utility\GeneralUtility::xml2array (   $string,
  $NSprefix = '',
  $reportDocTag = false 
)
static

Converts an XML string to a PHP array. This is the reverse function of array2xml() This is a wrapper for xml2arrayProcess that adds a two-level cache

Parameters
string$stringXML content to convert into an array
string$NSprefixThe tag-prefix resolve, eg. a namespace like "T3:"
bool$reportDocTagIf set, the document tag will be set in the key "_DOCUMENT_TAG" of the output array
Returns
mixed If the parsing had errors, a string with the error message is returned. Otherwise an array with the content.
See also
array2xml(),xml2arrayProcess()

Definition at line 2215 of file GeneralUtility.php.

References TYPO3\CMS\Frontend\Page\PageRepository\storeHash().

Referenced by TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForFlex(), TYPO3\CMS\Extbase\Service\FlexFormService\convertFlexFormContentToArray(), TYPO3\CMS\Core\DataHandling\DataHandler\copyRecord_procBasedOnFieldType(), TYPO3\CMS\Backend\Utility\BackendUtility\getFlexFormDS(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\getRegisteredFlexForms(), TYPO3\CMS\Backend\Utility\BackendUtility\getRegisteredFlexForms(), TYPO3\CMS\Core\Database\ReferenceIndex\getRelations(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFlexFetch\initializeDataValues(), TYPO3\CMS\Install\Updates\TableFlexFormToTtContentFieldsUpdate\initializeFlexForm(), TYPO3\CMS\Impexp\Import\loadFile(), TYPO3\CMS\Backend\Controller\Wizard\AddController\mainAction(), TYPO3\CMS\Frontend\Plugin\AbstractPlugin\pi_initPIflexForm(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\readFlexformIntoConf(), TYPO3\CMS\Core\DataHandling\DataHandler\remapListedDBRecords(), TYPO3\CMS\Impexp\Import\remapListedDBRecords_flexFormCallBack(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFlexFetch\resolvePossibleExternalFileInDataStructure(), TYPO3\CMS\Impexp\Import\setFlexFormRelations(), TYPO3\CMS\Backend\Controller\Wizard\TableController\tableWizard(), TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools\traverseFlexFormXMLData(), TYPO3\CMS\Core\DataHandling\DataHandler\updateFlexFormData(), and TYPO3\CMS\Core\DataHandling\DataHandler\versionizeRecord().

◆ xml2arrayProcess()

static TYPO3\CMS\Core\Utility\GeneralUtility::xml2arrayProcess (   $string,
  $NSprefix = '',
  $reportDocTag = false 
)
staticprotected

Converts an XML string to a PHP array. This is the reverse function of array2xml()

Parameters
string$stringXML content to convert into an array
string$NSprefixThe tag-prefix resolve, eg. a namespace like "T3:"
bool$reportDocTagIf set, the document tag will be set in the key "_DOCUMENT_TAG" of the output array
Returns
mixed If the parsing had errors, a string with the error message is returned. Otherwise an array with the content.
See also
array2xml()

Definition at line 2246 of file GeneralUtility.php.

References TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger().

◆ xml2tree()

static TYPO3\CMS\Core\Utility\GeneralUtility::xml2tree (   $string,
  $depth = 999,
  $parserOptions = [] 
)
static

Parses XML input into a PHP array with associative keys

Parameters
string$stringXML data input
int$depthNumber of element levels to resolve the XML into an array. Any further structure will be set as XML.
array$parserOptionsOptions that will be passed to PHP's xml_parser_set_option()
Returns
mixed The array with the parsed structure unless the XML parser returns with an error in which case the error message string is returned.

Definition at line 1995 of file GeneralUtility.php.

Referenced by TYPO3\CMS\IndexedSearch\FileContentParser\readFileContent().

◆ xmlGetHeaderAttribs()

static TYPO3\CMS\Core\Utility\GeneralUtility::xmlGetHeaderAttribs (   $xmlData)
static

Extracts the attributes (typically encoding and version) of an XML prologue (header).

Parameters
string$xmlDataXML data
Returns
array Attributes of the xml prologue (header)

Definition at line 2398 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools\traverseFlexFormXMLData().

◆ xmlRecompileFromStructValArray()

static TYPO3\CMS\Core\Utility\GeneralUtility::xmlRecompileFromStructValArray ( array  $vals)
static

This implodes an array of XML parts (made with xml_parse_into_struct()) into XML again.

Parameters
array$valsAn array of XML parts, see xml2tree
Returns
string Re-compiled XML data.

Definition at line 2354 of file GeneralUtility.php.

Member Data Documentation

◆ $allowHostHeaderValue

TYPO3\CMS\Core\Utility\GeneralUtility::$allowHostHeaderValue = false
staticprotected

◆ $applicationContext

◆ $finalClassNameCache

TYPO3\CMS\Core\Utility\GeneralUtility::$finalClassNameCache = []
staticprotected

Definition at line 76 of file GeneralUtility.php.

◆ $idnaConverter

TYPO3\CMS\Core\Utility\GeneralUtility::$idnaConverter = null
staticprotected

Definition at line 97 of file GeneralUtility.php.

◆ $idnaStringCache

TYPO3\CMS\Core\Utility\GeneralUtility::$idnaStringCache = []
staticprotected

Definition at line 90 of file GeneralUtility.php.

◆ $indpEnvCache

TYPO3\CMS\Core\Utility\GeneralUtility::$indpEnvCache = []
staticprotected

Definition at line 115 of file GeneralUtility.php.

◆ $nonSingletonInstances

TYPO3\CMS\Core\Utility\GeneralUtility::$nonSingletonInstances = []
staticprotected

Definition at line 69 of file GeneralUtility.php.

◆ $singletonInstances

TYPO3\CMS\Core\Utility\GeneralUtility::$singletonInstances = []
staticprotected

Definition at line 62 of file GeneralUtility.php.

◆ $supportedCgiServerApis

TYPO3\CMS\Core\Utility\GeneralUtility::$supportedCgiServerApis
staticprotected
Initial value:
= [
'fpm-fcgi',
'cgi',
'isapi',
'cgi-fcgi',
'srv',
]

Definition at line 104 of file GeneralUtility.php.

◆ ENV_TRUSTED_HOSTS_PATTERN_ALLOW_ALL

◆ ENV_TRUSTED_HOSTS_PATTERN_SERVER_NAME

const TYPO3\CMS\Core\Utility\GeneralUtility::ENV_TRUSTED_HOSTS_PATTERN_SERVER_NAME = 'SERVER_NAME'

◆ SYSLOG_SEVERITY_ERROR

const TYPO3\CMS\Core\Utility\GeneralUtility::SYSLOG_SEVERITY_ERROR = 3

Definition at line 42 of file GeneralUtility.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\acquirePageGenerationLock(), TYPO3\CMS\Core\Database\DatabaseConnection\checkConnectionCharset(), TYPO3\CMS\Frontend\Page\PageRepository\checkWorkspaceAccess(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\connectToDB(), TYPO3\CMS\Core\Database\DatabaseConnection\debug_check_recordset(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\fetch_the_id(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\fixPersonalDictionaryCharacterSet(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getConfigArray(), TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\getCookieDomain(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\getMainDictionaryCharacterSet(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getPageAndRootline(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getPageShortcut(), TYPO3\CMS\Dbal\Database\DatabaseConnection\handler_init(), TYPO3\CMS\Core\Cache\Backend\RedisBackend\initializeObject(), TYPO3\CMS\Extbase\Scheduler\Task\logException(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\processRequest(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\setMainDictionaryPath(), TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\settingLanguage(), TYPO3\CMS\Workspaces\Service\GridDataService\sortDataArray(), TYPO3\CMS\Core\Database\DatabaseConnection\sql_pconnect(), and TYPO3\CMS\Backend\Utility\BackendUtility\titleAltAttrib().

◆ SYSLOG_SEVERITY_FATAL

◆ SYSLOG_SEVERITY_INFO

const TYPO3\CMS\Core\Utility\GeneralUtility::SYSLOG_SEVERITY_INFO = 0

◆ SYSLOG_SEVERITY_NOTICE

◆ SYSLOG_SEVERITY_WARNING