[TYPO3-mvc] Ordering of Tx_Extbase_Persistence_ObjectStorage Objects

Sebastian Kurfürst sebastian at typo3.org
Wed Apr 20 06:39:49 CEST 2011


Hi Falk,

this is correct, that Object Storages are not sortable... This is
because they mock \SplObjectStorage, which implement "Set" semantics.

I regard this a design flaw in Extbase, which has been recently fixed in
FLOW3 by the upgrade to Doctrine. We might lateron introduce some new
"List" (something like an Array Collection) which also supports ordering.

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list