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

class DoUpdateWargaNegara extends jsonResponse {

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