[TYPO3-50-general] Persistence: edit/remove elements
Christoph Blömer
chbloemer at gmx.net
Mon Dec 22 21:11:25 CET 2008
Andreas Förthner schrieb:
> Irene Höppner schrieb:
>
>> Hi,
>>
>> is there a way to edit or remove objects already?
>>
>> thx :-).
>>
>> Greets,
>> Irene
>>
>
> Hi,
>
> yes, just edit or remove them ;-) Every change in an object already
> persisted (is in a repository) will be recognized by the framework. To
> remove an object, just destroy it, for example with unset($object);
>
>
Also Karsten wrote me, that you can use:
$myRepository->remove($object);
But i didn't tried it yet.
Greetings
Christoph
> Greets,
>
> Andi
> _______________________________________________
> TYPO3-project-5_0-general mailing list
> TYPO3-project-5_0-general at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-5_0-general
>
>
More information about the TYPO3-project-5_0-general
mailing list