public function index()
 {
     $jBom = new JobsBom();
     $cBom = new CompaniesBom();
     $template = new Core_Template("default", "default");
     $template->setAttribute("records", $jBom->getAllRecentJobs());
     $template->setAttribute("companies", $cBom->getRecentActiveCompanies());
     $template->setAttribute("trending_jobs", $jBom->getTrendingJobs());
     $template->setAttribute("featured_company", $cBom->getFeaturedCompany());
 }
Beispiel #2
0
 public function index()
 {
     $cBom = new CompaniesBom();
     $template = new Core_Template("default", "search", "advance");
     $template->setAttribute("companies", $cBom->getRecentActiveCompanies());
 }