Wiki

Articles tagged with "related"X
Displaying 1-5 of 5 result(s).

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

Created 3 years ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 21,211 times – ( +1 / -8 ) – 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

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 9,778 times – ( +2 / -1 ) – 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

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 14,572 times – ( +2 / -1 ) – 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)

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos5 comments – viewed 31,533 times – ( +5 / -1 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

Tabular Input, Validating and Saving related models

Created 3 years ago by Xavier JohnTutorials5 comments – viewed 33,400 times – ( +8 / -1 ) – version 1.1
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.