[FLOW3-general] Add Collections to one Model

mario chiari m at mariochiari.net
Wed Oct 17 13:19:57 CEST 2012


Hi flow3 at leakx.net , all


have you ever found a solution?

I would like to learn the easiest way to create a form as you asked
(even for more nested level: company-person-phonenumeber).

I understand I need a single controller, just for the first level, don't
I?

Thanks
Cheers
mario



On Thu, 2012-08-23 at 13:32 +0200, flow3 at leakx.net wrote:
> Hello Together.
> 
> I create on an addressbook. In my Addressbook are two Models:
> 
> Contact and PhoneNumber.
> 
> Contact:
> name:\TYPO3\Party\Domain\Model\PersonName  //string is fine
> gender:integer
> phonenumbers:\Doctrine\Common\Collections\Collection<\Package\Name\Domain\Model\PhoneNumber>
> birthday:DateTime
> 
> PhoneNumber:
> contact:\Package\Name\Domain\Model\Contact
> title:string
> phoneNumber:integer
> 
> The new contact form should contains a subform where I can add many 
> Phonenumbers for the new contact.
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general




More information about the FLOW3-general mailing list