private function _getJobCategory($catId)
 {
     $jobService = new JobCategoryService();
     $categories = $jobService->getJobCategoryList();
     foreach ($categories as $category) {
         if ($category->getId() == $catId) {
             return $category->getName();
         }
     }
     return;
 }
Ejemplo n.º 2
0
 private function _getEEOCategories()
 {
     $jobService = new JobCategoryService();
     $categories = $jobService->getJobCategoryList();
     $choices = array('' => '-- ' . __('Select') . ' --');
     foreach ($categories as $category) {
         $choices[$category->getId()] = $category->getName();
     }
     return $choices;
 }