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


PHP Facilities::get_one_facility_details方法代码示例

本文整理汇总了PHP中Facilities::get_one_facility_details方法的典型用法代码示例。如果您正苦于以下问题:PHP Facilities::get_one_facility_details方法的具体用法?PHP Facilities::get_one_facility_details怎么用?PHP Facilities::get_one_facility_details使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Facilities的用法示例。


在下文中一共展示了Facilities::get_one_facility_details方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: get_report

 public function get_report($facility_code)
 {
     $data['title'] = "Lab Commodities 3 Report";
     $data['content_view'] = "rtk/rtk/scmlt/fcdrr";
     $data['banner_text'] = "Lab Commodities 3 Report";
     $data['link'] = "rtk_management";
     $data['quick_link'] = "commodity_list";
     $my_arr = $this->_get_begining_balance($facility_code);
     $my_count = count($my_arr);
     $data['beginning_bal'] = $my_arr;
     $data['facilities'] = Facilities::get_one_facility_details($facility_code);
     $data['lab_categories'] = Lab_Commodity_Categories::get_active();
     $this->load->view("rtk/template", $data);
 }
开发者ID:HCMPKenya,项目名称:RTK_TEST,代码行数:14,代码来源:rtk_management.php

示例2: fcdrr_test

 public function fcdrr_test($facility_c)
 {
     $data = array();
     $data['title'] = "FCDRR";
     $data['banner_text'] = "FCDRR";
     $data['content_view'] = "rtk/dpp/fcdrr_test";
     $district = $this->session->userdata('district_id');
     $data['facilities'] = Facilities::get_facility_details($district);
     $data['commodities'] = Rtk_Categories::get_all();
     $data['details'] = Facilities::get_one_facility_details($facility_c);
     $this->facility_code = $facility_c;
     $data['facility_code'] = $this->facility_code;
     $this->load->view("rtk/template", $data);
 }
开发者ID:HCMPKenya,项目名称:RTK_TEST,代码行数:14,代码来源:rtk_management1.php

示例3: facility_evaluation

 public function facility_evaluation($facility_code = null, $user_id = null)
 {
     if (!isset($facility_code) && !isset($user_id)) {
         $facility_code = $this->session->userdata('news');
         $user_id = $this->session->userdata('identity');
     }
     //New
     $evaluation = facility_evaluation::getAll($facility_code, $user_id)->toArray();
     $data = count($evaluation) == 0 ? array(0 => array('fhead_no' => null, 'fdep_no' => null, 'nurse_no' => null, 'sman_no' => null, 'ptech_no' => null, 'trainer' => null, 'comp_avail' => null, 'modem_avail' => null, 'bundles_avail' => null, 'manuals_avail' => null, 'satisfaction_lvl' => null, 'agreed_time' => null, 'feedback' => null, 'pharm_supervision' => null, 'coord_supervision' => null, 'req_id' => null, 'req_spec' => null, 'req_addr' => null, 'train_remarks' => null, 'train_recommend' => null, 'train_useful' => null, 'comf_issue' => null, 'comf_order' => null, 'comf_update' => null, 'comf_gen' => null, 'use_freq' => null, 'freq_spec' => null, 'improvement' => null, 'ease_of_use' => null, 'meet_expect' => null, 'expect_suggest' => null, 'retrain' => null)) : $evaluation;
     $data['title'] = "Facility Training Evaluation";
     $data['content_view'] = "facility/facility_reports/facility_evaluation";
     $data['banner_text'] = "Facility Training Evaluation";
     $data['facilities'] = Facilities::get_one_facility_details($facility_code, $user_id);
     $data['facility_code'] = $facility_code;
     $data['user_id'] = $user_id;
     $data['evaluation_data'] = $data;
     $this->load->view("template", $data);
 }
开发者ID:HCMPKenya,项目名称:RTK_TEST,代码行数:18,代码来源:report_management.php


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