public function getRecentCat()
    {
        return SNotification::model()->findAllBySql('select category_id
				from s_notification
				where type_id = 1
				group by category_id
				limit 7');
    }
 public function getRecentCat()
 {
     return SNotification::model()->findRecentCat();
 }