Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Cml
Vendor
Excel
PHP 클래스 Cml\Vendor\Excel
파일 보기
프로젝트 열기: linhecheng/cmlphp
공개 메소드들
메소드
설명
config
(
string
$enCoding
,
boolean
$boolean
,
string
$title
,
string
$filename
) :
void
Excel基础配置
excelXls
(
array
$data
) :
void
生成Excel文件
setTitleRow
(
array
$titleArr
)
添加标题行
비공개 메소드들
메소드
설명
addRow
(
array
$data
) :
string
循环生成Excel行
메소드 상세
config()
공개
메소드
Excel基础配置
public
config
(
string
$enCoding
,
boolean
$boolean
,
string
$title
,
string
$filename
) :
void
$enCoding
string
编码
$boolean
boolean
转换类型
$title
string
表标题
$filename
string
Excel文件名
리턴
void
excelXls()
공개
메소드
生成Excel文件
public
excelXls
(
array
$data
) :
void
$data
array
리턴
void
setTitleRow()
공개
메소드
添加标题行
public
setTitleRow
(
array
$titleArr
)
$titleArr
array