<?php
class AppPropinsiToUm extends Database {

	protected $mSqlFile= 'module/propinsi/business/apppropinsitoum.sql.php';

	function __construct($connectionNumber=4) {
		parent::__construct($connectionNumber);
		
	}
   function DoAddPropinsi($kodeProp,$namaProp){
      $result=$this->Execute($this->mSqlQueries['do_add_propinsi'],array($kodeProp,$namaProp));
      #print($this->GetLastError());
      return $result;
   }
   function DoUpdatePropinsi($kodeProp,$namaProp,$propKode){
      $result=$this->Execute($this->mSqlQueries['do_update_propinsi'],array($kodeProp,$namaProp,$propKode));
      return $result;
   }
   function DoDeletePropinsiById($kodeProp){
      $result=$this->Execute($this->mSqlQueries['do_delete_propinsi_by_id'],array($kodeProp));
      return $result;   
   }
   function DoDeletePropinsiByArrayId($arrKodeProp){
      $kodeProp=implode("', '", $arrKodeProp);
      $result=$this->Execute($this->mSqlQueries['do_delete_propinsi_by_array_id'],array($kodeProp));
      return $result;   
   }
   function DoImportFileDbfPropinsi($kodeProp,$namaProp,$kodeProp,$namaProp){
      $result=$this->Execute($this->mSqlQueries['do_import_file_dbf_propinsi'],array($kodeProp,$namaProp,$kodeProp,$namaProp));
      #print($this->GetLastError());
      return $result;
   }
}
?>
