当前位置: 首页>>代码示例>>PHP>>正文


PHP Cpdf::addInfo方法代码示例

本文整理汇总了PHP中Cpdf::addInfo方法的典型用法代码示例。如果您正苦于以下问题:PHP Cpdf::addInfo方法的具体用法?PHP Cpdf::addInfo怎么用?PHP Cpdf::addInfo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Cpdf的用法示例。


在下文中一共展示了Cpdf::addInfo方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Cpdf

 /**
  * Class constructor
  *
  * @param string $paper  The size of paper to use in this PDF ({@link CPDF_Adapter::$PAPER_SIZES})
  * @param string $orientation The orienation of the document (either 'landscape' or 'portrait')
  */
 function __construct($paper = "letter", $orientation = "portrait")
 {
     if (is_array($paper)) {
         $size = $paper;
     } else {
         if (array_key_exists(strtolower($paper), self::$PAPER_SIZES)) {
             $size = self::$PAPER_SIZES[$paper];
         } else {
             $size = self::$PAPER_SIZES["letter"];
         }
     }
     if (strtolower($orientation) == "landscape") {
         $a = $size[3];
         $size[3] = $size[2];
         $size[2] = $a;
     }
     $this->_pdf = new Cpdf($size);
     $this->_pdf->addInfo("Creator", "DOMPDF Converter");
     $this->_pdf->addInfo("CreationDate", date("Y-m-d"));
     $this->_width = $size[2];
     $this->_height = $size[3];
     $this->_pdf->openHere('Fit');
     $this->_page_number = $this->_page_count = 1;
     $this->_page_text = null;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:31,代码来源:cpdf_adapter.cls.php

示例2: Cpdf

 /**
  * Class constructor
  *
  * @param mixed  $paper  The size of paper to use in this PDF ({@link CPDF_Adapter::$PAPER_SIZES})
  * @param string $orientation The orienation of the document (either 'landscape' or 'portrait')
  */
 function __construct($paper = "letter", $orientation = "portrait")
 {
     if (is_array($paper)) {
         $size = $paper;
     } else {
         if (isset(self::$PAPER_SIZES[mb_strtolower($paper)])) {
             $size = self::$PAPER_SIZES[$paper];
         } else {
             $size = self::$PAPER_SIZES["letter"];
         }
     }
     if (mb_strtolower($orientation) == "landscape") {
         $a = $size[3];
         $size[3] = $size[2];
         $size[2] = $a;
     }
     $this->_pdf = new Cpdf($size);
     $this->_pdf->addInfo("Creator", "DOMPDF Converter");
     // Silence pedantic warnings about missing TZ settings
     if (function_exists("date_default_timezone_get")) {
         $tz = @date_default_timezone_get();
         date_default_timezone_set("UTC");
         $this->_pdf->addInfo("CreationDate", date("Y-m-d"));
         date_default_timezone_set($tz);
     } else {
         $this->_pdf->addInfo("CreationDate", date("Y-m-d"));
     }
     $this->_width = $size[2] - $size[0];
     $this->_height = $size[3] - $size[1];
     $this->_pdf->openHere('Fit');
     $this->_page_number = $this->_page_count = 1;
     $this->_page_text = array();
     $this->_pages = array($this->_pdf->getFirstPageId());
     $this->_image_cache = array();
 }
开发者ID:SkMamtajuddin,项目名称:bamboo-invoice,代码行数:41,代码来源:cpdf_adapter.cls.php

示例3: Cpdf

if (isset($_POST['PrintPDF'])) {
    include 'includes/class.pdf.php';
    /* A4_Landscape */
    $Page_Width = 842;
    $Page_Height = 595;
    $Top_Margin = 20;
    $Bottom_Margin = 20;
    $Left_Margin = 25;
    $Right_Margin = 22;
    // Javier: now I use the native constructor
    //	$PageSize = array(0,0,$Page_Width,$Page_Height);
    /* Standard PDF file creation header stuff */
    // Javier: better to not use references
    //	$pdf = & new Cpdf($PageSize);
    $pdf = new Cpdf('L', 'pt', 'A4');
    $pdf->addInfo('Creator', 'webERP http://www.weberp.org');
    $pdf->addInfo('Author', 'webERP ' . $Version);
    $pdf->addInfo('Title', _('Inventory Planning Report') . ' ' . Date($_SESSION['DefaultDateFormat']));
    $pdf->addInfo('Subject', _('Inventory Planning'));
    /* Javier: I have brought this piece from the pdf class constructor to get it closer to the admin/user,
    	I corrected it to match TCPDF, but it still needs some check, after which,
    	I think it should be moved to each report to provide flexible Document Header and Margins in a per-report basis. */
    $pdf->setAutoPageBreak(0);
    // Javier: needs check.
    $pdf->setPrintHeader(false);
    // Javier: I added this must be called before Add Page
    $pdf->AddPage();
    //	$this->SetLineWidth(1); 	   Javier: It was ok for FPDF but now is too gross with TCPDF. TCPDF defaults to 0'57 pt (0'2 mm) which is ok.
    $pdf->cMargin = 0;
    // Javier: needs check.
    /* END Brought from class.pdf.php constructor */
开发者ID:sjhelios,项目名称:trikemindo,代码行数:31,代码来源:InventoryPlanning.php

示例4: Cpdf

        $Right_Margin = 25;
        break;
    case 'legal_landscape':
        $DocumentPaper = 'LEGAL';
        $DocumentOrientation = 'L';
        $Page_Width = 1008;
        $Page_Height = 612;
        $Top_Margin = 50;
        $Bottom_Margin = 40;
        $Left_Margin = 30;
        $Right_Margin = 25;
        break;
}
// Javier: I correct the call to the constructor to match TCPDF (and FPDF ;-)
//	$PageSize = array(0,0,$Page_Width,$Page_Height);
//	$pdf = new Cpdf($PageSize);
$pdf = new Cpdf($DocumentOrientation, 'pt', $DocumentPaper);
$pdf->addInfo('Creator', 'WebERP http://www.web-erp.org');
$pdf->addInfo('Author', 'WebERP ' . $_SESSION['VersionNumber']);
/* Javier: I have brought this piece from the pdf class constructor to get it closer to the admin/user,
	I corrected it to match TCPDF, but it still needs check, after which,
	I think it should be moved to each report to provide flexible Document Header and Margins in a per-report basis. */
$pdf->SetAutoPageBreak(true, 0);
// Javier: needs check.
$pdf->SetPrintHeader(false);
// Javier: I added this must be called before Add Page
$pdf->AddPage();
//	$this->SetLineWidth(1); 	   Javier: It was ok for FPDF but now is too gross with TCPDF. TCPDF defaults to 0'57 pt (0'2 mm) which is ok.
$pdf->cMargin = 0;
// Javier: needs check.
/* END Brought from class.pdf.php constructor */
开发者ID:sunilburli,项目名称:webERP-Medical,代码行数:31,代码来源:PDFStarter.php

示例5: Cpdf

if (isset($_POST['PrintPDF'])) {
    include 'includes/class.pdf.php';
    /* A4_Landscape */
    $Page_Width = 842;
    $Page_Height = 595;
    $Top_Margin = 20;
    $Bottom_Margin = 20;
    $Left_Margin = 25;
    $Right_Margin = 22;
    // Javier: now I use the native constructor
    //	$PageSize = array(0,0,$Page_Width,$Page_Height);
    /* Standard PDF file creation header stuff */
    // Javier: better to not use references
    //	$pdf = & new Cpdf($PageSize);
    $pdf = new Cpdf('L', 'pt', 'A4');
    $pdf->addInfo('Author', 'webERP ' . $Version);
    $pdf->addInfo('Creator', 'webERP http://www.weberp.org');
    $pdf->addInfo('Title', _('Inventory Planning Based On Lead Time Of Preferred Supplier') . ' ' . Date($_SESSION['DefaultDateFormat']));
    //	$PageNumber = 0;
    $pdf->addInfo('Subject', _('Inventory Planning Based On Lead Time Of Preferred Supplier'));
    /* Javier: I have brought this piece from the pdf class constructor to get it closer to the admin/user,
    	I corrected it to match TCPDF, but it still needs check, after which,
    	I think it should be moved to each report to provide flexible Document Header and Margins in a per-report basis. */
    $pdf->setAutoPageBreak(0);
    // Javier: needs check.
    $pdf->setPrintHeader(false);
    // Javier: I added this must be called before Add Page
    $pdf->AddPage();
    //	$this->SetLineWidth(1); 	   Javier: It was ok for FPDF but now is too gross with TCPDF. TCPDF defaults to 0'57 pt (0'2 mm) which is ok.
    $pdf->cMargin = 0;
    // Javier: needs check.
开发者ID:strollClouds,项目名称:snkStudy,代码行数:31,代码来源:InventoryPlanningPrefSupplier.php

示例6: Cpdf

include 'includes/class.pdf.php';
/* A4_Portrait */
$Page_Width = 595;
$Page_Height = 842;
$Top_Margin = 30;
$Bottom_Margin = 30;
$Left_Margin = 40;
$Right_Margin = 30;
// Javier: now I use the native constructor
// Javier: better to not use references
// $PageSize = array(0,0,$Page_Width,$Page_Height);
// $pdf = & new Cpdf($PageSize);
$pdf = new Cpdf('P', 'pt', 'A4');
// $PageNumber = 0;
/* Standard PDF file creation header stuff */
$pdf->addInfo('Creator', 'KwaMoja http://www.kwamoja.org');
$pdf->addInfo('Author', 'KwaMoja ' . $Version);
// $FontSize=10;
$pdf->addInfo('Title', _('Inventory Valuation Report'));
$pdf->addInfo('Subject', _('Inventory Valuation'));
/* Javier: I have brought this piece from the pdf class constructor to get it closer to the admin/user,
	I corrected it to match TCPDF, but it still needs check, after which,
	I think it should be moved to each report to provide flexible Document Header and Margins in a per-report basis. */
$pdf->setAutoPageBreak(0);
// Javier: needs check.
$pdf->setPrintHeader(false);
// Javier: I added this must be called before Add Page
$pdf->AddPage();
//	$this->SetLineWidth(1); 	   Javier: It was ok for FPDF but now is too gross with TCPDF. TCPDF defaults to 0'57 pt (0'2 mm) which is ok.
$pdf->cMargin = 0;
// Javier: needs check.
开发者ID:BackupTheBerlios,项目名称:kwamoja,代码行数:31,代码来源:MailInventoryValuation.php

示例7: Cpdf

}
if (!isset($_POST['ToTransNo']) or trim($_POST['ToTransNo']) == '' or filter_number_format($_POST['ToTransNo']) < $FromTransNo) {
    $_POST['ToTransNo'] = $FromTransNo;
}
$FirstTrans = $FromTransNo;
/* Need to start a new page only on subsequent transactions */
if (isset($PrintPDF) and $PrintPDF != '' and isset($FromTransNo) and isset($InvOrCredit) and $FromTransNo != '') {
    include 'includes/class.pdf.php';
    $Page_Width = 595;
    $Page_Height = 842;
    $Top_Margin = 30;
    $Bottom_Margin = 30;
    $Left_Margin = 40;
    $Right_Margin = 30;
    $pdf = new Cpdf('P', 'pt', 'A4');
    $pdf->addInfo('Author', 'webERP ' . $Version);
    $pdf->addInfo('Creator', 'webERP http://www.weberp.org');
    if ($InvOrCredit == 'Invoice') {
        $pdf->addInfo('Title', _('Sales Invoice') . ' ' . $FromTransNo . ' to ' . $_POST['ToTransNo']);
        $pdf->addInfo('Subject', _('Invoices from') . ' ' . $FromTransNo . ' ' . _('to') . ' ' . $_POST['ToTransNo']);
    } else {
        $pdf->addInfo('Title', _('Sales Credit Note'));
        $pdf->addInfo('Subject', _('Credit Notes from') . ' ' . $FromTransNo . ' ' . _('to') . ' ' . $_POST['ToTransNo']);
    }
    $pdf->setAutoPageBreak(0);
    $pdf->setPrintHeader(false);
    $pdf->setPrintFooter(false);
    $pdf->AddPage();
    $pdf->cMargin = 0;
    $FirstPage = true;
    $line_height = 16;
开发者ID:sjhelios,项目名称:trikemindo,代码行数:31,代码来源:PrintCustTransPortrait.php

示例8: Cpdf

if (isset($_POST['PrintPDF']) and isset($_POST['FromCriteria']) and mb_strlen($_POST['FromCriteria']) >= 1 and isset($_POST['ToCriteria']) and mb_strlen($_POST['ToCriteria']) >= 1) {
    include 'includes/class.pdf.php';
    /* A4_Landscape */
    $Page_Width = 842;
    $Page_Height = 595;
    $Top_Margin = 20;
    $Bottom_Margin = 20;
    $Left_Margin = 25;
    $Right_Margin = 22;
    // Javier: now I use the native constructor
    //	$PageSize = array(0,0,$Page_Width,$Page_Height);
    /* Standard PDF file creation header stuff */
    // Javier: better to not use references
    //	$pdf = & new Cpdf($PageSize);
    $pdf = new Cpdf('L', 'pt', 'A4');
    $pdf->addInfo('Creator', 'KwaMoja http://www.kwamoja.org');
    $pdf->addInfo('Author', 'KwaMoja ' . $Version);
    $pdf->addInfo('Title', _('Inventory Planning Report') . ' ' . Date($_SESSION['DefaultDateFormat']));
    $pdf->addInfo('Subject', _('Inventory Planning'));
    /* Javier: I have brought this piece from the pdf class constructor to get it closer to the admin/user,
    	I corrected it to match TCPDF, but it still needs some check, after which,
    	I think it should be moved to each report to provide flexible Document Header and Margins in a per-report basis. */
    $pdf->setAutoPageBreak(0);
    // Javier: needs check.
    $pdf->setPrintHeader(false);
    // Javier: I added this must be called before Add Page
    $pdf->AddPage();
    //	$this->SetLineWidth(1); 	   Javier: It was ok for FPDF but now is too gross with TCPDF. TCPDF defaults to 0'57 pt (0'2 mm) which is ok.
    $pdf->cMargin = 0;
    // Javier: needs check.
    /* END Brought from class.pdf.php constructor */
开发者ID:BackupTheBerlios,项目名称:kwamoja,代码行数:31,代码来源:InventoryPlanning.php

示例9: Cpdf

if (!isset($_POST['ToTransNo']) or trim($_POST['ToTransNo']) == '' or filter_number_format($_POST['ToTransNo']) < $FromTransNo) {
    $_POST['ToTransNo'] = $FromTransNo;
}
$FirstTrans = $FromTransNo;
/* Need to start a new page only on subsequent transactions */
if (isset($PrintPDF) or isset($_GET['PrintPDF']) and $PrintPDF and isset($FromTransNo) and isset($InvOrCredit) and $FromTransNo != '') {
    include 'includes/class.pdf.php';
    /* This invoice is hard coded for A4 Landscape invoices or credit notes so can't use PDFStarter.inc */
    $Page_Width = 842;
    $Page_Height = 595;
    $Top_Margin = 30;
    $Bottom_Margin = 30;
    $Left_Margin = 40;
    $Right_Margin = 30;
    $pdf = new Cpdf('L', 'pt', 'A4');
    $pdf->addInfo('Creator', 'KwaMoja http://www.kwamoja.com');
    $pdf->addInfo('Author', 'KwaMoja ' . $_SESSION['VersionNumber']);
    if ($InvOrCredit == 'Invoice') {
        $pdf->addInfo('Title', _('Sales Invoice') . ' ' . $FromTransNo . ' to ' . $_POST['ToTransNo']);
        $pdf->addInfo('Subject', _('Invoices from') . ' ' . $FromTransNo . ' ' . _('to') . ' ' . $_POST['ToTransNo']);
    } else {
        $pdf->addInfo('Title', _('Sales Credit Note'));
        $pdf->addInfo('Subject', _('Credit Notes from') . ' ' . $FromTransNo . ' ' . _('to') . ' ' . $_POST['ToTransNo']);
    }
    $pdf->setAutoPageBreak(0);
    $pdf->setPrintHeader(false);
    $pdf->setPrintFooter(false);
    $pdf->AddPage();
    $pdf->cMargin = 0;
    /* END Brought from class.pdf.php constructor */
    $FirstPage = true;
开发者ID:rrsc,项目名称:KwaMoja,代码行数:31,代码来源:PrintCustTrans.php

示例10: Cpdf

 	packing slip 2 part stationery is recommended so storeman can note differences on and
 	a copy retained */
 //Javier
 //	$Page_Width=807;
 $Page_Width = 792;
 $Page_Height = 612;
 $Top_Margin = 34;
 $Bottom_Margin = 20;
 $Left_Margin = 15;
 $Right_Margin = 10;
 // Javier: now I use the native constructor
 // Javier: better to not use references
 //	$PageSize = array(0,0,$Page_Width,$Page_Height);
 //	$pdf = & new Cpdf($PageSize);
 $pdf = new Cpdf('L', 'pt', 'LETTER');
 $pdf->addInfo('Creator', 'webERP http://www.web-erp.org');
 $pdf->addInfo('Author', 'webERP ' . $Version);
 $pdf->addInfo('Title', _('Customer Packing Slip'));
 $pdf->addInfo('Subject', _('Packing slip for order') . ' ' . $_GET['TransNo']);
 /* Javier: I have brought this piece from the pdf class constructor to get it closer to the admin/user,
 	I corrected it to match TCPDF, but it still needs check, after which,
 	I think it should be moved to each report to provide flexible Document Header and Margins in a per-report basis. */
 $pdf->setAutoPageBreak(0);
 // Javier: needs check.
 $pdf->setPrintHeader(false);
 // Javier: I added this must be called before Add Page
 $pdf->AddPage();
 //	$this->SetLineWidth(1); 	   Javier: It was ok for FPDF but now is too gross with TCPDF. TCPDF defaults to 0'57 pt (0'2 mm) which is ok.
 $pdf->cMargin = 0;
 // Javier: needs check.
 /* END Brought from class.pdf.php constructor */
开发者ID:sunilburli,项目名称:webERP-Medical,代码行数:31,代码来源:PrintCustOrder.php

示例11: Cpdf

        $DocumentPaper = 'LEGAL';
        $DocumentOrientation = 'L';
        $Page_Width = 1008;
        $Page_Height = 612;
        $Top_Margin = 50;
        $Bottom_Margin = 40;
        $Left_Margin = 30;
        $Right_Margin = 25;
        break;
    default:
        $DocumentOrientation = 'L';
        break;
}
// Javier: I correct the call to the constructor to match TCPDF (and FPDF ;-)
//	$PageSize = array(0,0,$Page_Width,$Page_Height);
//	$pdf = new Cpdf($PageSize);
$pdf = new Cpdf($DocumentOrientation, 'pt', $DocumentPaper);
$pdf->addInfo('Creator', 'KwaMoja http://www.kwamoja.org');
$pdf->addInfo('Author', 'KwaMoja ' . $Version);
/* Javier: I have brought this piece from the pdf class constructor to get it closer to the admin/user,
	I corrected it to match TCPDF, but it still needs check, after which,
	I think it should be moved to each report to provide flexible Document Header and Margins in a per-report basis. */
$pdf->SetAutoPageBreak(true, 0);
// Javier: needs check.
$pdf->SetPrintHeader(false);
// Javier: I added this must be called before Add Page
$pdf->AddPage();
//	$this->SetLineWidth(1); 	   Javier: It was ok for FPDF but now is too gross with TCPDF. TCPDF defaults to 0'57 pt (0'2 mm) which is ok.
$pdf->cMargin = 0;
// Javier: needs check.
/* END Brought from class.pdf.php constructor */
开发者ID:BackupTheBerlios,项目名称:kwamoja,代码行数:31,代码来源:PDFStarter.php

示例12: Cpdf

        $Page_Height = 612;
        // 72 * 8.5 inch
        $Top_Margin = 50;
        // Half inch = 72/2
        $Bottom_Margin = 40;
        // Half inch = 72/2
        $Left_Margin = 30;
        // Half inch = 72/2
        $Right_Margin = 25;
        // Half inch = 72/2
        break;
    default:
        $DocumentOrientation = 'L';
        break;
}
// Javier: I correct the call to the constructor to match TCPDF (and FPDF ;-)
//	$PageSize = array(0,0,$Page_Width,$Page_Height);
//	$pdf = new Cpdf($PageSize);
$pdf = new Cpdf($DocumentOrientation, 'pt', $DocumentPaper);
$pdf->addInfo('Creator', 'KwaMoja http://www.kwamoja.com');
$pdf->addInfo('Author', 'KwaMoja ' . $_SESSION['VersionNumber']);
/* Javier: I have brought this piece from the pdf class constructor to get it closer to the admin/user,
I corrected it to match TCPDF, but it still needs check, after which,
I think it should be moved to each report to provide flexible Document Header and Margins in a per-report basis. */
$pdf->SetPrintHeader(false);
// Javier: I added this must be called before Add Page
$pdf->setAutoPageBreak(0);
$pdf->setPrintFooter(false);
$pdf->AddPage();
$pdf->cMargin = 0;
/* END Brought from class.pdf.php constructor */
开发者ID:rrsc,项目名称:KwaMoja,代码行数:31,代码来源:PDFStarter.php

示例13: Cpdf

}
/* A4_Portrait */
$Page_Width = 595;
$Page_Height = 842;
$Top_Margin = 30;
$Bottom_Margin = 30;
$Left_Margin = 40;
$Right_Margin = 30;
// Javier: now I use the native constructor
// Javier: better to not use references
// $PageSize = array(0,0,$Page_Width,$Page_Height);
// $pdf = & new Cpdf($PageSize);
$pdf = new Cpdf('P', 'pt', 'A4');
// $PageNumber = 0;
/* Standard PDF file creation header stuff */
$pdf->addInfo('Creator', 'KwaMoja http://www.kwamoja.com');
$pdf->addInfo('Author', 'KwaMoja ' . $_SESSION['VersionNumber']);
// $FontSize=10;
$pdf->addInfo('Title', _('Inventory Valuation Report'));
$pdf->addInfo('Subject', _('Inventory Valuation'));
/* Javier: I have brought this piece from the pdf class constructor to get it closer to the admin/user,
I corrected it to match TCPDF, but it still needs check, after which,
I think it should be moved to each report to provide flexible Document Header and Margins in a per-report basis. */
$pdf->setAutoPageBreak(0);
// Javier: needs check.
$pdf->setPrintHeader(false);
// Javier: I added this must be called before Add Page
$pdf->AddPage();
//	$this->SetLineWidth(1); 	   Javier: It was ok for FPDF but now is too gross with TCPDF. TCPDF defaults to 0'57 pt (0'2 mm) which is ok.
$pdf->cMargin = 0;
// Javier: needs check.
开发者ID:rrsc,项目名称:KwaMoja,代码行数:31,代码来源:MailInventoryValuation.php

示例14: Cpdf

        $Right_Margin = 25;
        break;
    case 'legal_landscape':
        $DocumentPaper = 'LEGAL';
        $DocumentOrientation = 'L';
        $Page_Width = 1008;
        $Page_Height = 612;
        $Top_Margin = 50;
        $Bottom_Margin = 40;
        $Left_Margin = 30;
        $Right_Margin = 25;
        break;
}
// Javier: I correct the call to the constructor to match TCPDF (and FPDF ;-)
//	$PageSize = array(0,0,$Page_Width,$Page_Height);
//	$pdf = new Cpdf($PageSize);
$pdf = new Cpdf($DocumentOrientation, 'pt', $DocumentPaper);
$pdf->addInfo('Creator', 'WebERP http://www.weberp.org');
$pdf->addInfo('Author', 'WebERP ' . $Version);
/* Javier: I have brought this piece from the pdf class constructor to get it closer to the admin/user,
	I corrected it to match TCPDF, but it still needs check, after which,
	I think it should be moved to each report to provide flexible Document Header and Margins in a per-report basis. */
$pdf->SetAutoPageBreak(true, 0);
// Javier: needs check.
$pdf->SetPrintHeader(false);
// Javier: I added this must be called before Add Page
$pdf->AddPage();
//	$this->SetLineWidth(1); 	   Javier: It was ok for FPDF but now is too gross with TCPDF. TCPDF defaults to 0'57 pt (0'2 mm) which is ok.
$pdf->cMargin = 0;
// Javier: needs check.
/* END Brought from class.pdf.php constructor */
开发者ID:ellymakuba,项目名称:AIRADS,代码行数:31,代码来源:PDFStarter.php

示例15:

 /**
  * Add meta information to the PDF
  *
  * @param string $label  label of the value (Creator, Producer, etc.)
  * @param string $value  the text to set
  */
 function add_info($label, $value)
 {
     $this->_pdf->addInfo($label, $value);
 }
开发者ID:skyosev,项目名称:OpenCart-Overclocked,代码行数:10,代码来源:cpdf_adapter.cls.php


注:本文中的Cpdf::addInfo方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。