<?php
/*
 @ClassName : Proc Pengendalian Barang
 @Copyright : PT Gamatechno Indonesia
 @Analyzed By : Nanang Ruswianto <nanang@gamatechno.com>
 @Designed By : Rosyid <rosyid@gamatechno.com>
 @Author By : Dyan Galih <galih@gamatechno.com>
 @Version : 1.0
 @StartDate : Okt 16, 2008
 @LastUpdate : Okt 17, 2008
 @Description :
*/


require_once GTFWConfiguration::GetValue( 'application', 'docroot').
   'module/pengendalian_barang/business/PegendalianBarang.class.php';

class ProcPengendalianBarang
{
	
	function deletePengendalianBarang(){
		return Dispatcher::Instance()->GetUrl('pengendalian_barang', 'PengendalianBarang', 'view', 'html');
	}
	
	function editPengendalianBarang(){
		return Dispatcher::Instance()->GetUrl('pengendalian_barang', 'PengendalianBarang', 'view', 'html');
	}
	
	function addPengendalianBarang($page='html'){
		if($page=='json')
			return Dispatcher::Instance()->GetUrl('pengendalian_barang', 'PengendalianBarang', 'view', 'html',true);
		else
			return Dispatcher::Instance()->GetUrl('pengendalian_barang', 'PengendalianBarang', 'view', 'html');
	}
}
?>
