private function showSchbasInfoPdf() { require_once PATH_INCLUDE . '/Schbas/LoanInfoPdf.php'; $pdf = new \Babesk\Schbas\LoanInfoPdf($this->_dataContainer); $user = $this->_em->find('DM:SystemUsers', $_SESSION['uid']); $pdf->setDataByUser($user); $pdf->showPdf(); }
private function showPdf() { $pdf = new \Babesk\Schbas\LoanInfoPdf($this->_dataContainer); $pdf->setDataByGradelevel($_POST['gradelabel']); $pdf->showPdf(); }