[TYPO3-core] RFC: TS resolving of select fields with TCA hardcoded items
Christian Jul Jensen
julle at typo3.org
Fri Feb 10 11:30:43 CET 2006
On Friday 10 February 2006 10:08, Ingmar Schlecht wrote:
> AFAIK, t3lib_div::loadTCA() doesn't work reliably in the frontend, for
> example it doesn't properly get columns added as $tempColumns by
> extensions.
You are right, that is an annoying bug.
> $GLOBALS['TSFE']->includeTCA(); does the job, but the downside is that
> it always loads the FULL TCA.
ok
> I'd change this reset/while/list/each construct to a foreach().
usually I use foreach, but the problem is that foreach uses a copy of the
array, and for (the fully loaded!) TCA, I thought it was worth saving that
footprint
> > + // ... and return the first found label where the value was equal
> > to $key
>
> One-line comments are usually indented with by one additional tab.
ok (and this is where ZDE really sucks, why cant I configure this?)
> +1 if you change t3lib_div::loadTCA($table); to
> $GLOBALS['TSFE']->includeTCA();.
Done and comitted.
@stucki: do you add the documentation?
--
Christian Jul Jensen
TYPO3 association
http://association.typo3.org
* this mail is signed with GnuPG. If all you
* see is a file of unknown type, your mail client
* does not support it, just ignore it, it is not
* a virus, or have a look at http://openpgp.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060210/3697ca9b/attachment.pgp
More information about the TYPO3-team-core
mailing list