Php/docs/vtiful-kernel-excel.construct

来自菜鸟教程
跳转至:导航、​搜索

Vtiful\Kernel\Excel::__construct

(PECL xlswriter >= 1.2.1)

Vtiful\Kernel\Excel::__constructVtiful\Kernel\Excel constructor


说明

public Vtiful\Kernel\Excel::__construct ( array $config )

Vtiful\Kernel\Excel constructor, create a class object.


参数

config
XLSX file export configuration


返回值

Vtiful\Kernel\Excel instance


范例

Example #1 example

<?php$config = [  'path' => '/home/viest'];$excelObject = new \Vtiful\Kernel\Excel($config);?>