public function getempcontentAction()
 {
     $post_values = $this->getRequest()->getPost();
     if (count($post_values) > 0) {
         $appraisal_id = sapp_Global::_decrypt($post_values['appraisal_id']);
         $manager_id = sapp_Global::_decrypt($post_values['manager_id']);
         $user_id = sapp_Global::_decrypt($post_values['user_id']);
         $flag = sapp_Global::_decrypt($post_values['flag']);
         $app_config_id = sapp_Global::_decrypt($post_values['app_config_id']);
         $app_ratings = sapp_Global::_decrypt($post_values['app_rating']);
         $emp_status = sapp_Global::_decrypt($post_values['emp_status']);
         $key = $post_values['key'];
         $appEmpRatingsModel = new Default_Model_Appraisalemployeeratings();
         $data = array();
         if ($appraisal_id != '' && $manager_id != '' && $user_id != '' && $flag != '') {
             $model = new Default_Model_Appraisalmanager();
             $data = $model->getempcontent($appraisal_id, $manager_id, $user_id, $flag, $app_config_id);
         }
         $appEmpQuesPrivData = $appEmpRatingsModel->getAppEmpQuesPrivData($appraisal_id, $user_id);
         $hr_ques_previs = array();
         $mgr_ques_previs = array();
         $ratingType = array();
         if ($appEmpQuesPrivData[0]['hr_group_qs_privileges']) {
             $hr_ques_previs = json_decode($appEmpQuesPrivData[0]['hr_group_qs_privileges'], true);
         }
         if ($appEmpQuesPrivData[0]['manager_qs_privileges']) {
             $mgr_ques_previs = json_decode($appEmpQuesPrivData[0]['manager_qs_privileges'], true);
         }
         $question_previs = $hr_ques_previs + $mgr_ques_previs;
         // Get 'My Team Appraisal - Employee' skills
         $emp_skills = $appEmpRatingsModel->getAppEmpSkills($appraisal_id, $user_id);
         $this->view->data = $data;
         $this->view->key = $key;
         $this->view->flag = $flag;
         $this->view->user_id = $user_id;
         $this->view->emp_skills = $emp_skills;
         $this->view->appraisal_id = $appraisal_id;
         $this->view->emp_status = $emp_status;
         $this->view->app_ratings = $app_ratings;
         $this->view->question_previs = $question_previs;
     }
 }