/**
  * module initialization tasks
  *
  * @param object $request
  * @param object $tpl Template instance
  * 
  * @return void
  */
 function init(&$request, $tpl = null, $o_archive = null, $p_graphType = null, $p_graphdata = null)
 {
     ViewModule::init($request, $tpl, $o_archive);
     if ($p_graphType == null) {
         $this->graph_type = Request::getGraphType();
     } else {
         $this->graph_type = $p_graphType;
     }
     if ($p_graphdata == null) {
         $this->graph_data = Request::getGraphData();
     } else {
         $this->graph_data = $p_graphdata;
     }
 }