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

class DoAddStatusNikah extends jsonResponse {

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