<?php

class AppStatusNikahToSia extends Database {

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

//===GET===		
	
//===DO==
	
	function DoAddStatusNikahToSia($stnkrId, $stnkrNama) {
		$result = $this->Execute($this->mSqlQueries['do_add_status_nikah_to_sia'], array($stnkrId, $stnkrNama));
		return $result;
	}
	
	function DoUpdateStatusNikahSia($stnkrNama, $stnkrId) {
		$result = $this->Execute($this->mSqlQueries['do_update_status_nikah_sia'], array($stnkrNama, $stnkrId));
		return $result;
	}
	
	function DoDeleteStatusNikahSiaById($stnkrId) {
		$result=$this->Execute($this->mSqlQueries['do_delete_status_nikah_sia_by_id'], array($stnkrId));
		return $result;
	}

	function DoDeleteStatusNikahSiaByArrayId($arrStnkrId) {
		$stnkrId = implode("', '", $arrStnkrId);
		$result=$this->Execute($this->mSqlQueries['do_delete_status_nikah_sia_by_array_id'], array($stnkrId));
		return $result;
	}
}
?>
