Difference between #2 and #3 of
two or more different collected data in one CGridView

Revision #3 has been created by Maurizio Domba Cerin on Nov 11, 2013, 12:18:30 PM with the memo:

styling
« previous (#2) next (#4) »

Changes

Title unchanged

two or more different collected data in one CGridView

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

merge, concatenate, different, columns, data, CGridView

Content changed

[...]
```php
teacher model has:

 
person_id,
 
id_teacher,
 
name,
 
surname,
 
bachelor,
 
master,
 
... 
etc
 
student model has:
 
person_id,
 
id_student,
 
name,
 
surname,
 
-
age,
 
-
apartment
```


(person_id is a global id both of teachers and students)
[...]
2 1
6 followers
Viewed: 18 367 times
Version: 1.1
Category: How-tos
Last updated by: CeBe
Created on: Nov 9, 2013
Last updated: 10 years ago
Update Article

Revisions

View all history