Feature #33747

Task #33745: Integrate File Abstraction Layer

Implement usort() and moveItemAt() in AbstractRecordCollection

Added by Oliver Hader almost 8 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
-
Start date:
2012-02-07
Due date:
% Done:

0%

PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

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 almost 8 years ago

  • Target version deleted (4.7.0-beta1)

#2 Updated by Mathias Schreiber almost 5 years ago

  • 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?

#3 Updated by Frans Saris almost 5 years 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 over 4 years ago

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

#5 Updated by Alexander Opitz about 4 years ago

  • Category set to Backend API
  • Status changed from Needs Feedback to New
  • Target version set to 8 LTS

Still not implemented.

#6 Updated by Riccardo De Contardi almost 3 years ago

  • Target version changed from 8 LTS to 9.0

#7 Updated by Susanne Moog almost 2 years ago

  • Target version deleted (9.0)

Also available in: Atom PDF