public function __construct($title) { $this->pdf_title = $title; parent::__construct('P', 'mm', 'A4'); $this->SetTitle($this->pdf_title); $this->SetAutoPageBreak(false); $this->SetMargins($this->pdf_margin, $this->pdf_margin, $this->pdf_margin); $this->SetColor(Util::get_pdf_text_color()); $this->SetBackgroundColor(Util::get_pdf_fill_color()); $this->SetCurrentFont('default'); }