Feature #33747

Task #33745: Integrate File Abstraction Layer

Implement usort() and moveItemAt() in AbstractRecordCollection

Added by Oliver Hader over 3 years ago. Updated 28 days ago.

Status:Needs Feedback Start date:2012-02-07
Priority:Should have Due date:
Assigned To:Frans Saris % Done:

0%

Category:- Spent time: -
Target version:-
PHP Version:5.3 Sprint Focus:
Complexity:

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);
    }

History

#1 Updated by Steffen Ritter over 3 years ago

  • Target version deleted (4.7.0-beta1)

#2 Updated by Mathias Schreiber 7 months ago

  • Status changed from New to Needs Feedback
  • Assigned To changed from Steffen Ritter to Frans Saris

Hey Frans, do you have an idea of the status here?

#3 Updated by Frans Saris 7 months ago

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.

#4 Updated by Frederic Gaus 28 days ago

These functions can not be dropped because they need to be implemented somehow because of the interface \TYPO3\CMS\Core\Collection\SortableCollectionInterface

Also available in: Atom PDF