php - sub-entity schema implementation -
i want implement system of category , associated options in symfony 2.
so category (example: car, home) have categoryoption (example: date, color, size, etc…).
moreover, category entities have many 1 relationship advert entity. mean advert can have 1 category infinite advert can attached category. so, @ end, want able make dynamic form that:
if select category (ex: caravanning), of attached subcategory appear that:
and allow user select or enter desired information.
i have implemented category , advert entity don’t know schema use options , how generate form. have create new categoryoption entity , make relationship advert , category or use way?
of course, categoryoption attached advert can edited user.
Comments
Post a Comment