Example #1
0
 /**
  * Check whether the user is an HiringManager that can approve job offers
  *
  * @return boolean True if an hiring manager, false otherwise
  */
 private function _checkIsHiringManager()
 {
     $isHiringManager = false;
     $id = $this->getEmployeeId();
     if (!empty($id)) {
         $empInfo = new EmpInfo();
         $isHiringManager = $empInfo->isHiringManager($id);
     }
     return $isHiringManager;
 }