2024 日本 PHP 研討會

Vtiful\Kernel\Excel 類別

(PECL xlswriter >= 1.2.1)

簡介

建立 xlsx 檔案、設定儲存格並輸出 xlsx 檔案

類別概要

類別 Vtiful\Kernel\Excel {
/* 方法 */
公開 __construct(陣列 $config)
公開 addSheet(字串 $sheetName)
公開方法 autoFilter(字串 $scope)
公開方法 constMemory(字串 $fileName, 字串 $sheetName = ?)
公開方法 data(陣列 $data)
公開方法 fileName(字串 $fileName, 字串 $sheetName = ?)
公開方法 getHandle()
公開方法 header(陣列 $headerData)
公開方法 insertFormula(整數 $row, 整數 $column, 字串 $formula)
公開方法 insertImage(整數 $row, 整數 $column, 字串 $localImagePath)
公開方法 insertText(
    整數 $row,
    整數 $column,
    整數|浮點數|字串 $data,
    字串 $format = ?
)
公開方法 mergeCells(字串 $scope, 字串 $data)
公開方法 output()
公開方法 setColumn(字串 $range, 浮點數 $width, 資源 $format = ?)
公開 setRow(字串 $range, 浮點數 $height, 資源 $format = ?)
}

目錄

新增註釋

使用者貢獻的註釋

此頁面沒有使用者貢獻的註釋。
To Top