Chapter 5

Property "Project.users" is not defined.

public function getUserOptions()

122 {

123 $usersArray = CHtml::listData($this->users, ‘id’, ‘username’);

124 return $usersArray;

125 }

[color="#1C2837"][size="2"]Hi,[/size][/color]

[color="#1C2837"] [/color]

[color="#1C2837"][size="2"]I hope this will help[/size][/color][color="#1C2837"]

[color="#1C2837"][size=2] [/size][/color]

[size="2"]/protected/models/Project.php[/size]

[size="2"]in function relation() must have[/size]

[size=“2”]‘users’ => array(self::MANY_MANY, ‘User’, ‘tbl_project_user_assignment(project_id, user_id)’), [/size][/color]