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


PHP CreateDocx::log方法代码示例

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


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

示例1: __construct

 /**
  * Construct
  *
  * @access public
  * @param string $extension File extension. Optional, docx as default
  */
 public function __construct($extension = 'docx')
 {
     $this->_idRels = array();
     $this->_idWords = array();
     Logger::configure(dirname(__FILE__) . '/conf/log4php.properties');
     self::$log = Logger::getLogger('phpdocx_error');
     $this->_idImgHeader = 1;
     $this->_idRels = 1;
     self::$intIdWord = 0;
     self::$_encodeUTF = 0;
     $this->_language = 'en-US';
     $this->graphicTemplate = array();
     $this->fileGraphicTemplate = array();
     $this->_zipDocx = new ZipArchive();
     $this->_tempFile = tempnam(sys_get_temp_dir(), 'document');
     $this->_zipDocx->open($this->_tempFile, ZipArchive::OVERWRITE);
     $this->_extension = $extension;
     $this->_relsRelsC = '';
     $this->_relsRelsT = '';
     $this->_contentTypeC = '';
     $this->_docPropsAppC = '';
     $this->_docPropsAppT = '';
     $this->_docPropsCoreC = '';
     $this->_docPropsCoreT = '';
     $this->_docPropsCustomC = '';
     $this->_docPropsCustomT = '';
     $this->_tempFileXLSX = array();
     $this->_wordDocumentT = '';
     $this->_wordDocumentC = '';
     $this->_wordEndnotesC = '';
     $this->_wordEndnotesT = '';
     $this->_wordFontTableT = '';
     $this->_wordFontTableC = '';
     $this->_wordFooterC = '';
     $this->_wordFooterT = '';
     $this->_wordFootnotesC = '';
     $this->_wordFootnotesT = '';
     $this->_wordHeaderC = '';
     $this->_wordHeaderT = '';
     $this->_wordNumberingC;
     $this->_wordNumberingT;
     $this->_wordRelsDocumentRelsC = '';
     $this->_wordRelsDocumentRelsT = '';
     $this->_wordRelsHeaderRelsC = '';
     $this->_wordRelsHeaderRelsT = '';
     $this->_wordRelsFooterRelsC = '';
     $this->_wordRelsFooterRelsT = '';
     $this->_xmlWordSettings = '';
     $this->_wordSettingsT = '';
     $this->_wordSettingsC = '';
     $this->_xmlWordStyles = '';
     $this->_wordStylesT = '';
     $this->_wordStylesC = '';
     $this->_wordThemeThemeT = '';
     $this->_wordThemeThemeC = '';
     $this->_macro = 0;
     $this->_xmlWordWebSettings = '';
     $this->generateContentType();
     $this->_defaultFont = '';
 }
开发者ID:aodkrisda,项目名称:PHP-Digital-Format-Convert-Epub-Mobi-PDF,代码行数:66,代码来源:CreateDocx.inc.php


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