<?php

class PengendalianBarang extends Database {

   protected $mSqlFile= 'module/pengendalian_barang/business/pengendalian_barang.sql.php';
   
   function __construct($connectionNumber=0) {
      parent::__construct($connectionNumber);
   }
    
   function getStatusBarang(){
   	return $this->Open($this->mSqlQueries['get_status_barang'],array());
	}
	
	function getUnitKerja(){
		return $this->Open($this->mSqlQueries['get_unit_kerja'],array());
	}
	
	function getPengendalianBarang(){
		return $this->Open($this->mSqlQueries['get_list_pengendalian_barang'],array());
	}
	
	function getLokasiBarang($idUnit){
		return $this->Open($this->mSqlQueries['get_lokasi_barang'],array($idUnit));
	}
}
?>
