Questions tagged as "model"
ONE model MANY tables
I’ve created one model for a survey, but I have to save each survey in a different table. So my intension was, just to override the Model constructor and injectREAD MORE
By mintao in Active Record · Asked 335 days 3 hours 14 mins ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
ListView: Update ListView items after clicking on button in a different ListView
clickCListViewcruddifferenthtmlbuttonjquerymodelsubmitbuttonUpdate
Hey there,
I been trying to figure this out for a while now and going nowhere. Would really appreciate some pointers as to what am I missing.
Got 1 model, a “Course”,READ MORE
By blackrobe89 in List View · Asked 405 days 23 hours 30 mins ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
How to send file from model to another model..?
hi. I have two modules. Content && media. I want to take file from content/category/create and send to media/photo/create. I do:
- public function actionCreate()
- {
- $model=new Category;
By eibrahimov in Active Record · Asked 412 days 1 hour 4 mins ago
Questions: 4 Accepted: 0 ( 0% ) | Reputation: 0
how to do this?
Hy all.
I need $data->img if image file exist. The img row not exist in the db.
I have Video model extends CActiveRecord. This return findAll without img variable.
1. How to addREAD MORE
By Stageline in Active Record · Asked 467 days 19 hours 47 mins ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
