Exemplo n.º 1
0
 public function generatereportAction()
 {
     $reportModel = new ReportModel();
     $cdreport = $_POST["cdreport"];
     $reportNameData = $reportModel->fetchRow($reportModel->getReport($cdreport));
     $query = $this->createQuery($_POST);
     $url = "http://localhost:8080/gslabreport/ReportsGslab?report=" . $reportNameData->idreport . "&query=" . $query;
     $this->_redirect($url);
 }