Feature #33747
open
Implement usort() and moveItemAt() in AbstractRecordCollection
Added by Oliver Hader almost 13 years ago.
Updated 5 months ago.
Sprint Focus:
On Location Sprint
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);
}
- Target version deleted (
4.7.0-beta1)
- Status changed from New to Needs Feedback
- Assignee changed from Steffen Ritter to Frans Saris
Hey Frans, do you have an idea of the status here?
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.
These functions can not be dropped because they need to be implemented somehow because of the interface \TYPO3\CMS\Core\Collection\SortableCollectionInterface
- Category set to Backend API
- Status changed from Needs Feedback to New
- Target version set to 8 LTS
- Target version changed from 8 LTS to 9.0
- Target version deleted (
9.0)
- Parent task deleted (
#33745)
These methods serve no use anymore, I suggest to deprecate them and the interface.
- Sprint Focus set to On Location Sprint
Also available in: Atom
PDF