<?php
require_once GTFWConfiguration::GetValue( 'application', 'docroot') . 'module/'.Dispatcher::Instance()->mModule.'/business/importBmn'.GTFWConfiguration::GetValue('application','university_code').'.class.php';

class DoImportBmn extends JsonResponse {

	function TemplateModule(){
	}
	 
	function ProcessRequest(){
		$dynClass = 'importBmn'.GTFWConfiguration::GetValue('application','university_code');
		$Obj = new $dynClass();
		$urlRedirect = $Obj->importBmn();

		return array( 'exec' => 'GtfwAjax.replaceContentWithUrl("subcontent-element","'.$urlRedirect.'&ascomponent=1")');
	}

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