Documentation

XlsxExport
in package

Table of Contents

Properties

$spreadsheet  : Spreadsheet

Methods

__construct()  : mixed
XlsxExport constructor.
createWorkSheetByEntities()  : Worksheet
downloadFile()  : void
saveFile()  : void

Properties

Methods

__construct()

XlsxExport constructor.

public __construct(Spreadsheet $spreadsheet) : mixed
Parameters
$spreadsheet : Spreadsheet

createWorkSheetByEntities()

public createWorkSheetByEntities(array<string|int, IExportEntity$exportEntities, string $sheetName) : Worksheet
Parameters
$exportEntities : array<string|int, IExportEntity>
$sheetName : string
Tags
throws
Exception
Return values
Worksheet

downloadFile()

public downloadFile(string $fileName) : void
Parameters
$fileName : string
Tags
throws
Exception

saveFile()

public saveFile(string $fileName) : void
Parameters
$fileName : string
Tags
throws
Exception

        
On this page

Search results