\utilsExcel

Summary

Methods
Properties
Constants
export()
import()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

export()

export(array  $dataItems = array(), array  $columnNames = array(), string  $title = '', boolean  $hasRowNum = false) 

Parameters

array $dataItems
array $columnNames
string $title
boolean $hasRowNum

是否显示行号

Throws

import()

import(\think\File  $file = null) 

Parameters

\think\File $file