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

class DoAddNimFormula extends JsonResponse {

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