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

class DoUpdateJurusanSmta extends JsonResponse {

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

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