[TYPO3-mvc] Domain Model when field contains underscore

Franz Koch typo3.RemoveForMessage at elements-net.de
Tue Mar 16 14:46:08 CET 2010


Hi again,

> AFAIK you should avoid underscores in your tablename suffix. So instead of:
> tx_yourext_domain_model_my_fancy_name
>
> use:
> tx_yourext_domain_model_myfancyname
>
>
> The mapping of that table name to a model named
> Tx_YourExt_Domain_Model_MyFancyName can then be done via TS in the
> persistence configuration of your extension.

I think I got your question wrong - sorry. This only applies for the 
name of the model itself. For model properties etc. see the answer from 
Oliver.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list