[TYPO3-core] RFC: Bug #10094: Use foreach instead of while-list-each constructs in t3lib_TCEmain
Steffen Kamper
info at sk-typo3.de
Sun Jan 11 11:44:53 CET 2009
Hi olly,
+1 by reading
I'm wondering about some naming, function·compileAdminTables is a good
example for "wrong" naming returning array_keys of $TCA :-)
vg Steffen
Oliver Hader schrieb:
> This is a SVN patch request.
>
> Problem:
> In t3lib_TCEmain there are a lot of while(list(...)=each(...)) loops
> that should be replaced by foreach loops.
>
> Solution:
> Use foreach loops...
>
> Comments:
> The patch just changes the loops, remove superfluous global()
> definitions and code that could be written easier in this context.
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=10094
>
> Branch: Trunk
>
>
> olly
>
More information about the TYPO3-team-core
mailing list