<?php
require_once GTFWConfiguration::GetValue( 'application', 'docroot') . 'module/pengelolaan_bhp/response/ProcessPengelolaan.proc.class.php';

class DoAddPengelolaan extends JsonResponse {

	function TemplateModule() {
	}
	
	function ProcessRequest() {
		$Obj = new ProcessPengelolaan();
		
		 if ($_GET['id']!="")
         $urlRedirect = $Obj->Update();
		 else $urlRedirect = $Obj->Add();
	
		return array( 'exec' => 'GtfwAjax.replaceContentWithUrl("subcontent-element","'.$urlRedirect.'&ascomponent=1")');
	 }

	function ParseTemplate($data = NULL) {
	}
}
?>
