Dear all experts,
I’m a newbie to Yii. Actually I tried to study Prado before but I felt quite hard to enter.
I found some comments about Yii from Qiang. Then I turned to look this framework for my web development.
I started to learn Yii from the book: Agile Web Application Development with Yii1.1 and PHP5.
I followed all the steps to Chapter 6. It seems everything alright. However, one page that I tried appeared problem.
That’s the update page of Issue. This page didn’t be talked in the book. The problem is: the output of the line “<?php echo $form->dropDownList($model,‘owner_id’, $this->getProject()->getUserOptions()); ?>” is error OR null and terminated in the page of views/issue/_form.php.
In issue->Create page, it’s fine. In Issue->View page, it’s also OK. But in Issue->Update page, it’s terminated at some point.
I had tried to print out the value of "$this->getProject()->getUserOptions()", the output is NULL.
I don’t know why!!! Any expert can tell me what happened.