[TYPO3-dev] Possible RFC : Introducing ARRAY_LOOP cObject

Xavier Perseguers typo3 at perseguers.ch
Mon Jan 31 18:59:15 CET 2011


Hi,

>> This was discussed at T3DD10. I often have to deal with external data
>> which basically is an array of data just as what is returned by
>> $GLOBALS['TYPO3_DB']->exec_SELECTgetRows() or an array of some domain
>> object, when programming the Extbase way.
>>
>
>
> +1
>
> I would also add some registers that will be helpful to build lists:
>
> a) index (0,1,2,3...
> b) iteration (1,2,3,4...
> c) odd / even
> d) first / last
> e) all
>
> Without that you again have a pain to make lists in TS.

Thanks for your feedback. Please move this discussion into newly created 
thread "Array support for cObject (was: Re: [TYPO3-core] RFC #17420: Add 
LOOP cObject)" in v4 list. Thanks.

Xavier




More information about the TYPO3-dev mailing list