Source of file GoogleReport.php
Size: 0,634 Bytes - Last Modified: 2021-12-23T10:26:58+00:00
/var/www/docs.ssmods.com/process/src/code/GoogleReport.php
12345678910111213141516171819202122232425262728 | <?php class GoogleReport extends SS_Report { public function title() { return _t('GoogleReport.REPORTTITLE', "Google Analytics"); } public function description() { return "add description"; } public function getCMSFields() { $fields = new FieldList(); $chart = new GooglePerformanceChart(); $fields->push(new LiteralField('ReportTitle', "<h3>{" . _t('GoogleReport.REPORTTITLE', "Google Analytics") ."}</h3>")); $fields->push(new LiteralField('ReportDescription', $chart->renderWith('GooglePerformanceChart'))); return $fields; } } |