‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Utility\MathUtility Class Reference

Static Public Member Functions

static int forceIntegerInRange (mixed $theInt, int $min, int $max=2000000000, int $defaultValue=0)
 
static convertToPositiveInteger (mixed $theInt)
 
static bool canBeInterpretedAsInteger (mixed $var)
 
static bool canBeInterpretedAsFloat (mixed $var)
 
static float string calculateWithPriorityToAdditionAndSubtraction (string $string)
 
static string calculateWithParentheses (string $string)
 
static isIntegerInRange (mixed $value, int $minimum, int $maximum)
 

Detailed Description

Class with helper functions for mathematical calculations

Definition at line 23 of file MathUtility.php.

Member Function Documentation

◆ calculateWithParentheses()

static string TYPO3\CMS\Core\Utility\MathUtility::calculateWithParentheses ( string  $string)
static

Calculates the input with parenthesis levels

Parameters
string$string‪Input string, eg "(123 + 456) / 789 - 4
Returns
‪string Calculated value. Or error string.
See also
calculateWithPriorityToAdditionAndSubtraction()
‪\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::stdWrap()

Definition at line 167 of file MathUtility.php.

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

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\MathUtilityTest\calculateWithParenthesesCorrectlyCalculatesExpression(), and TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\stdWrap_prioriCalc().

◆ calculateWithPriorityToAdditionAndSubtraction()

static float string TYPO3\CMS\Core\Utility\MathUtility::calculateWithPriorityToAdditionAndSubtraction ( string  $string)
static

Calculates the input by +,-,*,/,%,^ with priority to + and -

Parameters
string$string‪Input string, eg "123 + 456 / 789 - 4
Returns
‪float|string Calculated value. Or error string.
See also
‪\TYPO3\CMS\Core\Utility\MathUtility::calculateWithParentheses()

Definition at line 107 of file MathUtility.php.

Referenced by TYPO3\CMS\Core\Utility\MathUtility\calculateWithParentheses(), and TYPO3\CMS\Core\Tests\Unit\Utility\MathUtilityTest\calculateWithPriorityToAdditionAndSubtractionCorrectlyCalculatesExpression().

◆ canBeInterpretedAsFloat()

static bool TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsFloat ( mixed  $var)
static

Tests if the input can be interpreted as float.

Note: Float casting from objects or arrays is considered undefined and thus will return false.

See also
http://www.php.net/manual/en/language.types.float.php, section "Formally" for the notation
Parameters
mixed$var‪Any input variable to test
Returns
‪bool Returns TRUE if string is a float

Definition at line 86 of file MathUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\MathUtilityTest\canBeInterpretedAsFloatReturnsFalse(), TYPO3\CMS\Core\Tests\Unit\Utility\MathUtilityTest\canBeInterpretedAsFloatReturnsTrue(), TYPO3\CMS\Core\Settings\Type\ColorType\normalizeRgba(), and TYPO3\CMS\Core\Settings\Type\NumberType\validate().

◆ canBeInterpretedAsInteger()

static bool TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger ( mixed  $var)
static

Tests if the input can be interpreted as integer.

Note: Integer casting from objects or arrays is considered undefined and thus will return false.

See also
https://php.net/manual/en/language.types.integer.php#language.types.integer.casting.from-other
Parameters
mixed$var‪Any input variable to test
Returns
‪bool Returns TRUE if string is an integer

Definition at line 69 of file MathUtility.php.

Referenced by TYPO3\CMS\Core\DataHandling\Localization\DataMapItem\__construct(), TYPO3\CMS\Core\Http\Response\__construct(), TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseParentPageRow\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaGroup\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInlineIsOnSymmetricSide\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRecordTypeValue\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\SiteTcaInline\addInlineFirstPid(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInline\addInlineFirstPid(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaSiteLanguage\addInlineFirstPid(), TYPO3\CMS\Impexp\Import\addSingle(), TYPO3\CMS\Core\DataHandling\SlugHelper\applyRecordConstraint(), TYPO3\CMS\Core\DataHandling\PagePermissionAssembler\assemblePermissions(), TYPO3\CMS\Backend\Form\Wizard\SuggestWizardDefaultReceiver\buildConstraintBlock(), TYPO3\CMS\Backend\Search\LiveSearch\PageRecordProvider\buildConstraintsForTable(), TYPO3\CMS\Backend\Search\LiveSearch\DatabaseRecordProvider\buildConstraintsForTable(), TYPO3\CMS\Frontend\Typolink\PageLinkBuilder\calculateUrlFragment(), TYPO3\CMS\Core\Tests\Unit\Utility\MathUtilityTest\canBeInterpretedAsIntegerReturnsFalse(), TYPO3\CMS\Core\Tests\Unit\Utility\MathUtilityTest\canBeInterpretedAsIntegerReturnsTrue(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValue_flex_procInData_travDS(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForDatetime(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForFile(), TYPO3\CMS\Core\DataHandling\DataHandler\checkValueForInline(), TYPO3\CMS\Lowlevel\Controller\DatabaseIntegrityController\cleanInputVal(), TYPO3\CMS\Core\DataHandling\DataHandler\clear_cacheCmd(), TYPO3\CMS\Extbase\Service\CacheService\clearPageCacheForGivenRecord(), TYPO3\CMS\Backend\Form\FormDataCompiler\compile(), TYPO3\CMS\Impexp\Controller\ExportController\configureExportFromFormData(), TYPO3\CMS\Scheduler\CronCommand\NormalizeCommand\convertRangeToListOfValues(), TYPO3\CMS\Core\DataHandling\DataHandler\copyRecord_processRelation(), TYPO3\CMS\Backend\View\BackendViewFactory\create(), TYPO3\CMS\Backend\Controller\FormInlineAjaxController\createAction(), TYPO3\CMS\Backend\Controller\FormFilesAjaxController\createAction(), TYPO3\CMS\Core\Resource\ResourceFactory\createFileObject(), TYPO3\CMS\Backend\Controller\Page\NewMultiplePagesController\createPages(), TYPO3\CMS\Core\DataHandling\DataHandler\dbAnalysisStoreExec(), TYPO3\CMS\Core\DataHandling\SlugEnricher\enrichDataMap(), TYPO3\CMS\Core\Database\Schema\SchemaDiff\ensureCollection(), TYPO3\CMS\Lowlevel\Command\DeletedRecordsCommand\execute(), TYPO3\CMS\Scheduler\Command\SchedulerCommand\execute(), TYPO3\CMS\Workspaces\Command\WorkspaceVersionRecordsCommand\execute(), TYPO3\CMS\Backend\Controller\FormFilesAjaxController\expandOrCollapseAction(), TYPO3\CMS\Backend\Controller\FormInlineAjaxController\expandOrCollapseAction(), TYPO3\CMS\Core\DataHandling\Localization\DataMapItem\extractId(), TYPO3\CMS\Backend\Tree\Repository\PageTreeRepository\fetchFilteredTree(), TYPO3\CMS\Core\Service\MarkerBasedTemplateService\fillInMarkerArray(), TYPO3\CMS\Core\DataHandling\Localization\DataMapProcessor\filterNumericIds(), TYPO3\CMS\Beuser\Domain\Repository\BackendUserGroupRepository\findByFilter(), TYPO3\CMS\Core\Routing\Aspect\PersistedAliasMapper\findByIdentifier(), TYPO3\CMS\Core\Routing\Aspect\PersistedPatternMapper\findByIdentifier(), TYPO3\CMS\Beuser\Domain\Repository\BackendUserRepository\findDemanded(), TYPO3\CMS\Adminpanel\Modules\TsDebug\TypoScriptWaterfall\fixContent(), TYPO3\CMS\Core\Localization\DateFormatter\format(), TYPO3\CMS\Extensionmanager\Domain\Model\Extension\getCategoryIndexFromStringOrNumber(), TYPO3\CMS\Core\Resource\AbstractFile\getCombinedIdentifier(), TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager\getCurrentPageIdFromRequest(), TYPO3\CMS\Backend\Form\Element\ImageManipulationElement\getFile(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getFileDataKey(), TYPO3\CMS\Recycler\Domain\Model\DeletedRecords\getFilteredQueryBuilder(), TYPO3\CMS\Extbase\Service\ImageService\getImageFromSourceString(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\getImgResource(), TYPO3\CMS\Core\Domain\Repository\PageRepository\getLanguageFallbackChain(), TYPO3\CMS\Backend\Form\Element\LinkElement\getLinkExplanation(), TYPO3\CMS\Backend\Controller\PageTsConfig\PageTsConfigRecordsOverviewController\getList(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getMemcachedConnectionStatus(), TYPO3\CMS\Workspaces\Service\WorkspaceService\getNewVersionsForPages(), TYPO3\CMS\Core\Resource\ResourceFactory\getObjectFromCombinedIdentifier(), TYPO3\CMS\Impexp\Controller\ExportController\getPageLevelSelectOptions(), TYPO3\CMS\Form\Domain\Finishers\EmailFinisher\getRecipients(), TYPO3\CMS\Backend\LinkHandler\PageLinkHandler\getRecordsOnExpandedPage(), TYPO3\CMS\Core\Resource\ResourceFactory\getStorageObjectFromCombinedIdentifier(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\getTimestampFromDateString(), TYPO3\CMS\Styleguide\TcaDataGenerator\AbstractGenerator\getUidOfLastTopLevelPage(), TYPO3\CMS\Backend\Controller\Wizard\ImageManipulationController\getWizardContent(), TYPO3\CMS\Workspaces\Controller\Remote\RemoteServer\getWorkspaceInfos(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\imageLinkWrap(), TYPO3\CMS\Backend\Controller\Wizard\AddController\init(), TYPO3\CMS\Core\Resource\ResourceCompressor\initialize(), TYPO3\CMS\Frontend\Controller\ShowImageController\initialize(), TYPO3\CMS\Backend\Middleware\OutputCompression\initializeOutputCompression(), TYPO3\CMS\Frontend\Middleware\OutputCompression\initializeOutputCompression(), TYPO3\CMS\Core\DataHandling\DataHandler\inlineLocalizeSynchronize(), TYPO3\CMS\Core\DataHandling\DataHandler\insertUpdateDB_preprocessBasedOnFieldType(), TYPO3\CMS\Workspaces\DataHandler\CommandMap\invokeWorkspacesSetStageItems(), TYPO3\CMS\Frontend\Typolink\LinkVarsCalculator\isAllowedLinkVarValue(), TYPO3\CMS\Core\DataHandling\Model\RecordState\isNew(), TYPO3\CMS\Core\Database\RelationHandler\isOnSymmetricSide(), TYPO3\CMS\Core\DataHandling\SlugHelper\isUniqueInSite(), TYPO3\CMS\Core\Resource\Security\FilePermissionAspect\isValidStorageData(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\jsConfirmation(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\listNum(), TYPO3\CMS\Backend\RecordList\DatabaseRecordList\makeSearchString(), TYPO3\CMS\Core\Routing\PageRouter\matchRequest(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\menuTypoLink(), TYPO3\CMS\Core\Configuration\Tca\TcaMigration\migrateRenderTypeInputDateTimeToTypeDatetime(), TYPO3\CMS\Backend\Controller\SiteInlineAjaxController\newInlineChildAction(), TYPO3\CMS\Scheduler\CronCommand\NormalizeCommand\normalizeIntegerField(), TYPO3\CMS\Core\Settings\Type\ColorType\normalizeRgb(), TYPO3\CMS\Core\Settings\Type\ColorType\normalizeRgba(), TYPO3\CMS\Extbase\Persistence\ObjectStorage< TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\Property\DummyEntityWithoutTypeDeclarations >\offsetExists(), TYPO3\CMS\Extbase\Persistence\ObjectStorage< TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\Property\DummyEntityWithoutTypeDeclarations >\offsetGet(), TYPO3\CMS\Extbase\Persistence\ObjectStorage< TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\Property\DummyEntityWithoutTypeDeclarations >\offsetUnset(), TYPO3\CMS\Core\DataHandling\SoftReference\TypolinkTagSoftReferenceParser\parse(), TYPO3\CMS\Core\Serializer\Typo3XmlSerializer\parseArray(), TYPO3\CMS\Backend\Form\FormDataProvider\EvaluateDisplayConditions\parseSingleConditionString(), TYPO3\CMS\Core\Serializer\Typo3XmlParser\parseXml(), TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManager\pathIsIntendedAsFileMountPath(), TYPO3\CMS\Lowlevel\ConfigurationModuleProvider\PageDoktypeProvider\prepareLabelsForAllTypes(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForKeywordsMenu(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForRootlineMenu(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForUpdatedMenu(), TYPO3\CMS\Backend\Middleware\SiteResolver\process(), TYPO3\CMS\Core\DataHandling\DataHandler\process_datamap(), TYPO3\CMS\Backend\Controller\EditDocumentController\processData(), TYPO3\CMS\Webhooks\Listener\PageModificationListener\processDatamap_afterDatabaseOperations(), TYPO3\CMS\SysNote\Persistence\NoteCreationEnricher\processDatamap_preProcessFieldArray(), TYPO3\CMS\Dashboard\Persistence\DashboardCreationEnricher\processDatamap_preProcessFieldArray(), TYPO3\CMS\Core\Hooks\BackendUserPasswordCheck\processDatamap_preProcessFieldArray(), TYPO3\CMS\Core\Resource\Security\FilePermissionAspect\processDatamap_preProcessFieldArray(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\processForeignTableClause(), TYPO3\CMS\Backend\Controller\Wizard\EditController\processRequest(), TYPO3\CMS\Core\Database\RelationHandler\readList(), TYPO3\CMS\Extbase\Mvc\Controller\ActionController\redirect(), TYPO3\CMS\Scheduler\CronCommand\NormalizeCommand\reduceListOfValuesByStepValue(), TYPO3\CMS\Backend\Form\Container\SingleFieldContainer\render(), TYPO3\CMS\Backend\Form\Element\DatetimeElement\render(), TYPO3\CMS\Backend\Form\Element\CodeEditorElement\render(), TYPO3\CMS\Backend\Form\Container\InlineControlContainer\render(), TYPO3\CMS\Backend\Form\Container\FilesControlContainer\render(), TYPO3\CMS\Backend\Form\Container\FileReferenceContainer\renderFileReferenceHeaderControl(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\renderForeignRecordHeaderControl(), TYPO3\CMS\Fluid\ViewHelpers\Format\DateViewHelper\renderStatic(), TYPO3\CMS\Fluid\ViewHelpers\Link\ActionViewHelper\renderWithExtbaseContext(), TYPO3\CMS\Fluid\ViewHelpers\Uri\PageViewHelper\renderWithExtbaseContext(), TYPO3\CMS\Fluid\ViewHelpers\Link\PageViewHelper\renderWithExtbaseContext(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\replacement(), TYPO3\CMS\Core\LinkHandling\LegacyLinkNotationConverter\resolve(), TYPO3\CMS\Core\Routing\Aspect\SiteLanguageAccessorTrait\resolveAllRelevantLanguageIds(), TYPO3\CMS\Core\LinkHandling\PageLinkHandler\resolveHandlerData(), TYPO3\CMS\Core\Routing\SiteMatcher\resolveLanguageIdQueryParam(), TYPO3\CMS\Core\Routing\SiteMatcher\resolvePageIdQueryParam(), TYPO3\CMS\Core\LinkHandling\LegacyLinkNotationConverter\resolvePageRelatedParameters(), TYPO3\CMS\Core\Resource\Security\FilePermissionAspect\resolveReferencedFile(), TYPO3\CMS\Core\Resource\Security\FilePermissionAspect\resolveReferencedFiles(), TYPO3\CMS\Core\DataHandling\Localization\DataMapProcessor\resolveSuggestedInlineRelations(), TYPO3\CMS\Workspaces\DataHandler\CommandMap\resolveWorkspacesSwapDependencies(), TYPO3\CMS\Core\Resource\ResourceFactory\retrieveFileOrFolderObject(), TYPO3\CMS\Core\Resource\Processing\AbstractTask\sanitizeConfiguration(), TYPO3\CMS\Backend\Controller\SiteConfigurationController\saveAction(), TYPO3\CMS\Workspaces\Service\WorkspaceService\selectAllVersionsFromPages(), TYPO3\CMS\Workspaces\Controller\Remote\ActionHandler\sentCollectionToStage(), TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowInitializeNew\setDefaultsFromInlineParentLanguage(), TYPO3\CMS\Backend\Controller\EditDocumentController\setIsSavedRecord(), TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowInitializeNew\setPid(), TYPO3\CMS\Frontend\Page\PageInformationFactory\settingLanguage(), TYPO3\CMS\Core\DataHandling\SoftReference\TypolinkSoftReferenceParser\setTypoLinkPartsElement(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\splitObj(), TYPO3\CMS\Core\Tests\Unit\LinkHandling\FileLinkHandlerTest\splitParametersToUnifiedIdentifierForFiles(), TYPO3\CMS\Core\Tests\Unit\LinkHandling\LegacyLinkNotationConverterTest\splitParametersToUnifiedIdentifierForFiles(), TYPO3\CMS\Core\DataHandling\DataHandler\start(), TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\stdWrap_formattedDate(), TYPO3\CMS\Core\Localization\DateFormatter\strftime(), TYPO3\CMS\Backend\Controller\FormFilesAjaxController\synchronizeLocalizeAction(), TYPO3\CMS\Backend\Controller\FormInlineAjaxController\synchronizeLocalizeAction(), TYPO3\CMS\Core\DataHandling\Localization\DataMapProcessor\synchronizeTranslationItem(), TYPO3\CMS\Install\Controller\SettingsController\systemMaintainerWriteAction(), TYPO3\CMS\Core\Settings\Type\NumberType\transformValue(), TYPO3\CMS\Core\DataHandling\DataHandler\updateFlexFormData(), TYPO3\CMS\Core\Resource\ProcessedFile\updateProperties(), TYPO3\CMS\Core\Settings\Type\IntType\validate(), TYPO3\CMS\Core\Settings\Type\NumberType\validate(), TYPO3\CMS\Scheduler\Task\FileStorageIndexingAdditionalFieldProvider\validateAdditionalFields(), TYPO3\CMS\Scheduler\Task\FileStorageExtractionAdditionalFieldProvider\validateAdditionalFields(), TYPO3\CMS\Workspaces\Controller\Remote\MassActionHandler\validateLanguageParameter(), TYPO3\CMS\Workspaces\Controller\Remote\RemoteServer\validateLanguageParameter(), TYPO3\CMS\Backend\Middleware\BackendModuleValidator\validateModuleAccess(), TYPO3\CMS\Core\Database\RelationHandler\writeForeignField(), TYPO3\CMS\Impexp\Import\writePagesOrder(), TYPO3\CMS\Impexp\Import\writeRecordsOrder(), and TYPO3\CMS\Core\Utility\GeneralUtility\xml2arrayProcess().

◆ convertToPositiveInteger()

◆ forceIntegerInRange()

static int TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange ( mixed  $theInt,
int  $min,
int  $max = 2000000000,
int  $defaultValue = 0 
)
static

Forces the integer $theInt into the boundaries of $min and $max. If the $theInt is FALSE then the $defaultValue is applied.

Parameters
mixed$theInt‪Input value - will be cast to int if non-integer value is passed.
int$min‪Lower limit
int$max‪Higher limit
int$defaultValue‪Default value if input is FALSE.
Returns
‪int The input value forced into the boundaries of $min and $max

Definition at line 34 of file MathUtility.php.

Referenced by TYPO3\CMS\Filelist\FileList\__construct(), TYPO3\CMS\Frontend\Imaging\GifBuilder\__construct(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectItems\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaGroup\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFolder\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectTreeItems\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider\addItemsFromFolder(), TYPO3\CMS\Frontend\Imaging\GifBuilder\convertColor(), TYPO3\CMS\Core\Utility\MathUtility\convertToPositiveInteger(), TYPO3\CMS\Core\Utility\VersionNumberUtility\convertVersionsStringToVersionNumbers(), TYPO3\CMS\Frontend\Imaging\GifBuilder\copyGifOntoGif(), TYPO3\CMS\Recycler\Controller\RecyclerAjaxController\dispatch(), TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository\doSearch(), TYPO3\CMS\Lowlevel\Command\DeletedRecordsCommand\execute(), TYPO3\CMS\Workspaces\Command\WorkspaceVersionRecordsCommand\execute(), TYPO3\CMS\IndexedSearch\FileContentParser\fileContentParts(), TYPO3\CMS\Core\Tests\Unit\Utility\MathUtilityTest\forceIntegerInRangeForcesIntegerIntoDefaultBoundaries(), TYPO3\CMS\Core\Tests\Unit\Utility\MathUtilityTest\forceIntegerInRangeSetsDefaultValueIfZeroValueIsGiven(), TYPO3\CMS\Backend\Form\Element\AbstractFormElement\formatValue(), TYPO3\CMS\Core\Authentication\IpLocker\getIpLockPart(), TYPO3\CMS\Core\Utility\VersionNumberUtility\getNumericTypo3Version(), TYPO3\CMS\Backend\RecordList\DatabaseRecordList\getTable(), TYPO3\CMS\Frontend\Imaging\GifBuilder\getTextScalFactor(), TYPO3\CMS\Recycler\Controller\RecyclerModuleController\handleRequest(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\handleRequest(), TYPO3\CMS\Frontend\Imaging\GifBuilder\IMparams(), TYPO3\CMS\Backend\Controller\SimpleDataHandlerController\init(), TYPO3\CMS\Backend\Clipboard\Clipboard\initializeClipboard(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaCategory\initializeDefaultFieldConfig(), TYPO3\CMS\Filelist\Controller\FileListController\initializeFileList(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInlineConfiguration\initializeMinMaxItems(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaSiteLanguage\initializeMinMaxItems(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaFiles\initializeMinMaxItems(), TYPO3\CMS\IndexedSearch\FileContentParser\initParser(), TYPO3\CMS\Frontend\Imaging\GifBuilder\inputLevels(), TYPO3\CMS\Core\Authentication\BackendUserAuthentication\jsConfirmation(), TYPO3\CMS\IndexedSearch\Controller\SearchController\loadSettings(), TYPO3\CMS\Backend\Controller\BackendController\mainAction(), TYPO3\CMS\Frontend\Imaging\GifBuilder\makeBox(), TYPO3\CMS\Frontend\Imaging\GifBuilder\makeOutline(), TYPO3\CMS\Frontend\Imaging\GifBuilder\makeShadow(), TYPO3\CMS\Frontend\Imaging\GifBuilder\makeText(), TYPO3\CMS\IndexedSearch\Controller\SearchController\markupSWpartsOfString(), TYPO3\CMS\Frontend\Imaging\GifBuilder\output(), TYPO3\CMS\Frontend\Imaging\GifBuilder\outputLevels(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForKeywordsMenu(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\prepareMenuItemsForUpdatedMenu(), TYPO3\CMS\Core\Resource\Processing\LocalPreviewHelper\preProcessConfiguration(), TYPO3\CMS\Frontend\Controller\ShowImageController\processImage(), TYPO3\CMS\Frontend\ContentObject\FilesContentObject\render(), TYPO3\CMS\Backend\Form\Element\NoneElement\render(), TYPO3\CMS\Filelist\LinkHandler\FolderLinkHandler\render(), TYPO3\CMS\Backend\Form\Element\PasswordElement\render(), TYPO3\CMS\Backend\Form\Element\UuidElement\render(), TYPO3\CMS\Filelist\ElementBrowser\CreateFolderBrowser\render(), TYPO3\CMS\Filelist\ElementBrowser\FolderBrowser\render(), TYPO3\CMS\Filelist\LinkHandler\FileLinkHandler\render(), TYPO3\CMS\Backend\Form\Element\EmailElement\render(), TYPO3\CMS\Backend\Form\Element\ColorElement\render(), TYPO3\CMS\Backend\Form\Element\JsonElement\render(), TYPO3\CMS\Backend\Form\Element\NumberElement\render(), TYPO3\CMS\Backend\Form\Element\InputTextElement\render(), TYPO3\CMS\Backend\Form\Element\DatetimeElement\render(), TYPO3\CMS\Backend\Form\Element\InputSlugElement\render(), TYPO3\CMS\Backend\Form\Element\TextElement\render(), TYPO3\CMS\Backend\Form\Element\SelectSingleBoxElement\render(), TYPO3\CMS\Backend\Form\Element\TextTableElement\render(), TYPO3\CMS\Backend\Form\Element\FolderElement\render(), TYPO3\CMS\Filelist\ElementBrowser\FileBrowser\render(), TYPO3\CMS\Backend\Form\Element\LinkElement\render(), TYPO3\CMS\Backend\Form\Element\GroupElement\render(), TYPO3\CMS\Backend\Form\Element\SelectMultipleSideBySideElement\render(), TYPO3\CMS\Backend\Form\Container\InlineControlContainer\renderPossibleRecordsSelectorTypeSelect(), TYPO3\CMS\Backend\Form\Element\SelectMultipleSideBySideElement\renderReadOnly(), TYPO3\CMS\IndexedSearch\ViewHelpers\SearchResult\RatingViewHelper\renderStatic(), TYPO3\CMS\Backend\ElementBrowser\DatabaseBrowser\renderTableRecords(), TYPO3\CMS\Backend\LinkHandler\RecordLinkHandler\renderTableRecords(), TYPO3\CMS\Core\Resource\Processing\ImagePreviewTask\sanitizeConfiguration(), TYPO3\CMS\Frontend\Imaging\GifBuilder\start(), TYPO3\CMS\Filelist\FileList\start(), TYPO3\CMS\Backend\RecordList\DatabaseRecordList\start(), and TYPO3\CMS\Tstemplate\Controller\ConstantEditorController\updateTemplateConstants().

◆ isIntegerInRange()

static TYPO3\CMS\Core\Utility\MathUtility::isIntegerInRange ( mixed  $value,
int  $minimum,
int  $maximum 
)
static