<?php

class AppStatusTerdaftarToSia extends Database {

	protected $mSqlFile= 'module/status_terdaftar/business/appstatusterdaftartosia.sql.php';
	
	function __construct($connectionNumber=1) {
		parent::__construct($connectionNumber);
		
	}
		
//===GET==

//===DO==
	
	function DoAddStatusTerdaftarToSia($idStatDaftar, $statDaftar) {
		$result = $this->Execute($this->mSqlQueries['do_add_status_terdaftar_to_sia'], array($idStatDaftar, $statDaftar));
		return $result;
	}
	
	function DoUpdateStatusTerdaftarSia($statDaftar, $idStatDaftar) {
		$result = $this->Execute($this->mSqlQueries['do_update_status_terdaftar_sia'], array($statDaftar, $idStatDaftar));
		return $result;
	}
	
	function DoDeleteStatusTerdaftarSiaById($idStatDaftar) {
		$result=$this->Execute($this->mSqlQueries['do_delete_status_terdaftar_sia_by_id'], array($idStatDaftar));
		return $result;
	}

	function DoDeleteStatusTerdaftarSiaByArrayId($arrIdStatDaftar) {
		$idStatDaftar = implode("', '", $arrIdStatDaftar);
		$result=$this->Execute($this->mSqlQueries['do_delete_status_terdaftar_sia_by_array_id'], array($idStatDaftar));
		return $result;
	}
}
?>
