当前位置: 首页>>代码示例>>PHP>>正文


PHP Facilities::get_activation_logs方法代码示例

本文整理汇总了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);
 }
开发者ID:karsanrichard,项目名称:HCMP-UPDATES,代码行数:17,代码来源:admin.php

示例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);
 }
开发者ID:arnold-okoth,项目名称:HCMP2015,代码行数:26,代码来源:admin.php


注:本文中的Facilities::get_activation_logs方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。