CakeFest 2024: The Official CakePHP Conference

Vtiful\Kernel\Excel::fileName

(PECL xlswriter >= 1.2.1)

Vtiful\Kernel\Excel::fileNameVtiful\Kernel\Excel fileName

Descripción

public Vtiful\Kernel\Excel::fileName(string $fileName, string $sheetName = ?)

Crear un nuevo archivo xlsx y crea una hoja de trabajo.

Parámetros

fileName

Nombre del archivo XLSX

sheetName

Nombre de la hoja de trabajo

Valores devueltos

instancia Vtiful\Kernel\Excel

Ejemplos

Ejemplo #1 ejemplo

<?php
$config
= [
'path' => '/home/viest'
];

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

$file = $instance->fileName('tutorial.xlsx', 'sheet');
?>
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top