Wiki

Articles tagged with "related", sorted by date (updated)X
Displaying 1-5 of 5 result(s).

Tabular Input, Validating and Saving related models

Updated 3 months ago by hasanaviTutorials4 comments – viewed 16,653 times – ( +8 ) – version 1.1
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

Save or Update Multiple related model values in one Tabular input form

Updated 5 months ago by KonApazTutorials4 comments – viewed 4,219 times – ( +1 / -6 ) – version 1.1
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 ?

Insert a model record using CGridview

Updated 5 months ago by KonApazHow-tos0 comments – viewed 2,877 times – ( +2 ) – version 1.1
CGridview displays existent rows of the table (using DataProvider)

Update related models of a model using listBox and checkBoxList in the form

Updated 5 months ago by KonApazHow-tos0 comments – viewed 3,988 times – ( +2 ) – version 1.1
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

Take more control of CGridview and model searching (related model or another controller)

Updated 6 months ago by CeBeHow-tos5 comments – viewed 17,079 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.