PDF for XMLDocument

This commit is contained in:
sparkyx 2025-12-05 15:43:38 +01:00
parent c7bf2ebb0c
commit 1a52bfde61
3 changed files with 5 additions and 4 deletions

View file

@ -404,10 +404,10 @@ abstract class XML_Reader
* @param \Database $cn
* @returns \PDF
*/
public function to_pdf(): \PDF_Core
public function to_pdf(): PDF
{
//$pdf = new PDF($cn);
$pdf = new \PDF_Core;
$pdf = new PDF();
$result = $this->get_info();
// $pdf->setDossierInfo(_(" id ") . " " . $result['id']);