當前位置: 首頁>>代碼示例>>PHP>>正文


PHP FPDF::FPDF方法代碼示例

本文整理匯總了PHP中FPDF::FPDF方法的典型用法代碼示例。如果您正苦於以下問題:PHP FPDF::FPDF方法的具體用法?PHP FPDF::FPDF怎麽用?PHP FPDF::FPDF使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在FPDF的用法示例。


在下文中一共展示了FPDF::FPDF方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: PDFTable

 function PDFTable($orientation = 'P', $unit = 'mm', $format = array(400, 455))
 {
     parent::FPDF($orientation, $unit, $format);
     $this->SetMargins(0, 0, 0, 0);
     $this->SetAuthor('Pham Minh Dung');
     $this->_makePageSize();
 }
開發者ID:rosyid33,項目名稱:sppam,代碼行數:7,代碼來源:pdftable.inc.php

示例2:

 function FPDF_Protection($orientation = 'P', $unit = 'mm', $format = 'A4')
 {
     parent::FPDF($orientation, $unit, $format);
     $this->encrypted = false;
     $this->last_rc4_key = '';
     $this->padding = "(¿N^NuŠAdNVÿú" . "..¶Ðh>€/\f©þdSiz";
 }
開發者ID:aliihaidar,項目名稱:pso,代碼行數:7,代碼來源:class.fpdf_protection.php

示例3: PDFTable

 function PDFTable($orientation = 'P', $unit = 'mm', $format = 'A4')
 {
     parent::FPDF($orientation, $unit, $format);
     $this->SetMargins(20, 20, 20);
     $this->SetAuthor('Pham Minh Dung');
     $this->_makePageSize();
 }
開發者ID:Esleelkartea,項目名稱:kz-adeada-talleres-electricos-,代碼行數:7,代碼來源:pdftable.inc.php

示例4:

 /**
  * Constructor of the Class
  *
  * @author Jonathan Sandoval <jonathan_s_pisis@yahoo.com.mx>
  * @param  integer $idUser    idUser
  * @param  integer $idChurch  idChurch
  * @param  boolean $full      full document
  */
 function __construct($idUser = 0, $idChurch = 0)
 {
     //Define the constructor
     parent::FPDF('L', 'mm', 'Letter');
     $this->church = ChurchManager::getSingleChurch('id', $idChurch);
     $this->user = SessionManager::getSingleUser('id', $idUser);
 }
開發者ID:jonatalamantes,項目名稱:NotariusAdOmnes,代碼行數:15,代碼來源:EnvelopeChurch.php

示例5:

 function class_pdf_maker($orientation = 'P', $unit = 'in', $format = 'letter')
 {
     parent::FPDF($orientation, $unit, $format);
     parent::SetMargins(0, 0);
     parent::Open();
     parent::AddPage();
     parent::SetAutoPageBreak(FALSE);
 }
開發者ID:joelphilippage,項目名稱:Library,代碼行數:8,代碼來源:pdf_maker.php

示例6: PDFTable

 function PDFTable($orientation = 'P', $unit = 'mm', $format = 'A4')
 {
     parent::FPDF($orientation, $unit, $format);
     $this->SetMargins(20, 20, 20);
     $this->SetAuthor('Pham Minh Dung');
     $this->_makePageSize();
     $this->isNotYetSetFont = true;
     $this->headerTable = $this->footerTable = '';
 }
開發者ID:WisnuDiStefano,項目名稱:sinar,代碼行數:9,代碼來源:pdftable.inc.php

示例7: __construct

 public function __construct($idCompra = 1)
 {
     //Defiene a constructor
     parent::FPDF();
     $this->nombreEmpresa = "Herremex";
     $this->iva = 16;
     $this->logo = __DIR__ . "/logo.png";
     $this->logoAgua = __DIR__ . "/logoAgua.png";
     $this->getCompra($idCompra);
 }
開發者ID:jonatalamantes,項目名稱:Herremex,代碼行數:10,代碼來源:facturaPDF.php

示例8: __construct

 /**
  * Constructor
  */
 public function __construct($orientation = 'P', $unit = 'mm', $format = 'A4')
 {
     global $cookie;
     if (!isset($cookie) or !is_object($cookie)) {
         $cookie->id_lang = (int) Configuration::get('PS_LANG_DEFAULT');
     }
     self::$_iso = strtoupper(Language::getIsoById($cookie->id_lang));
     FPDF::FPDF($orientation, $unit, $format);
     $this->_initPDFFonts();
 }
開發者ID:priyankajsr19,項目名稱:shalu,代碼行數:13,代碼來源:PDF.php

示例9:

 /**
  * __contruct
  * Construtor da classe PedPdfPHP
  * @param number $mododebug (Optional) 1-SIM ou 0-NÃO (0 default)
  * @package spoolga
  * @author  Joao Paulo Bastos L. <jpbl.bastos at gmail dot com>
  */
 function __construct($orientation = 'L', $unit = 'mm', $format = 'A4')
 {
     //passar parametros para a classe principal
     parent::FPDF($orientation, $unit, $format);
     $this->pdfERROR = '';
     //inclui configuracoes
     if (is_file(PATH_ROOT . 'conf/config.php')) {
         include PATH_ROOT . 'conf/config.php';
         $this->dirsentItemsPdfs = $dirsentItemsPdfs;
         $this->logo = $logo;
     }
 }
開發者ID:jpblbastos,項目名稱:scripts,代碼行數:19,代碼來源:PedPdfPHP.class.php

示例10:

 function Ticket2PDF($ticket, $psize = 'Letter', $notes = false)
 {
     global $thisstaff;
     parent::FPDF('P', 'mm', $psize);
     $this->ticket = $ticket;
     $this->includenotes = $notes;
     $this->SetMargins(10, 10, 10);
     $this->AliasNbPages();
     $this->AddPage();
     $this->cMargin = 3;
     $this->_print();
 }
開發者ID:pkdevboxy,項目名稱:osTicket-1.7,代碼行數:12,代碼來源:class.pdf.php

示例11: __construct

 public function __construct()
 {
     $this->report = error_reporting(0);
     parent::FPDF();
     error_reporting($this->report);
     $this->AddFont('Vera Sans', '', 'Vera.php');
     $this->AddFont('Vera Sans', 'I', 'VeraIt.php');
     $this->AddFont('Vera Sans', 'B', 'VeraBd.php');
     $this->AddFont('Vera Mono', '', 'VeraMono.php');
     $this->SetTitle($this->title);
     $this->SetCreator('Site Polytechnique.org');
     $this->AddPage();
 }
開發者ID:Ekleog,項目名稱:platal,代碼行數:13,代碼來源:contacts.pdf.inc.php

示例12: array

 function XML2PDF($debug = FALSE)
 {
     // Initialization
     $this->DebugPrint("initializing...");
     parent::FPDF('P', 'mm', 'A4');
     $this->debug = $debug;
     $this->abort_error = FALSE;
     $this->open_tags = array("page" => FALSE);
     $this->fontstack = array();
     $this->colorstack = array();
     $this->tablestack = array();
     $this->trstack = array();
     $this->tdstack = array();
     $this->links = array();
     $this->add_fonts = array();
     $this->indent = array("ih1" => 0, "ih2" => 5, "ih3" => 10, "ih4" => 15, "ih5" => 20, "ih6" => 25, "current" => 0);
     $this->headingFont = array("H1" => 36, "H2" => 24, "H3" => 18, "H4" => 16, "H5" => 14, "H6" => 12);
     $this->headingSpace = array("H1" => 5, "H2" => 4, "H3" => 3, "H4" => 2, "H5" => 1, "H6" => 0);
 }
開發者ID:openbizx,項目名稱:openbizx-cubix,代碼行數:19,代碼來源:xml2pdf.php

示例13:

 function PDF_Label($format, $unit = 'mm', $posX = 1, $posY = 1)
 {
     if (is_array($format)) {
         $Tformat = $format;
     } else {
         if (!isset($this->_Avery_Labels[$format])) {
             $this->Error('Unknown label format: ' . $format);
         }
         $Tformat = $this->_Avery_Labels[$format];
     }
     parent::FPDF('P', $unit, $Tformat['paper-size']);
     $this->_Metric_Doc = $unit;
     $this->_Set_Format($Tformat);
     $this->SetFont('Arial');
     $this->SetMargins(0, 0);
     $this->SetAutoPageBreak(false);
     $this->_COUNTX = $posX - 2;
     $this->_COUNTY = $posY - 1;
 }
開發者ID:tmaski45,項目名稱:tedmatuszewski.com,代碼行數:19,代碼來源:PDF_Label.php

示例14: UFPDF

 function UFPDF($orientation = 'P', $unit = 'mm', $format = 'A4')
 {
     FPDF::FPDF($orientation, $unit, $format);
 }
開發者ID:BackupTheBerlios,項目名稱:aligilo-svn,代碼行數:4,代碼來源:ufpdf.php

示例15: PDF

 function PDF()
 {
     parent::FPDF();
 }
開發者ID:paragm,項目名稱:openDCIM,代碼行數:4,代碼來源:report_surplus.php


注:本文中的FPDF::FPDF方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。