Hi
I used Gii to generate my tables and then added manually code in the getters of the models using viaTable function.
It works great for displaying data and for searching.
My question is how do I insert new records?
Assume my data model has users and projects table and models with a link table called user_projects.
I would like to add new projects to a user through the user create form generated by gii using the checkboxlist function.
Many thanks