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


PHP Cezpdf::__construct方法代码示例

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


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

示例1:

 function __construct($params)
 {
     if (is_array($params)) {
         parent::__construct($params['paper'], $params['orientation'], $params['type'], $params['option']);
     } else {
         parent::__construct();
     }
 }
开发者ID:athoil-maula,项目名称:pantau_sampah,代码行数:8,代码来源:Pdf.php

示例2: __construct

 public function __construct($p, $o)
 {
     parent::__construct($p, $o, 'none', array());
     $this->isUnicode = true;
     $this->allowedTags .= '|uline';
     // always embed the font for the time being
     //$this->embedFont = false;
 }
开发者ID:rospdf,项目名称:pdf-php,代码行数:8,代码来源:unicode.php

示例3: array

 /**
  Constructor. This class is only used to encapsulate a table.
 */
 function __construct($paper = 'a4', $orientation = 'portrait')
 {
     parent::__construct($paper, $orientation);
     $this->TOC = array();
     $this->KeywordArray = array();
     $this->PageCounter = array();
     $this->initFrameMargins();
     $this->ez['textStack'] = array();
     $this->PreStack = array();
     $this->DocSpecification = array();
     $this->pushStack();
     $this->FrontpageID = null;
 }
开发者ID:patrickallaert,项目名称:ezpublish-legacy-php7,代码行数:16,代码来源:class.ezpdftable.php

示例4: __construct

 public function __construct($pagesize, $orientation, $title)
 {
     global $layout;
     $diff = array(177 => 'aogonek', 161 => 'Aogonek', 230 => 'cacute', 198 => 'Cacute', 234 => 'eogonek', 202 => 'Eogonek', 241 => 'nacute', 209 => 'Nacute', 179 => 'lslash', 163 => 'Lslash', 182 => 'sacute', 166 => 'Sacute', 188 => 'zacute', 172 => 'Zacute', 191 => 'zdot', 175 => 'Zdot', 185 => 'scaron', 169 => 'Scaron', 232 => 'ccaron', 200 => 'Ccaron', 236 => 'edot', 204 => 'Edot', 231 => 'iogonek', 199 => 'Iogonek', 249 => 'uogonek', 217 => 'Uogonek', 254 => 'umacron', 222 => 'Umacron', 190 => 'zcaron', 174 => 'Zcaron');
     parent::__construct($pagesize, $orientation);
     //landscape/portrait
     $this->isUnicode = true;
     $this->addInfo('Producer', 'LMS Developers');
     $this->addInfo('Title', $title);
     $this->addInfo('Creator', 'LMS ' . $layout['lmsv']);
     $this->setPreferences('FitWindow', '1');
     $this->ezSetMargins(PDF_MARGIN_TOP, PDF_MARGIN_BOTTOM, PDF_MARGIN_LEFT, PDF_MARGIN_RIGHT);
     $this->setLineStyle(0.5);
     $this->setFontFamily('arial', array('b' => 'arialbd'));
     $this->selectFont('arial', array('encoding' => 'WinAnsiEncoding', 'differences' => $diff), 1, true);
 }
开发者ID:Akheon23,项目名称:lms,代码行数:16,代码来源:LMSEzpdfBackend.php

示例5: __construct

 public function __construct($p, $o)
 {
     parent::__construct($p, $o, 'none', array());
 }
开发者ID:rospdf,项目名称:pdf-php,代码行数:4,代码来源:test.php

示例6: __construct

 public function __construct($p, $o, $t, $op)
 {
     parent::__construct($p, $o, $t, $op);
 }
开发者ID:rospdf,项目名称:pdf-php,代码行数:4,代码来源:readme.php

示例7: CezTableImage

 /**
  * @param Cezpdf $ezpdf current cezpdf object
  */
 function CezTableImage($p, $o = 'portrait', $t = 'none', $op = array())
 {
     parent::__construct($p, $o, $t, $op);
     $this->allowedTags .= '|showimage:.*?';
 }
开发者ID:sysdevbol,项目名称:entidad,代码行数:8,代码来源:CezTableImage.php

示例8: CezDummy

 /**
  * @param Cezpdf $ezpdf current cezpdf object
  */
 function CezDummy($p, $o = 'portrait', $t = 'none', $op = array())
 {
     parent::__construct($p, $o, $t, $op);
 }
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:7,代码来源:CezDummy.php

示例9: Creport

function Creport($p,$o,$t,$op){
  parent::__construct($p,$o,$t,$op);
}
开发者ID:hermeto,项目名称:framework,代码行数:3,代码来源:readme.php

示例10: CezDummy

 /**
  * @param Cezpdf $ezpdf current cezpdf object
  */
 function CezDummy($p, $o = 'portrait', $t = 'none', $op = array())
 {
     parent::__construct($p, $o, $t, $op);
     $this->allowedTags .= '|dummy:[0-9]+';
 }
开发者ID:HaakonME,项目名称:porticoestate,代码行数:8,代码来源:CezDummy.php

示例11: __construct

 public function __construct($p, $o)
 {
     parent::__construct($p, $o);
 }
开发者ID:rospdf,项目名称:pdf-php,代码行数:4,代码来源:imageObjectHash.php

示例12: __construct

 public function __construct($p, $o)
 {
     parent::__construct($p, $o, 'color', array(0.8, 0.8, 0.8));
 }
开发者ID:rospdf,项目名称:pdf-php,代码行数:4,代码来源:image.php

示例13: Creport

 function Creport($p, $o)
 {
     parent::__construct($p, $o);
 }
开发者ID:rospdf,项目名称:pdf-php,代码行数:4,代码来源:barcode.php

示例14: __construct

 /**
  * PdfClass constructor.
  */
 public function __construct($orientation = 'portrait', $title = '')
 {
     if (strtolower($orientation) !== 'landscape') {
         $orientation = 'portrait';
     }
     parent::__construct('a4', $orientation);
     /**
      * sets default info
      */
     $this->addInfo('Author', PORTAL_NAME);
     $this->addInfo('Creator', 'ADA platform v' . ADA_VERSION);
     $this->addInfo('Producer', 'Lynx Srl');
     $this->addInfo('CreationDate', date('YmdHis'));
     /**
      * sets defaults margins
      */
     $this->ezSetMargins($this->_topMargin, $this->_bottomMargin, $this->_leftMargin, $this->_rightMargin);
     /**
      * sets the title if it's been passed
      */
     if (isset($title) && $title != '') {
         $this->setTitle($title);
     }
     /**
      * sets 'Helvetica' as default font
      */
     $this->setFont(DEFAULT_DOC_FONT, DEFAULT_DOC_FONTSIZE);
 }
开发者ID:eguicciardi,项目名称:ada,代码行数:31,代码来源:PdfClass.inc.php


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