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

class DoUpdateGelombang extends JsonResponse {

	function TemplateModule() {
	}
	
	function ProcessRequest() {
		$gelombangObj = new ProcessGelombang();
		$urlRedirect = $gelombangObj->Update();
		return array( 'exec' => 'GtfwAjax.replaceContentWithUrl("subcontent-element","'.$urlRedirect.'&ascomponent=1")');
	}

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