[TYPO3-mvc] Extending Extbase DB-Models with custom-fields?
Tobias Liegl
tliegl at gmail.com
Tue Jan 29 20:45:25 CET 2013
Hi,
for tx_news there is a recommended way how to extend the models:
http://forge.typo3.org/projects/extension-news/wiki/Extend_Classes
With this, tx_news will generate a new class with all files that extend
tx_news models for example and so you can extend it as often as you like.
But that's no standard extbase feature.
Tobi
Am 29.01.13 16:25, schrieb Gabriel Kaufmann | Typoworx:
>
> Is there any way to extend Extbase Database-Models with new Fields
> without Extending the original Model-Class?
> By extending the original Model-Class only one Extension can apply it's
> extends.
>
> Just imagine f.e. tx_news (Versatile News System) and several extensions
> that implement additional features. There may be Fields that only make
> sense as a new News-Type (=RecordType) where it makes sense to implement
> an extended Class of the News-Model and an Extended Controller-Class.
>
> But what if the field intended to use makes sense for ALL
> Record-Types(even those already added/extended by foreign Extensions)?
More information about the TYPO3-project-typo3v4mvc
mailing list