略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Vtiful\Kernel\Excel

2024-11-14

The Vtiful\Kernel\Excel class

(PECL xlswriter >= 1.2.1)

简介

Create xlsx files and set cells and output xlsx files

类摘要

class Vtiful\Kernel\Excel {
/* 方法 */
public __construct(array $config)
public addSheet(string $sheetName)
public autoFilter(string $scope)
public constMemory(string $fileName, string $sheetName = ?)
public data(array $data)
public fileName(string $fileName, string $sheetName = ?)
public getHandle()
public header(array $headerData)
public insertFormula(int $row, int $column, string $formula)
public insertImage(int $row, int $column, string $localImagePath)
public insertText(
    int $row,
    int $column,
    stringintdouble $data,
    string $format = ?
)
public mergeCells(string $scope, string $data)
public output()
public setColumn(string $range, float $width, resource $format = ?)
public setRow(string $range, float $height, resource $format = ?)
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.vtiful-kernel-excel.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3