[TYPO3-dev] Fields in the TCA that does not exist in the DB

Steffen Kamper steffen at sk-typo3.de
Thu Oct 25 17:24:11 CEST 2007


"Mads Brunn" <mads at typoconsult.dk> schrieb im Newsbeitrag 
news:mailman.1.1193315459.18630.typo3-dev at lists.netfielders.de...
> Steffen Kamper skrev:
>> "Malte Jansen" <mail at maltejansen.de> schrieb im Newsbeitrag 
>> news:mailman.1.1193309052.9474.typo3-dev at lists.netfielders.de...
>>> I have written something in the "Thread" but I think it got lost...
>>> Steffen I think it corresponde with your idea
>>>
>>>
>>> What about a key in the config of $tca-field like
>>> config => array(
>>>     "noDB" => true/false;
>>> )
>>>
>
>
> But create yet another TCA-setting when we can check if the field exists 
> in the db using $TYPO3_DB->admin_get_fields(tablename)? Isn't that a more 
> elegant solution?
>
> ./mads

who knows if the field is really missing or unwanted?
IMHO a TCA-setting should be done for determination.

vg  Steffen 






More information about the TYPO3-dev mailing list