/** * class constructor * * @param string $orientation page orientation, same as TCPDF * @param string $unit User measure unit, same as TCPDF * @param mixed $format The format used for pages, same as TCPDF * @param boolean $unicode TRUE means that the input text is unicode (default = true) * @param String $encoding charset encoding; default is UTF-8 * @param boolean $diskcache if TRUE reduce the RAM memory usage by caching temporary data on filesystem (slower). * @access public */ public function __construct($orientation = 'P', $unit = 'mm', $format = 'A4', $unicode = true, $encoding = 'UTF-8', $diskcache = false) { // call the parent constructor parent::__construct($orientation, $unit, $format, $unicode, $encoding, $diskcache); // init the specific parameters used by HTML2PDF $this->SetCreator(PDF_CREATOR); $this->SetAutoPageBreak(false, 0); $this->linestyleCap = '2 J'; $this->setPrintHeader(false); $this->jpeg_quality = 90; // prepare the automatic footer $this->SetMyFooter(); $this->setCellPaddings(0, 0, 0, 0); $this->setCellMargins(0, 0, 0, 0); }
function __construct($orientation = 'P', $unit = 'mm', $format = 'A4', $copy = false) { if (file_exists(Util::getRootPath() . "ubiquitous/Fonts/")) { # AND !defined("FPDF_FONTPATH")) { #define('FPDF_FONTPATH', Util::getRootPath()."ubiquitous/Fonts/"); $this->AddFont("Ubuntu", "", "5e01bde68449bff64cefe374f81b7847_ubuntu-regular.php"); $this->AddFont("Ubuntu", "B", "70fed3593f0725ddea7da8f1c62577c1_ubuntu-bold.php"); $this->AddFont("Ubuntu", "I", "cfa4d284ee1dc737cb0fe903fbab1844_ubuntu-italic.php"); $this->AddFont("Ubuntu", "BI", "c409dbcbee5b5ac6bf7b101817c7416a_ubuntu-bolditalic.php"); $this->AddFont("Orbitron", "", "667a54623e1b9927fdf078125bbbf49b_orbitron-regular.php"); $this->AddFont("Orbitron", "B", "c4c6025fc06df62e82ebf42b2709e6ae_orbitron-bold.php"); $this->AddFont("Orbitron", "I", "c4c6025fc06df62e82ebf42b2709e6ae_orbitron-fakeItalic.php"); $this->AddFont("Orbitron", "BI", "c4c6025fc06df62e82ebf42b2709e6ae_orbitron-fakeBoldItalic.php"); $this->AddFont("Raleway", "", "ed7ad2408e498cae8fab623a755883f6_raleway-thin.php"); $this->AddFont("Raleway", "B", "ed7ad2408e498cae8fab623a755883f6_raleway-thin-fakeBold.php"); $this->AddFont("Raleway", "I", "ed7ad2408e498cae8fab623a755883f6_raleway-thin-fakeItalic.php"); $this->AddFont("Raleway", "BI", "ed7ad2408e498cae8fab623a755883f6_raleway-thin-fakeBoldItalic.php"); } parent::__construct($orientation, $unit, $format, $copy); }
/** * This method overrides the parent constructor method. * this is need to reset the default values. */ public function __construct($orientation = 'P', $unit = 'mm', $format = 'A4', $unicode = TRUE, $encoding = 'UTF-8', $diskcache = FALSE) { parent::__construct($orientation, $unit, $format, $unicode, $encoding, $diskcache); $this->defaultOrientation = $orientation; $this->defaultFormat = $format; }
function __construct($opt) { parent::__construct(); $this->opt = $opt; }
function mb_fpdi($orientation = 'L', $unit = 'mm', $format = 'A4') { parent::__construct($orientation, $unit, $format); $this->SetAutoPageBreak(false, 0); }
public function __construct() { parent::__construct(); $this->ci =& get_instance(); }
public function __construct() { parent::__construct(); }