[TYPO3-mvc] FLUID :: how can you access properties of m:n related objects?

Roland most.wanted at gmx.at
Thu Nov 3 16:08:35 CET 2011


> Question 1:
> Well, you are returning an Object Zulassung in your case, don´t you.
> So @return Tx_ExtKey_Domain_Model_Zulassung
>
> Question 2:
> I add this type of validation just to be sure that we have an instance
> of Tx_Extbase_Persistence_ObjectStorage otherwise we will run into some
> fatal errors
> if we have something different. But i thought that in your case the
> validation is obsolete, because we already know that it is an
> Tx_Extbase_Persistence_ObjectStorage.
>
> Sorry for mention that:
> I have seen a lot of people learning essential PHP things through
> working with a MVC-framework (in my case symfony).
> That´s not a good starting point. I would recommend to learn first some
> essential things like OOP in PHP and some other things.
> Otherwise you will never ever feel comfortable with the framework of
> choice.
> Maybe i´m wrong in your case, but start to learn the basics along with
> books and more. It helps a lot to get into the flow.
>
> You are welcome

thanks for clearen up the 2 questions.

and also thanks for your input concerning possible approaches to 
learning all that stuff - i appreciate this.


More information about the TYPO3-project-typo3v4mvc mailing list