Esempio n. 1
0
 function getDeleteProjectGroup($id)
 {
     $language = ilandCommonUtils::getArrayLanguage();
     $DBConfig = ilandCommonUtils::getSiteDBConfig();
     return iland4_xoaLoaiDuAn($DBConfig, $id, $language);
 }
Esempio n. 2
0
 function xoaDichVuBDS($id, $table)
 {
     //    	echo $table;
     //    	exit;
     $language = ilandCommonUtils::getArrayLanguage();
     //		print_r($language);
     $DBConfig = ilandCommonUtils::getSiteDBConfig();
     //		iland4_xoaLoaiTienIch( $DBConfig, $id, $language );
     switch ($table) {
         case 'phap_ly':
             iland4_xoaPhapLy($DBConfig, $id, $language);
             break;
         case 'don_vi_tien':
             iland4_xoaDonViTien($DBConfig, $id, $language);
             break;
         case 'don_vi_dien_tich':
             iland4_xoaDonViDienTich($DBConfig, $id, $language);
             break;
         case 'loai_tien_ich':
             iland4_xoaLoaiTienIch($DBConfig, $id, $language);
             break;
         case 'tien_ich':
             iland4_xoaTienIch($DBConfig, $id, $language);
             break;
         case 'tinh_thanh':
             iland4_xoaTinhThanhPho($DBConfig, $id);
             break;
         case 'quan_huyen':
             iland4_xoaQuanHuyen($DBConfig, $id);
             break;
         case 'loai_bds':
             iland4_xoaLoaiBDS($DBConfig, $id, $language);
             break;
         case 'loai_du_an':
             iland4_xoaLoaiDuAn($DBConfig, $id, $language);
             break;
     }
 }