[*] PDF : You can now enable diskcache

This commit is contained in:
fBrignoli
2011-12-15 09:05:16 +00:00
parent 5c96a0bcf6
commit d348f31dec
3 changed files with 21 additions and 33 deletions
+3 -3
View File
@@ -44,9 +44,9 @@ class PDFGeneratorCore extends TCPDF
public $font_by_lang = array('jp' => 'cid0jp');
public function __construct()
public function __construct($use_cache = false)
{
parent::__construct('P', 'mm', 'A4', true, 'UTF-8', false, false);
parent::__construct('P', 'mm', 'A4', true, 'UTF-8', $use_cache, false);
}
/**
@@ -90,7 +90,7 @@ class PDFGeneratorCore extends TCPDF
/**
* Change the font
* @param unknown_type $iso_lang
* @param string $iso_lang
*/
public function setFontForLang($iso_lang)
{