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

class DoAddWaktuKuliah extends JsonResponse {

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

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