/** * Finnish saving renderer to database by creating charts * * @param Report_Renderer $renderer containing the charts */ public function afterSaveObject($renderer) { $cf = $this->getChartFactory(); foreach ($renderer->getCharts() as $chart) { $chartDB = $cf->createDb($this->id, $chart); } }
/** * Finnish saving renderer to database by creating colunms * * @param Report_Renderer $renderer containing the columns */ public function afterSaveObject($renderer) { $this->saveColumns($renderer->getColumns()); $this->saveAggregates($renderer->getAggregates()); $this->saveSort($renderer->getSort()); }