Home
last modified time | relevance | path

Searched refs:MathUtility (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/core/Classes/Utility/
H A DVersionNumberUtility.php102 $t3version = MathUtility::forceIntegerInRange($parts[0], 0, 999) . '.' .
103 MathUtility::forceIntegerInRange($parts[1], 0, 999) . '.' .
104 MathUtility::forceIntegerInRange($parts[2], 0, 999);
135 $cleanedVersion[$j] = MathUtility::forceIntegerInRange($cleanedVersion[$j], 0, 999);
156 $parts[0] = MathUtility::forceIntegerInRange($parts[0], 0, 999);
157 $parts[1] = MathUtility::forceIntegerInRange($parts[1], 0, 999);
158 $parts[2] = MathUtility::forceIntegerInRange($parts[2], 0, 999);
182 $parts[0] = MathUtility::forceIntegerInRange($parts[0], 0, 999);
183 $parts[1] = MathUtility::forceIntegerInRange($parts[1], 0, 999);
184 $parts[2] = MathUtility::forceIntegerInRange($parts[2], 0, 999);
/dports/www/typo3-10/typo3_src-10.4.25/typo3/sysext/core/Classes/Utility/
H A DVersionNumberUtility.php112 $t3version = MathUtility::forceIntegerInRange($parts[0], 0, 999) . '.' .
113 MathUtility::forceIntegerInRange($parts[1], 0, 999) . '.' .
114 MathUtility::forceIntegerInRange($parts[2], 0, 999);
145 … $cleanedVersion[$j] = MathUtility::forceIntegerInRange((int)$cleanedVersion[$j], 0, 999);
166 $parts[0] = MathUtility::forceIntegerInRange($parts[0], 0, 999);
167 $parts[1] = MathUtility::forceIntegerInRange($parts[1], 0, 999);
168 $parts[2] = MathUtility::forceIntegerInRange($parts[2], 0, 999);
195 $parts[0] = MathUtility::forceIntegerInRange($parts[0], 0, 999);
196 $parts[1] = MathUtility::forceIntegerInRange($parts[1], 0, 999);
197 $parts[2] = MathUtility::forceIntegerInRange($parts[2], 0, 999);
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/core/Classes/Utility/
H A DVersionNumberUtility.php56 $t3version = MathUtility::forceIntegerInRange($parts[0], 0, 999) . '.' .
57 MathUtility::forceIntegerInRange($parts[1], 0, 999) . '.' .
58 MathUtility::forceIntegerInRange($parts[2], 0, 999);
89 … $cleanedVersion[$j] = MathUtility::forceIntegerInRange((int)$cleanedVersion[$j], 0, 999);
110 $parts[0] = MathUtility::forceIntegerInRange($parts[0], 0, 999);
111 $parts[1] = MathUtility::forceIntegerInRange($parts[1], 0, 999);
112 $parts[2] = MathUtility::forceIntegerInRange($parts[2], 0, 999);
/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/core/Classes/Resource/Service/
H A DMagicImageService.php18 use TYPO3\CMS\Core\Utility\MathUtility; alias
49 …$maxWidth = MathUtility::forceIntegerInRange($fileConfiguration['width'], 0, $this->magicImageMaxi…
50 …$maxHeight = MathUtility::forceIntegerInRange($fileConfiguration['height'], 0, $this->magicImageMa…
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/core/Classes/Resource/Service/
H A DMagicImageService.php21 use TYPO3\CMS\Core\Utility\MathUtility; alias
52 …$maxWidth = MathUtility::forceIntegerInRange($fileConfiguration['width'] ?? 0, 0, $this->magicImag…
53 …$maxHeight = MathUtility::forceIntegerInRange($fileConfiguration['height'] ?? 0, 0, $this->magicIm…
/dports/www/typo3-10/typo3_src-10.4.25/typo3/sysext/core/Classes/Resource/Service/
H A DMagicImageService.php21 use TYPO3\CMS\Core\Utility\MathUtility; alias
52 …$maxWidth = MathUtility::forceIntegerInRange($fileConfiguration['width'], 0, $this->magicImageMaxi…
53 …$maxHeight = MathUtility::forceIntegerInRange($fileConfiguration['height'], 0, $this->magicImageMa…
/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/backend/Classes/Form/Element/
H A DSelectMultipleSideBySideElement.php21 use TYPO3\CMS\Core\Utility\MathUtility; alias
111 $autoSizeMax = MathUtility::forceIntegerInRange($config['autoSizeMax'], 0);
117 …$size = MathUtility::forceIntegerInRange($selectedItemsCount + 1, MathUtility::forceIntegerInRange…
356 $autoSizeMax = MathUtility::forceIntegerInRange($config['autoSizeMax'], 0);
362 …$size = MathUtility::forceIntegerInRange($selectedItemsCount + 1, MathUtility::forceIntegerInRange…
H A DInputDateTimeElement.php20 use TYPO3\CMS\Core\Utility\MathUtility; alias
102 …$size = MathUtility::forceIntegerInRange($config['size'] ?? $defaultInputWidth, $this->minimumInpu…
112 if (!empty($itemValue) && !MathUtility::canBeInterpretedAsInteger($itemValue)) {
161 if (MathUtility::canBeInterpretedAsInteger($itemValue) && $itemValue != 0) {
178 …if (($format === 'time' || $format === 'timesec') && MathUtility::canBeInterpretedAsInteger($itemV…
H A DTextTableElement.php19 use TYPO3\CMS\Core\Utility\MathUtility; alias
95 …$cols = MathUtility::forceIntegerInRange($config['cols'] ?: $this->defaultInputWidth, $this->minim…
99 $rows = MathUtility::forceIntegerInRange($config['rows'] ?: 5, 1, 20);
103 $rows = MathUtility::forceIntegerInRange(
/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/core/Classes/Imaging/
H A DGraphicalFunctions.php25 use TYPO3\CMS\Core\Utility\MathUtility; alias
521 $tile[0] = MathUtility::forceIntegerInRange($tile[0], 1, 20);
522 $tile[1] = MathUtility::forceIntegerInRange($tile[1], 1, 20);
1360 $outLineDist = MathUtility::forceIntegerInRange($thickness, 1, 2);
1644 …$commands .= ' -wave ' . MathUtility::forceIntegerInRange($params[0], 0, 99) . 'x' . MathUtility::…
1844 $low = MathUtility::forceIntegerInRange($low, 0, 255);
1845 $high = MathUtility::forceIntegerInRange($high, 0, 255);
1873 $low = MathUtility::forceIntegerInRange($low, 0, 255);
1874 $high = MathUtility::forceIntegerInRange($high, 0, 255);
1929 $factor = MathUtility::forceIntegerInRange(ceil($factor / 10), 0, 10);
[all …]
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/core/Classes/Imaging/
H A DGraphicalFunctions.php26 use TYPO3\CMS\Core\Utility\MathUtility; alias
477 $tile[0] = MathUtility::forceIntegerInRange($tile[0], 1, 20);
478 $tile[1] = MathUtility::forceIntegerInRange($tile[1] ?? 0, 1, 20);
1332 $outLineDist = MathUtility::forceIntegerInRange($thickness, 1, 2);
1413 $blurRate = MathUtility::forceIntegerInRange((int)$conf['blur'], 0, 99);
1620 …$commands .= ' -wave ' . MathUtility::forceIntegerInRange($params[0], 0, 99) . 'x' . MathUtility::…
1823 $low = MathUtility::forceIntegerInRange($low, 0, 255);
1824 $high = MathUtility::forceIntegerInRange($high, 0, 255);
1852 $low = MathUtility::forceIntegerInRange($low, 0, 255);
1853 $high = MathUtility::forceIntegerInRange($high, 0, 255);
[all …]
/dports/www/typo3-10/typo3_src-10.4.25/typo3/sysext/core/Classes/Imaging/
H A DGraphicalFunctions.php26 use TYPO3\CMS\Core\Utility\MathUtility; alias
477 $tile[0] = MathUtility::forceIntegerInRange($tile[0], 1, 20);
478 $tile[1] = MathUtility::forceIntegerInRange($tile[1], 1, 20);
1331 $outLineDist = MathUtility::forceIntegerInRange($thickness, 1, 2);
1412 $blurRate = MathUtility::forceIntegerInRange((int)$conf['blur'], 0, 99);
1619 …$commands .= ' -wave ' . MathUtility::forceIntegerInRange($params[0], 0, 99) . 'x' . MathUtility::…
1822 $low = MathUtility::forceIntegerInRange($low, 0, 255);
1823 $high = MathUtility::forceIntegerInRange($high, 0, 255);
1851 $low = MathUtility::forceIntegerInRange($low, 0, 255);
1852 $high = MathUtility::forceIntegerInRange($high, 0, 255);
[all …]
/dports/www/typo3-10/typo3_src-10.4.25/typo3/sysext/core/Classes/Http/
H A DResponse.php20 use TYPO3\CMS\Core\Utility\MathUtility; alias
140 …if (MathUtility::canBeInterpretedAsInteger($statusCode) === false || !array_key_exists((int)$statu…
187 …if (MathUtility::canBeInterpretedAsInteger($code) === false || !array_key_exists((int)$code, $this…
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/core/Classes/Http/
H A DResponse.php20 use TYPO3\CMS\Core\Utility\MathUtility; alias
140 …if (MathUtility::canBeInterpretedAsInteger($statusCode) === false || !array_key_exists((int)$statu…
187 …if (MathUtility::canBeInterpretedAsInteger($code) === false || !array_key_exists((int)$code, $this…
/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/scheduler/Classes/Task/
H A DFileStorageExtractionAdditionalFieldProvider.php21 use TYPO3\CMS\Core\Utility\MathUtility; alias
158 … !MathUtility::canBeInterpretedAsInteger($submittedData['scheduler_fileStorageIndexing_storage'])
159 …|| !MathUtility::canBeInterpretedAsInteger($submittedData['scheduler_fileStorageIndexing_fileCount…
166 …if (!MathUtility::isIntegerInRange($submittedData['scheduler_fileStorageIndexing_fileCount'], 1, 9…
/dports/www/typo3-10/typo3_src-10.4.25/typo3/sysext/scheduler/Classes/Task/
H A DFileStorageExtractionAdditionalFieldProvider.php23 use TYPO3\CMS\Core\Utility\MathUtility; alias
161 … !MathUtility::canBeInterpretedAsInteger($submittedData['scheduler_fileStorageIndexing_storage'])
162 …|| !MathUtility::canBeInterpretedAsInteger($submittedData['scheduler_fileStorageIndexing_fileCount…
169 …if (!MathUtility::isIntegerInRange($submittedData['scheduler_fileStorageIndexing_fileCount'], 1, 9…
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/scheduler/Classes/Task/
H A DFileStorageExtractionAdditionalFieldProvider.php22 use TYPO3\CMS\Core\Utility\MathUtility; alias
160 … !MathUtility::canBeInterpretedAsInteger($submittedData['scheduler_fileStorageIndexing_storage'])
161 …|| !MathUtility::canBeInterpretedAsInteger($submittedData['scheduler_fileStorageIndexing_fileCount…
168 …if (!MathUtility::isIntegerInRange($submittedData['scheduler_fileStorageIndexing_fileCount'], 1, 9…
/dports/www/typo3-10/typo3_src-10.4.25/typo3/sysext/backend/Classes/Form/Element/
H A DSelectMultipleSideBySideElement.php23 use TYPO3\CMS\Core\Utility\MathUtility; alias
145 $autoSizeMax = MathUtility::forceIntegerInRange($config['autoSizeMax'], 0);
151 …$size = MathUtility::forceIntegerInRange($selectedItemsCount + 1, MathUtility::forceIntegerInRange…
394 $autoSizeMax = MathUtility::forceIntegerInRange($config['autoSizeMax'], 0);
400 …$size = MathUtility::forceIntegerInRange($selectedItemsCount + 1, MathUtility::forceIntegerInRange…
H A DTextTableElement.php20 use TYPO3\CMS\Core\Utility\MathUtility; alias
96 …$cols = MathUtility::forceIntegerInRange($config['cols'] ?: $this->defaultInputWidth, $this->minim…
100 $rows = MathUtility::forceIntegerInRange($config['rows'] ?: 5, 1, 20);
104 $rows = MathUtility::forceIntegerInRange(
H A DInputDateTimeElement.php21 use TYPO3\CMS\Core\Utility\MathUtility; alias
103 …$size = MathUtility::forceIntegerInRange($config['size'] ?? $defaultInputWidth, $this->minimumInpu…
113 if (!empty($itemValue) && !MathUtility::canBeInterpretedAsInteger($itemValue)) {
163 if (MathUtility::canBeInterpretedAsInteger($itemValue) && $itemValue != 0) {
180 …if (($format === 'time' || $format === 'timesec') && MathUtility::canBeInterpretedAsInteger($itemV…
/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/extbase/Classes/Persistence/
H A DObjectStorage.php17 use TYPO3\CMS\Core\Utility\MathUtility; alias
167 … || MathUtility::canBeInterpretedAsInteger($value) && isset(array_values($this->storage)[$value]);
181 if (MathUtility::canBeInterpretedAsInteger($value)) {
204 if (MathUtility::canBeInterpretedAsInteger($value)) {
/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/scheduler/Classes/CronCommand/
H A DNormalizeCommand.php17 use TYPO3\CMS\Core\Utility\MathUtility; alias
183 } elseif (MathUtility::canBeInterpretedAsInteger($listElement)) {
226 if (!MathUtility::canBeInterpretedAsInteger($fieldValue)) {
280 if (!MathUtility::canBeInterpretedAsInteger($right)) {
288 if (!MathUtility::canBeInterpretedAsInteger($leftValue)) {
/dports/www/typo3-10/typo3_src-10.4.25/typo3/sysext/scheduler/Classes/CronCommand/
H A DNormalizeCommand.php18 use TYPO3\CMS\Core\Utility\MathUtility; alias
184 } elseif (MathUtility::canBeInterpretedAsInteger($listElement)) {
227 if (!MathUtility::canBeInterpretedAsInteger($fieldValue)) {
281 if (!MathUtility::canBeInterpretedAsInteger($right)) {
289 if (!MathUtility::canBeInterpretedAsInteger($leftValue)) {
/dports/www/typo3-10/typo3_src-10.4.25/typo3/sysext/lowlevel/Classes/Command/
H A DDeletedRecordsCommand.php31 use TYPO3\CMS\Core\Utility\MathUtility; alias
83 …if ($input->hasOption('pid') && MathUtility::canBeInterpretedAsInteger($input->getOption('pid'))) {
84 $startingPoint = MathUtility::forceIntegerInRange((int)$input->getOption('pid'), 0);
88 …if ($input->hasOption('depth') && MathUtility::canBeInterpretedAsInteger($input->getOption('depth'…
89 $depth = MathUtility::forceIntegerInRange((int)$input->getOption('depth'), 0);
/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/lowlevel/Classes/Command/
H A DDeletedRecordsCommand.php29 use TYPO3\CMS\Core\Utility\MathUtility; alias
80 …if ($input->hasOption('pid') && MathUtility::canBeInterpretedAsInteger($input->getOption('pid'))) {
81 $startingPoint = MathUtility::forceIntegerInRange((int)$input->getOption('pid'), 0);
85 …if ($input->hasOption('depth') && MathUtility::canBeInterpretedAsInteger($input->getOption('depth'…
86 $depth = MathUtility::forceIntegerInRange((int)$input->getOption('depth'), 0);

12345678910>>...19