Home  >  Article  >  Backend Development  >  PHPExcel 属性设置

PHPExcel 属性设置

WBOY
WBOYOriginal
2016-06-20 12:36:111412browse

import("Org.Util.PHPExcel");

$objPHPExcel= new \PHPExcel();

     //设置excel属性  //可以不写

$objPHPExcel->getProperties()->setCreator("JAMES")

->setLastModifiedBy("JAMES")

->setTitle("zltrans")

->setSubject("Dorder")

->setDescription("Dorder List")

->setkeywords("Dorder")

->setCategory("Test result file");


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn