104 $coreReport = clone $this;
105 $copyReport =
new Report();
106 $copyReport->setId(
null);
107 $copyReport->setGId($coreReport->getGId());
108 $copyReport->setWeight($coreReport->getWeight());
109 $copyReport->setWidgetId($coreReport->getWidgetId());
110 $copyReport->setReportClassName($coreReport->getReportClassName());
117 $configuration->setId(
null);
118 $copyReport->addConfigurations($configuration);
174 if (!$this->reportHandler)
176 $reportHandlerFromEvent = ReportProvider::getReportHandlerByClassName($this->reportClassName);
177 if ($reportHandlerFromEvent)
179 $this->reportHandler =
new $reportHandlerFromEvent;
180 $this->reportHandler->setView($this->
getWidget()->getWidgetHandler()->getView());
185 $this->reportHandler->fillReport($this);
189 $this->errors[] =
new Error(
'No such report handler with this class');