本文整理汇总了PHP中Facilities::get_activation_logs方法的典型用法代码示例。如果您正苦于以下问题:PHP Facilities::get_activation_logs方法的具体用法?PHP Facilities::get_activation_logs怎么用?PHP Facilities::get_activation_logs使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Facilities
的用法示例。
在下文中一共展示了Facilities::get_activation_logs方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: manage_facilities
public function manage_facilities()
{
$permissions = 'super_permissions';
$data['title'] = "Users";
$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['active_count'] = Facilities::get_all_facilities_active_no();
$data['facility_count'] = Facilities::get_all_facilities_no();
$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();
$this->load->view("shared_files/template/dashboard_v", $data);
}
示例2: 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);
}