public static function axDownloadCSV()
 {
     Wikia::log(__METHOD__, 'Depreciated?');
     $SponsorshipDashboard = new SponsorshipDashboard();
     if (isset($_GET['elementId']) && !empty($_GET['elementId']) && $SponsorshipDashboard->isAllowed()) {
         $report = new SponsorshipDashboardReport($_GET['elementId']);
         $report->loadReportParams();
         $dataFormatter = SponsorshipDashboardOutputCSV::newFromReport($report);
         echo $dataFormatter->getHTML();
         exit;
     } else {
         echo wfMsg('sponsorship-dashboard-not-allowed');
     }
 }
 protected function CSVReport()
 {
     $this->currentReport->loadReportParams();
     $dataFormatter = SponsorshipDashboardOutputCSV::newFromReport($this->currentReport);
     echo $dataFormatter->getHTML();
     exit;
 }