[Neos] Reversing a collection in Typoscript/Flowquery
Nick Poaros
nick at jamalade.com
Thu Jan 2 23:41:09 CET 2014
Hi all
I am wondering if there is a straightforward way of reversing a collection (array) in Typoscript.
That is doing something like this
content = TYPO3.TypoScript:Collection {
// Retrieve all parent document nodes
collection = ${q(documentNode).add(q(documentNode).parents()).reverse}
...
}
I know "reverse" doesn't exist but can see that there is an ArrayHelper in the EEL framework but can't work out how to use it if it is at all possible:(
Any hints of how to implement would be useful too :)
Any help gratefully received.
Many thanks
Nick
More information about the Neos
mailing list