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


PHP Message::_set方法代码示例

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


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

示例1: batal

 public function batal($idsharingproduct)
 {
     $sharingproduct = $this->orm->sharingproduct->where('idsharingproduct', $idsharingproduct);
     $sharingproduct->delete();
     Message::_set(TRUE, 'Batal Sharing Product Berhasil', 'Gagal');
     redirect('sharing/sharing');
 }
开发者ID:rifaiaja,项目名称:orpsystem,代码行数:7,代码来源:sharing.php

示例2: delete

 public function delete($idpackage = null)
 {
     if ($idpackage != null) {
         $package = $this->orm->package->where('idpackage', $idpackage);
         $package->delete();
         Message::_set(TRUE, 'Hapus Data Package Berhasil', 'Hapus Data Package Gagal');
     }
     redirect('package/master_package');
 }
开发者ID:rifaiaja,项目名称:orpsystem,代码行数:9,代码来源:master_package.php

示例3: delete

 public function delete()
 {
     $idrefgudang = $this->input->post('id', true);
     if ($idrefgudang != null) {
         $refgudang = $this->orm->refgudang->where('idrefgudang', $idrefgudang);
         $ress = $refgudang->delete();
         Message::_set($ress, 'Hapus Data Pelanggan Berhasil', 'Hapus Data Master Pelanggan Gagal');
         redirect('masterdata/mastergudang');
     }
 }
开发者ID:rifaiaja,项目名称:orpsystem,代码行数:10,代码来源:mastergudang.php

示例4: delete

 public function delete($idpelanggan = null)
 {
     $idpelanggan = $this->input->post('id');
     if ($idpelanggan != null) {
         $pelanggan = $this->orm->pelanggan->where('idpelanggan', $idpelanggan);
         $ress = $pelanggan->delete();
         $result = $ress == TRUE ? array('response' => 'success', 'msg' => 'Hapus Data Pelanggan Berhasil') : array('response' => 'error', 'msg' => 'Maav Hapus Data Pelanggan Gagal');
         // echo json_encode($result);
         Message::_set(TRUE, 'Hapus Data Pelanggan Berhasil', 'Hapus Data Master Pelanggan Gagal');
         redirect('masterdata/masterpelanggan');
     }
 }
开发者ID:rifaiaja,项目名称:orpsystem,代码行数:12,代码来源:masterpelanggan.php

示例5: rollback

 public function rollback($idquotationsales = null)
 {
     if ($idquotationsales != null) {
         $dataUpdateQuotation = array('idrefstatus' => 2);
         $this->quotationsales->update($idquotationsales, $dataUpdateQuotation);
         Message::_set(TRUE, 'Mengembalikan Data Quotation Berhasil', 'Mengembalikan Data Quotation Gagal');
     }
     redirect('pemesanan/po_pemesanan');
 }
开发者ID:rifaiaja,项目名称:orpsystem,代码行数:9,代码来源:po_pemesanan.php

示例6: delete

 public function delete($idpengadaan = null)
 {
     Account::_valLogin();
     if ($idpengadaan != null) {
         $pengadaan = $this->orm->pengadaan->where('idpengadaan', $idpengadaan);
         $pengadaan->delete();
         $pengadaandetail = $this->orm->pengadaandetail->where('idpengadaan', $idpengadaan);
         $pengadaandetail->delete();
         Message::_set(TRUE, 'Hapus Data Pengadaan Berhasil', 'Hapus Data Pengadaan Gagal');
     }
     redirect('transaksi/pengadaan');
 }
开发者ID:rifaiaja,项目名称:orpsystem,代码行数:12,代码来源:pengadaan.php

示例7: prosesreject

 public function prosesreject($idquotationsales = null)
 {
     if ($idquotationsales == null) {
         //do nothing
         $redirect = 'pemesanan/do_pemesanan';
     } else {
         $dataUpdateQuotation = array('idrefstatus' => 9);
         $this->quotationsales->update($idquotationsales, $dataUpdateQuotation);
         Message::_set($idquotationsales != null ? TRUE : FALSE, 'Edit Data Delivery Order Berhasil', 'Edit Data Delivery Order Gagal');
         $redirect = 'pemesanan/do_pemesanan';
     }
     redirect($redirect);
 }
开发者ID:rifaiaja,项目名称:orpsystem,代码行数:13,代码来源:do_pemesanan.php

示例8: delete

 public function delete()
 {
     $idrefbarang = $this->input->post('id', true);
     if ($idrefbarang != null) {
         $refbarang = $this->orm->refbarang->where('idrefbarang', $idrefbarang);
         $ress = $refbarang->delete();
         $result = $ress == TRUE ? array('response' => 'success', 'msg' => 'Hapus Data Barang Berhasil') : array('response' => 'error', 'msg' => 'Maav Hapus Data Barang Gagal');
         //echo json_encode($result);
         Message::_set(TRUE, 'Hapus Data Master Barang Berhasil', 'Hapus Data Master Barang Gagal');
         redirect('masterdata/masterbarang');
     }
 }
开发者ID:rifaiaja,项目名称:orpsystem,代码行数:12,代码来源:masterbarang.php

示例9: batal

 public function batal($idquotationsales = null)
 {
     if ($idquotationsales != null) {
         //$quotation = $this->orm->quotationsales->where('idquotationsales', $idquotationsales);
         //$quotation->update(array(''));
         $dataUpdateQuotation = array('idrefstatus' => 3);
         $this->quotationsales->update($idquotationsales, $dataUpdateQuotation);
         Message::_set(TRUE, 'Hapus Data quotation Berhasil', 'Hapus Data quotation Gagal');
     }
     redirect('quotation/quotation');
 }
开发者ID:rifaiaja,项目名称:orpsystem,代码行数:11,代码来源:quotation.php

示例10: delete

 public function delete($iddeliveryorder = null)
 {
     /*Account::_valLogin();
             if ($iddeliveryorder != null) {
                 $deliveryorder = $this->orm->deliveryorder->where('iddeliveryorder', $iddeliveryorder);
                 $deliveryorder->delete();
                 $deliveryorderdetail = $this->orm->deliveryorderdetail->where('iddeliveryorder', $iddeliveryorder);
                 $deliveryorderdetail->delete();
                 Message::_set(TRUE, 'Hapus Data delivery Order Berhasil', 'Hapus Data delivery Order Gagal');
             }
     
             redirect('transaksi/deliveryorder');*/
     if ($idquotationsales != null) {
         $quotation = $this->orm->quotationsales->where('idquotationsales', $idquotationsales);
         $quotation->delete();
         $quotationdetail = $this->orm->quotationsalesdetail->where('idquotationsales', $idquotationsales);
         $quotationdetail->delete();
         Message::_set(TRUE, 'Hapus Data Delivery Order Berhasil', 'Hapus Data Delivery Order Gagal');
     }
     redirect('transaksi/deliveryorder');
 }
开发者ID:rifaiaja,项目名称:orpsystem,代码行数:21,代码来源:deliveryorder.php


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