當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Facilities::get_offline_facilities_new方法代碼示例

本文整理匯總了PHP中Facilities::get_offline_facilities_new方法的典型用法代碼示例。如果您正苦於以下問題:PHP Facilities::get_offline_facilities_new方法的具體用法?PHP Facilities::get_offline_facilities_new怎麽用?PHP Facilities::get_offline_facilities_new使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Facilities的用法示例。


在下文中一共展示了Facilities::get_offline_facilities_new方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: manage_facilities

 public function manage_facilities()
 {
     ini_set('memory_limit', '-1');
     $permissions = 'super_permissions';
     $data['title'] = "Facility Management";
     $data['content_view'] = "Admin/facilities_v";
     $data['facilities_listing'] = Users::get_facilities_list_all();
     $data['facilities_listing_active'] = Users::get_facilities_list_all_active(1);
     $data['facilities_listing_inactive'] = Users::get_facilities_list_all_active(0);
     //$data['facilities_listing_inactive']= Facilities::get_dormant_facilities();
     $data['active_count'] = Facilities::get_all_facilities_active_no();
     $data['facility_count'] = Facilities::get_all_facilities_no();
     $data['inactive_facilities'] = Facilities::get_all_facilities_inactive_no();
     $data['offline_count'] = Facilities::get_all_offline_facilities();
     $data['counties'] = Counties::getAll();
     $data['facilities'] = Facilities::getAll();
     $data['sub_counties'] = Districts::getAll();
     $data['user_types'] = Access_level::get_access_levels($permissions);
     $data['activation_logs'] = Facilities::get_activation_logs();
     //$query2="Select * from facilities where using_hcmp =0;";
     //$data['inactive_facilities'] = $this->db->query($query2)->result_array();//inactive
     $data['offline_facilities'] = Facilities::get_offline_facilities_new();
     //Offline facilities
     $this->load->view("shared_files/template/dashboard_v", $data);
     //echo json_encode($data);
 }
開發者ID:arnold-okoth,項目名稱:HCMP2015,代碼行數:26,代碼來源:admin.php


注:本文中的Facilities::get_offline_facilities_new方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。