/**
  * Displays a particular model.
  * @param integer $id the ID of the model to be displayed
  */
 public function actionCommMeetingList()
 {
     date_default_timezone_set("Asia/Manila");
     $activity = new Activity();
     $activity->act_desc = 'Viewed List of Referral for Committee Meeting';
     $activity->act_datetime = date('Y-m-d G:i:s');
     $activity->act_by = User::model()->findByPK(Yii::app()->user->name)->emp_id;
     $activity->save();
     $model = new Referral('forCommMeetingReso');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['Referral'])) {
         $model->attributes = $_GET['Referral'];
     }
     if (!empty($model->joint_committee)) {
         $x = implode(',', $model->joint_committee);
         $model->joint_committee = $x;
     } else {
         $model->joint_committee = '';
     }
     $this->render('commMeetingList', array('model' => $model));
 }