本文整理匯總了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);
}