[TYPO3-mvc] Copy object and add to repository

Sebastian Kurfürst sebastian at typo3.org
Wed Apr 6 17:16:55 CEST 2011


Hi,

> One other easy solution would be to iterate over all properties and set
> them in a new object, but I'll have a look if there isn't a nicer solution.
That's what I would do. I guess Tx_Extbase_Utility_Reflection has some
helper methods which could be helpful to you (get all properties where a
getter exists, set a property through a setter).

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list