[TYPO3-mvc] How to extend a model class from within another extension?

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Sun Jan 17 23:01:20 CET 2010


Hello,

do you mean overwriting the model class magic __set and __get methods,
calling the parent methods, and if nothing was returned, implement a
custom routine, to fetch fields of the TCA?

Thanks,
Thomas


Franz Koch schrieb:
> Hi,
> 
>> For the meanwhile I added the new getters and setters to the
>> already existing extension (ExtOld) which results in the fact,
>> that the extension is not updateable anymore in future.
> 
> how about implementing magic setters/getters for any TCA defined column? 
> But I wonder if extbase would fill the class vars properly - might be 
> worth a try until extbase has a default feature/way to do this.


More information about the TYPO3-project-typo3v4mvc mailing list