[TYPO3-mvc] "Model->attach" does not change database
Joerg Schoppet
joerg at schoppet.de
Wed Dec 2 23:41:45 CET 2009
Hi Yann,
Yann PETIT wrote:
> $model->addForeignclass($foreignobject);
> return($model->getForeignclass()); //Gives me the good number of objects
> (including the new one)
> ------------------------------------------------------------------------------------
>
> But nothing appends in the database.
>
> Tank you in advance for help
>
can you post your TCA-definitions for model and foreignclass?
How do you get $model?
Joerg
More information about the TYPO3-project-typo3v4mvc
mailing list