TYPO3 CMS  TYPO3_6-2
t3lib_div Class Reference
Inheritance diagram for t3lib_div:
TYPO3\CMS\Core\Utility\GeneralUtility

Additional Inherited Members

- Static Public Member Functions inherited from TYPO3\CMS\Core\Utility\GeneralUtility
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 int_from_ver ($verNumberStr)
 
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='')
 
static convertMicrotime ($microtime)
 
static splitCalc ($string, $operators)
 
static htmlspecialchars_decode ($value)
 
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_recursive_overrule (array $arr0, array $arr1, $notAddKeys=FALSE, $includeEmptyValues=TRUE, $enableUnsetFeature=TRUE)
 
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)
 
static array2xml_cs (array $array, $docTag='phparray', array $options=array(), $charset='')
 
static array2xml (array $array, $NSprefix='', $level=0, $docTag='phparray', $spaceInd=0, array $options=array(), array $stackData=array())
 
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 ($localLimit=0)
 
static getBytesFromSizeMeasurement ($measurement)
 
static getMaximumPathLength ()
 
static createVersionNumberedFilename ($file, $forceQueryString=FALSE)
 
static getThisUrl ()
 
static linkThisScript (array $getParams=array())
 
static linkThisUrl ($url, array $getParams=array())
 
static getIndpEnv ($getEnvName)
 
static isAllowedHostHeaderValue ($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 loadTCA ($table)
 
static resolveSheetDefInDS ($dataStructArray, $sheet='sDEF')
 
static resolveAllSheetsInDS (array $dataStructArray)
 
static callUserFunction ($funcName, &$params, &$ref, $checkPrefix='', $errorMode=0)
 
static getUserObj ($classRef, $checkPrefix='', $silent=FALSE)
 
static makeInstance ($className)
 
static setSingletonInstance ($className, \TYPO3\CMS\Core\SingletonInterface $instance)
 
static removeSingletonInstance ($className, \TYPO3\CMS\Core\SingletonInterface $instance)
 
static resetSingletonInstances (array $newSingletonInstances)
 
static getSingletonInstances ()
 
static addInstance ($className, $instance)
 
static purgeInstances ()
 
static makeInstanceService ($serviceType, $serviceSubType='', $excludeServiceKeys=array())
 
static requireOnce ($requireFile)
 
static requireFile ($requireFile)
 
static plainMailEncoded ($email, $subject, $message, $headers='', $encoding='quoted-printable', $charset='', $dontEncodeHeader=FALSE)
 
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 ($font_size)
 
static initSysLog ()
 
static devLog ($msg, $extKey, $severity=0, $dataVar=FALSE)
 
static deprecationLog ($msg)
 
static getDeprecationLogFileName ()
 
static logDeprecatedFunction ()
 
static arrayToLogString (array $arr, $valueList=array(), $valueLength=20)
 
static imageMagickCommand ($command, $parameters, $path='')
 
static unQuoteFilenames ($parameters, $unQuote=FALSE)
 
static quoteJSvalue ($value)
 
static cleanOutputBuffers ()
 
static flushOutputBuffers ()
 
static presetApplicationContext (\TYPO3\CMS\Core\Core\ApplicationContext $applicationContext)
 
static getApplicationContext ()
 
static isRunningOnCgiServerApi ()
 
- Public Attributes inherited from TYPO3\CMS\Core\Utility\GeneralUtility
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 inherited from TYPO3\CMS\Core\Utility\GeneralUtility
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 inherited from TYPO3\CMS\Core\Utility\GeneralUtility
static $allowHostHeaderValue = FALSE
 
static $singletonInstances = array()
 
static $nonSingletonInstances = array()
 
static $finalClassNameCache = array()
 
static $applicationContext = NULL
 
static $idnaStringCache = array()
 
static $idnaConverter = NULL
 
static $supportedCgiServerApis
 

Detailed Description

Deprecated:
since 6.0 will be removed in 7.0

Definition at line 1392 of file LegacyClassesForIde.php.