<?php

class AppStatusMahasiswaToSia extends Database {

	protected $mSqlFile= 'module/status_mahasiswa/business/appstatusmahasiswatosia.sql.php';
	
	function __construct($connectionNumber=1) {
		parent::__construct($connectionNumber);
		#
	}

//===GET===		

//===DO==
	
	function DoAddStatusMahasiswaToSia($stakmhsrKode,$stakmhsrNama) {
		$result = $this->Execute($this->mSqlQueries['do_add_status_mahasiswa_to_sia'], array($stakmhsrKode,$stakmhsrNama));
		return $result;
	}
	
	function DoUpdateStatusMahasiswaSia($stakmhsrKode,$stakmhsrNama,$stakmhsrId) {
		$result = $this->Execute($this->mSqlQueries['do_update_status_mahasiswa_sia'], array($stakmhsrKode,$stakmhsrNama,$stakmhsrId));
		return $result;
	}
	
	function DoDeleteStatusMahasiswaSiaById($stakmhsrKode) {
		$result=$this->Execute($this->mSqlQueries['do_delete_status_mahasiswa_sia_by_id'], array($stakmhsrKode));
		return $result;
	}

	function DoDeleteStatusMahasiswaSiaByArrayId($arrStakmhsrKode) {
		$stakmhsrKode = implode("', '", $arrStakmhsrKode);
		$result=$this->Execute($this->mSqlQueries['do_delete_status_mahasiswa_sia_by_array_id'], array($stakmhsrKode));
		return $result;
	}
}
?>
