2024 日本 PHP 研討會

Vtiful\Kernel\Excel::getHandle

(PECL xlswriter >= 1.2.1)

Vtiful\Kernel\Excel::getHandle取得 Vtiful\Kernel\Excel 的控制代碼

說明

public Vtiful\Kernel\Excel::getHandle()

取得 xlsx 文字資源的控制代碼。

參數

此函式沒有參數。

回傳值

資源

範例

範例 #1 範例

<?php
$config
= [
'path' => './tests'
];

$fileObject = new \Vtiful\Kernel\Excel($config);

$file = $fileObject->fileName('tutorial.xlsx', 'sheet_one')
->
header(['name', 'age']);

$handle = $file->getHandle();
?>
新增註釋

使用者貢獻的註釋

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