[TYPO3-mvc] Bug #11818 - sublcass problem
Christoph Koehler
junk at zerodeviation.net
Fri Feb 4 00:47:21 CET 2011
Thomas "Thasmo" Deinhamer wrote:
> Christoph Koehler wrote:
>> Let me know if I can do anything to help you guys further!
>
> Hello Christoph!
>
> Not sure but maybe you could use an interface like this:
> /**
> * Create a new feed
> *
> * @param Tx_WecFeedbuilder_Domain_Model_FeedTabInterface $tab
> * @return void
> */
> ... createAction(Tx_WecFeedbuilder_Domain_Model_FeedTabInterface $tab)
>
> Regards,
> Thomas
Thanks Thomas.
That looks just like another model and pretty much the same way I am
already doing it. The problem is that in the newAction, it's the right
type, but in the createAction, it's the superclass again. Don't think it
would be much different with an interface, unless Extbase handles those
differently.
Christoph
More information about the TYPO3-project-typo3v4mvc
mailing list