Register here!

Forgot password?

ASK NEW QUESTION

Home Page » xatep

User Name:

xatep

Reputation:

2

Q/A: 2 / 2

Acceptance: 0%

Memeber since: September 29, 2011

About...

2 Questions by xatep

1 vote

How to make actionCreate() for Tabular input?

actioncreatecontrollertabular

Hi

I managed to figure out how to tabular update, but I’m having problems with create.

I have 3 tables = PROJECT, TASK, SERVICE.

PROJECT(id) has many TASKs(project_id).

TASK(service_id) has one SERVICE(id).

Now I needREAD MORE

0 votes
Solved!

How to display 2 related models as one in ex. CGridView?

CGridViewmergemultiple models as one

Hi

I have 2 models (tables) which are to be related.

  1. actionPlan(id, hp_id, up_id, text)
  2.  
  3. yearRapport(id, hp_id, up_id, comment)
actionPlan(id, hp_id, up_id, text)

yearRapport(id, hp_id, up_id, comment)

As you can see they are related by keys (id, hp_id, up_id).

Now the questionREAD MORE

1 user saved this Question as favorite.

 

2 Answers by xatep

© YiiAnswers.com 2011. All rights reserved.

Switch to our mobile site