/** * Constructor * * @param $Pdf CakePdf instance */ public function __construct(CakePdf $Pdf) { parent::__construct($Pdf); if (!defined('DOMPDF_FONT_CACHE')) { define('DOMPDF_FONT_CACHE', TMP); } if (!defined('DOMPDF_TEMP_DIR')) { define('DOMPDF_TEMP_DIR', TMP); } App::import('Vendor', 'CakePdf.DomPDF', array('file' => 'dompdf' . DS . 'dompdf_config.inc.php')); }
/** * Constructor * * @param $Pdf CakePdf instance */ public function __construct(CakePdf $Pdf) { parent::__construct($Pdf); App::import('Vendor', 'CakePdf.Mpdf', array('file' => 'mpdf' . DS . 'mpdf.php')); }
/** * Constructor * * @param $Pdf CakePdf instance */ public function __construct(CakePdf $Pdf) { parent::__construct($Pdf); }