Yii 2.0 Part 5 - Displaying related data in views
220 بار بازدید -
9 سال پیش
-
By default, Yii will display
By default, Yii will display an edit box for the id number of a foreign key. Most of the time, the user will want something more useful like a display name or similar in, perhaps, a drop down list. This video shows how your relationships are used to populate a dropdownlist control, something you will probably want to do soon after you start developing.
The source code for the tutorial is on githu
9 سال پیش
در تاریخ 1394/02/06 منتشر شده
است.
220
بـار بازدید شده