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

class DoAddPeriode extends HtmlResponse {

	function TemplateModule() {
	}
	
	function ProcessRequest() {
      $msg = Messenger::Instance()->Receive(__FILE__);
		$prdObj = new ProcessPeriode();
		if(isset($_GET['confirm'])){
         $urlRedirect = $prdObj->AddConfirm();
		}else{
         $urlRedirect = $prdObj->Add();
		}
		$this->RedirectTo($urlRedirect);
		return NULL;
	 }
	function ParseTemplate($data = NULL) {	
	}
}
?>
