예제 #1
0
 public function facility_listing()
 {
     //get the county id from the session
     $county_id = $this->session->userdata('county_id');
     $data['title'] = "Facility Listing";
     $data['banner_text'] = "Facility Listing";
     //picks the list of facilities
     $data['facility_list'] = facilities::get_detailed_listing($county_id);
     $data['content_view'] = "shared_files/facilities/facility_listing";
     $this->load->view('shared_files/template/template', $data);
 }