public function newNotification3()
 {
     $model = new sNotification3();
     // $this->performAjaxValidation($model);
     if (isset($_POST['sNotification3'])) {
         $model->attributes = $_POST['sNotification3'];
         $model->sender_id = Yii::app()->user->id;
         $model->type_id = 3;
         $model->read_id = 1;
         $model->receiver_id = 1;
         //$model->category_id=50;
         if ($model->save()) {
             $this->refresh();
         }
     }
     return $model;
 }
 private function newNotification3()
 {
     $model = new sNotification3();
     // Uncomment the following line if AJAX validation is needed
     // $this->performAjaxValidation($model);
     if (isset($_POST['sNotification3'])) {
         $model->attributes = $_POST['sNotification3'];
         $model->sender_id = Yii::app()->user->id;
         $model->type_id = 3;
         $model->read_id = 1;
         $model->receiver_id = 1;
         //$model->category_id=50;
         if ($model->save()) {
             $this->refresh();
         }
     }
     return $model;
 }