<?php

class AppPekerjaanToSia extends Database {

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

//===DO==
	
	function DoAddPekerjaanToSia($pkjrId, $pkjrNama) {
		$result = $this->Execute($this->mSqlQueries['do_add_pekerjaan_to_sia'], array($pkjrId, $pkjrNama));
		return $result;
	}
	
	function DoUpdatePekerjaanSia($pkjrNama, $pkjrId) {
		$result = $this->Execute($this->mSqlQueries['do_update_pekerjaan_sia'], array($pkjrNama, $pkjrId));
		return $result;
	}
	
	function DoDeletePekerjaanSiaById($pkjrId) {
		$result=$this->Execute($this->mSqlQueries['do_delete_pekerjaan_sia_by_id'], array($pkjrId));
		return $result;
	}

	function DoDeletePekerjaanSiaByArrayId($arrPkjrId) {
		$pkjrId = implode("', '", $arrPkjrId);
		$result=$this->Execute($this->mSqlQueries['do_delete_pekerjaan_sia_by_array_id'], array($pkjrId));
		return $result;
	}
}
?>
