I don’t know What is the“'condition'=>'project_id=:projectId',”?what is the meaning of “:”? In another word why we should put the “:” in front of the projectId. the code is as below.
public function actionIndex()
{
$dataProvider=new CActiveDataProvider('Issue',array(
'criteria'=>array(
'condition'=>'project_id=:projectId',
'params'=>array(':projectId'=>$this->_project->id),
),
));