How to creat a multi model CGridView in Yii framework?

It looks like you do not need a multimodel gridview. The grid that you give as needed is displaying elements of just one model, user_master. The property "Friends" actually belongs to that model, because it's a value related to each and every particular instance of the user_master table.

So you can actually imagine the property "Friends" as an extra column in the user_master table. You won't need to add that row to the table, just to declare as a property in the model. Add the following row to the array returned by the 'relations' function of the user_master model.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions