AirLay backend

DocxRender
in package
implements ReportRenderInterface

Interfaces, Classes, Traits and Enums

ReportRenderInterface

Table of Contents

$filesystem  : Filesystem
$firstTableAttributes  : array<string|int, mixed>
$publicMediaFilesystem  : Filesystem
$templatePath  : string
$timezone  : DateTimeZone|null
__construct()  : mixed
getFile()  : TmpFile
getFormat()  : string
getTemplate()  : AirlayTemplateProcessor
render()  : AirlayTemplateProcessor
convertToFlatData()  : array<string|int, mixed>
formatDataValues()  : string
formatTimeTemplates()  : array<string|int, mixed>
getArrays()  : array<string|int, mixed>
getNewPath()  : string
isImage()  : bool
setAdditionalImage()  : void
setData()  : void
setValues()  : void

Properties

$firstTableAttributes

private array<string|int, mixed> $firstTableAttributes = []

$publicMediaFilesystem

private Filesystem $publicMediaFilesystem

$timezone

private DateTimeZone|null $timezone = null

Methods

__construct()

public __construct(Filesystem $filesystem, string $templatePath, Filesystem $publicMediaFilesystem[, array<string|int, mixed> $firstTableAttributes = [] ][, DateTimeZone|null $timezone = null ]) : mixed
Parameters
$filesystem : Filesystem
$templatePath : string
$publicMediaFilesystem : Filesystem
$firstTableAttributes : array<string|int, mixed> = []
$timezone : DateTimeZone|null = null
Return values
mixed

getFormat()

public getFormat() : string
Return values
string

convertToFlatData()

private convertToFlatData(array<string|int, mixed> $attributes[, mixed &$flatAttributes = [] ][, string $path = '' ][, string $toEnd = '' ]) : array<string|int, mixed>
Parameters
$attributes : array<string|int, mixed>
$flatAttributes : mixed = []
$path : string = ''
$toEnd : string = ''
Return values
array<string|int, mixed>

formatDataValues()

private formatDataValues(int $timestamp, string $format) : string
Parameters
$timestamp : int
$format : string
Return values
string

getArrays()

private getArrays(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
Return values
array<string|int, mixed>

getNewPath()

private getNewPath(string $path, string|int $name) : string
Parameters
$path : string
$name : string|int
Return values
string

isImage()

private isImage(mixed $attribute) : bool
Parameters
$attribute : mixed
Return values
bool

setData()

private setData(AirlayTemplateProcessor $templateProcessor, array<string|int, mixed> $flatData, array<string|int, mixed> $convertedTimeFields) : void
Parameters
$templateProcessor : AirlayTemplateProcessor
$flatData : array<string|int, mixed>
$convertedTimeFields : array<string|int, mixed>
Return values
void

setValues()

private setValues(AirlayTemplateProcessor $templateProcessor, array<string|int, mixed> $convertedTimeFields, array<string|int, mixed> $object) : void
Parameters
$templateProcessor : AirlayTemplateProcessor
$convertedTimeFields : array<string|int, mixed>
$object : array<string|int, mixed>
Return values
void

Search results