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


PHP Bank::get_bank方法代码示例

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


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

示例1: addpb

 public function addpb($id)
 {
     $st = new SuratTugas($this->registry);
     $pb = new Penerima($this->registry);
     $univ = new Universitas($this->registry);
     $bank = new Bank($this->registry);
     $st->set_kd_st($id);
     $pb->set_st($id);
     $this->view->kd_st = $id;
     $this->view->d_bank = $bank->get_bank();
     $this->view->d_univ = $univ->get_univ();
     if (Session::get('role') == 2) {
         $this->view->d_st = $st->get_surat_tugas_by_id($st, $this->kd_user);
         $this->view->d_pb = $pb->get_penerima_by_st($pb, $this->kd_user);
     } else {
         $this->view->d_st = $st->get_surat_tugas_by_id($st);
         $this->view->d_pb = $pb->get_penerima_by_st($pb);
     }
     $this->view->d_th_masuk = $st->get_list_th_masuk();
     //        var_dump($this->view->d_st);
     $this->view->render('riwayat_tb/pb_to_st');
 }
开发者ID:nazimkabiri,项目名称:sims-beasiswa,代码行数:22,代码来源:SurattugasController.php

示例2: editBank

 public function editBank($id)
 {
     $bank = new Bank($this->registry);
     $this->view->data = $bank->get_bank_id($id);
     $bank2 = new Bank($registry);
     $this->view->data2 = $bank2->get_bank();
     $this->view->render('admin/edit_bank');
 }
开发者ID:nazimkabiri,项目名称:sims-beasiswa,代码行数:8,代码来源:AdminController.php

示例3: for_edit_pb

 private function for_edit_pb($kode_pb)
 {
     if (Session::get('role') != 2) {
         $this->profil($kode_pb);
     }
     $pb = new Penerima($this->registry);
     //mendapatkan informasi pb
     $st = new SuratTugas($this->registry);
     //mendapatkan informasi surat tugas
     $bank = new Bank($this->registry);
     //mendapatkan nama bank
     $jst = new JenisSuratTugas($this->registry);
     //mendapatkan jenis surat tugas
     $jur = new Jurusan($this->registry);
     $univ = new Universitas($this->registry);
     $nilai = new Nilai($this->registry);
     $cuti = new Cuti($this->registry);
     $mas = new MasalahPenerima($this->registry);
     $pemb = new PemberiBeasiswa();
     $pb->set_kd_pb($kode_pb);
     $this->view->d_pb = $pb->get_penerima_by_id($pb, $this->kd_user);
     $st->set_kd_st($this->view->d_pb->get_st());
     $this->view->d_st = $st->get_surat_tugas_by_id($st, $this->kd_user);
     $pemb = $pemb->get_by_id($this->view->d_st->get_pemberi());
     $this->view->d_pemb = $pemb->nama_pemberi;
     $this->view->d_bank = $bank->get_bank_id($this->view->d_pb->get_bank());
     $this->view->t_bank = $bank->get_bank();
     $jur->set_kode_jur($this->view->d_pb->get_jur());
     $this->view->d_jur = $jur->get_jur_by_id($jur);
     $jst->set_kode($this->view->d_st->get_jenis_st());
     $this->view->t_jst = $jst->get_jst();
     $this->view->d_jst = $jst->get_jst_by_id($jst);
     $this->view->d_univ = $univ->get_univ_by_jur($this->view->d_jur->get_kode_jur());
     $this->view->d_nil = $nilai->get_nilai($pb);
     $this->view->d_cur_ipk = $nilai->get_current_ipk($pb);
     $this->view->d_cuti = $cuti->get_cuti($this->kd_user, $pb);
     $this->view->d_rwt_beas = $pb->get_penerima_by_column($pb, $this->kd_user, 'nip', true);
     $this->view->d_mas = $mas->get_masalah($pb);
     $this->view->render('profil/ubah_profil_v2');
 }
开发者ID:nazimkabiri,项目名称:sims-beasiswa,代码行数:40,代码来源:PenerimaController.php


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