Project

General

Profile

Actions

Bug #62807

closed

Merge array functions from GeneralUtility to ArrayUtility

Added by Frederic Gaus over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Code Cleanup
Target version:
Start date:
2014-11-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Move the following functions to ArrayUtilities:

\TYPO3\CMS\Core\Utility\GeneralUtility::inArray
\TYPO3\CMS\Core\Utility\GeneralUtility::removeArrayEntryByValue
\TYPO3\CMS\Core\Utility\GeneralUtility::keepItemsInArray
\TYPO3\CMS\Core\Utility\GeneralUtility::remapArrayKeys
\TYPO3\CMS\Core\Utility\GeneralUtility::array_merge
\TYPO3\CMS\Core\Utility\GeneralUtility::arrayDiffAssocRecursive
\TYPO3\CMS\Core\Utility\GeneralUtility::naturalKeySortRecursive

it has to be discussed if this functions should be moved to ArrayUtilities too or if they should better be moved to StringUtilities:
\TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode
\TYPO3\CMS\Core\Utility\GeneralUtility::revExplode
\TYPO3\CMS\Core\Utility\GeneralUtility::intExplode


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #64596: Deprecate \TYPO3\CMS\Core\Utility\GeneralUtility::array_mergeClosedGöran Bodenschatz2015-01-29

Actions
Actions

Also available in: Atom PDF