In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?
CGridview displays existent rows of the table (using DataProvider)
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that
Suppose you have an Application in Yii that manages hotels each one has many customers.
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.