How to findAll with specific column with order by desc ?
Code bellow worked and find all from the developer id
$id = Yii::app()->
you can try this -
$id = Yii::app()->user->getState('id'); $model = Games::model()->findAll(array("condition" => "developer_id = '".$id."'","order" => "status"));
its should be work