Symfony 1.4 with TCPDF: How to retrieve data from a database and show it as a .pdf file?
问题 I work with Symfony 1.4. I want to create a pdf file using TCPDF with the content of a query involving multiple tables. Here my code in the actions.class.php: public function executeTest() { $this->conflictos1s = Doctrine_Core::getTable('Conflictos1') ->createQuery('a') ->leftJoin('a.SectorActividadCiuTa7') ->leftJoin('a.RelacionConflictualPrincipalTa9') ->leftJoin('a.SubsectorActividadTa8') ->leftJoin('a.DemandasTa2') ->leftJoin('a.ActoresTa1') ->leftJoin('a.Conflictos1HasActoresTa1') -