com\setasign\Konquadrat\Object\Custom\Traits

XlsExportTpl Trait XlsExportTpl

File: /Konquadrat/src/Object/Custom/traits/XlsExportTpl.php

Used in

Summary

Properties

$smarty


Static Methods

getGuiFormConfig()

public static XlsExportTpl::getGuiFormConfig (): string
Parameters
$languageManager : \com\setasign\Konquadrat\LanguageManager
 

Methods

customRenderer()

protected XlsExportTpl::customRenderer (
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $worksheet,
\PhpOffice\PhpSpreadsheet\Cell\Cell $cell,
$value,
$columnConfig
): void
Parameters
$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
 
$cell : \PhpOffice\PhpSpreadsheet\Cell\Cell
 
$value
 
$columnConfig
 
Exceptions

Throws \PhpOffice\PhpSpreadsheet\Exception

Throws \Exception

fillCell()

protected XlsExportTpl::fillCell (
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $worksheet,
\PhpOffice\PhpSpreadsheet\Cell\Cell $cell,
$dataRow,
$column,
$gridConfig,
$gridId
): void
Parameters
$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
 
$cell : \PhpOffice\PhpSpreadsheet\Cell\Cell
 
$dataRow
 
$column
 
$gridConfig
 
$gridId
 
Exceptions

Throws \PhpOffice\PhpSpreadsheet\Exception

Throws \Exception

fillHeadings()

protected XlsExportTpl::fillHeadings (
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $worksheet,
array $columns,
array $gridConfig
): void
Parameters
$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
 
$columns : array
 
$gridConfig : array
 
Exceptions

Throws \PhpOffice\PhpSpreadsheet\Exception

initAndWakeupXlsExportTpl()

public XlsExportTpl::initAndWakeupXlsExportTpl (
\Smarty\Smarty $smarty
): void
Parameters
$smarty : \Smarty\Smarty
 

parseTime()

protected XlsExportTpl::parseTime (
$value
): float|int
Parameters
$value
 
Exceptions

Throws \Exception

processExport()

protected XlsExportTpl::processExport (
void
): void
Exceptions

Throws \com\setasign\Konquadrat\Exception

Throws \PhpOffice\PhpSpreadsheet\Exception

Throws \PhpOffice\PhpSpreadsheet\Reader\Exception

Throws \PhpOffice\PhpSpreadsheet\Writer\Exception

Throws \com\setasign\Konquadrat\Object\UnknownObjectException

setParams()

public XlsExportTpl::setParams (
$params
): void
Parameters
$params
 
Exceptions

Throws \com\setasign\Konquadrat\Exception

Throws \com\setasign\Konquadrat\Object\UnknownObjectException

Throws \JsonException

Throws \com\setasign\SetaFramework\Permissions\PermissionException