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

class DoAddJalurMasuk extends JsonResponse {

	function TemplateModule() {
	}
	
	function ProcessRequest() {
		$Obj = new ProcessJalurMasuk();
		$urlRedirect = $Obj->Add();
		//$this->RedirectTo($urlRedirect);
			return array('exec'=>'GtfwAjax.replaceContentWithUrl("subcontent-element","'.$urlRedirect.'&ascomponent=1")');
	 }
	function ParseTemplate($data = NULL) {	
	}
}
?>
