Project

General

Profile

Actions

Feature #33747

open

Implement usort() and moveItemAt() in AbstractRecordCollection

Added by Oliver Hader almost 13 years ago. Updated 5 months ago.

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

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
easy
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);
    }
Actions #1

Updated by Steffen Ritter over 12 years ago

  • Target version deleted (4.7.0-beta1)
Actions #2

Updated by Mathias Schreiber almost 10 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?

Actions #3

Updated by Frans Saris almost 10 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.

Actions #4

Updated by Frederic Gaus over 9 years ago

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

Actions #5

Updated by Alexander Opitz about 9 years ago

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

Still not implemented.

Actions #6

Updated by Riccardo De Contardi over 7 years ago

  • Target version changed from 8 LTS to 9.0
Actions #7

Updated by Susanne Moog almost 7 years ago

  • Target version deleted (9.0)
Actions #8

Updated by Benni Mack 6 months ago

  • Parent task deleted (#33745)

These methods serve no use anymore, I suggest to deprecate them and the interface.

Actions #9

Updated by Georg Ringer 5 months ago

  • Sprint Focus set to On Location Sprint
Actions #10

Updated by Garvin Hicking 5 months ago

  • Complexity set to easy
Actions

Also available in: Atom PDF