<?php echo $form->dropDownList($model, 'requester_id', $this->getProject()->getUserOptions()); ?>.
I understand how and why each of the two methods work. What I don't understand is why the getProject method is in the Issue Controller but the getUserOptions method is in the Project Model. My best guess is that — generally — these methods would always be in the model, but since we had already created the _project array for the actionCreate() method in the Issue Controller, it was simpler to reference it there (rather than create a second one).
Any insight here would be fabulous!
Thanks in advance.

Help











