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

class DoAddJenisSmta extends jsonResponse {

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