#33747Implement usort() and moveItemAt() in AbstractRecordCollection
Description
Current situation:
public function usort($callbackFunction) {
// TODO: Implement usort() method with TCEforms in mind
throw new RuntimeException('This method is not yet supported.', 1322545589);
}
public function moveItemAt($currentPosition, $newPosition = 0) {
// TODO: Implement usort() method with TCEforms in mind
throw new RuntimeException('This method is not yet supported.', 1322545626);
}Reviews 1
History 1213
-
Steffen Ritter changed target version 03/05/12, 17:36
-
Mathias Schreiber commented and changed status
NewNeeds Feedback assigned to Frans Saris 01/13/15, 08:32 -
Frans Saris commented 01/13/15, 09:14
The methods still have the todo line.
Maybe we should just drop them? Because for folder and category based collections there functions do not make sense. Only for collections where you add items manual.
But I guess Steffen or Oliver know more about this. If not just drop them.
-
Frederic Gaus commented 07/06/15, 18:10
These functions can not be dropped because they need to be implemented somehow because of the interface \TYPO3\CMS\Core\Collection\SortableCollectionInterface
-
Alexander Opitz commented and changed category status
Needs FeedbackNew target version 10/27/15, 14:38Still not implemented.
-
Riccardo De Contardi changed target version 02/23/17, 14:50
-
Susanne Moog changed target version 01/28/18, 14:29
-
Benni Mack commented and changed
parent task #3374506/07/24, 19:51These methods serve no use anymore, I suggest to deprecate them and the interface.
-
Georg Ringer changed Sprint Focus On Location Sprint 06/12/24, 07:25
-
Garvin Hicking changed Complexity easy 06/12/24, 08:01
-
Gerrit Code Review pushed patch set 1 for main to change 90132 status
NewUnder Review 07/23/25, 14:18 -
Benni Mack commented and changed status
Under ReviewResolved done0 %100 % 07/23/25, 20:50Applied in changeset commit:eba0643131fbd0f9d89e74d6eb07d0fc83d406fe.
-
Benni Mack changed status
ResolvedClosed 12/02/25, 14:36
Hey Frans, do you have an idea of the status here?