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

class DoUpdateNegara extends JsonResponse {

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