[TYPO3-core] RFC #17420: Add LOOP cObject

JoH asenau info at cybercraft.de
Tue Feb 1 19:40:08 CET 2011


> Actually "input" is already supported by the proposed RFC (it may still
> be named "data" but latest version of the patch has it as "input" anyway).

That's what I just wanted to clarify.

> Problem as spotted by Ernesto is that stdWrap toolbox does not support
> returning arrays but once it's done the proposed LOOP cobj is working as
> intended.

Fine for me as long as there is a clearly visible difference between

myElement = LOOP
myElement.input = whatever

and

myElement = TEXT
myElement.data = whatever

So +1 for this one.

Still I think "input" should get stdWrap properties, even though we 
can't return arrays with stdWrap yet. But anything like

myElement.input.if.isTrue.data = whatever

would still be helpful. And we can easily add array related functions to 
stdWrap later on, without having to touch the LOOP element again.

Just my 2 cents

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com


More information about the TYPO3-team-core mailing list