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
$filesystem
private
Filesystem
$filesystem
$firstTableAttributes
private
array<string|int, mixed>
$firstTableAttributes
= []
private
Filesystem
$publicMediaFilesystem
$templatePath
private
string
$templatePath
$timezone
private
DateTimeZone|null
$timezone
= null
__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
—
getFile()
public
getFile() : TmpFile
Return values
TmpFile
—
public
getFormat() : string
Return values
string
—
getTemplate()
public
getTemplate(TmpFile $file) : AirlayTemplateProcessor
Parameters
-
$file
: TmpFile
-
Return values
AirlayTemplateProcessor
—
render()
public
render(Data $data) : AirlayTemplateProcessor
Parameters
-
$data
: Data
-
Return values
AirlayTemplateProcessor
—
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>
—
private
formatDataValues(int $timestamp, string $format) : string
Parameters
-
$timestamp
: int
-
-
$format
: string
-
Return values
string
—
private
formatTimeTemplates(AirlayTemplateProcessor $templateProcessor) : array<string|int, mixed>
Parameters
-
$templateProcessor
: AirlayTemplateProcessor
-
Return values
array<string|int, mixed>
—
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
—
setAdditionalImage()
private
setAdditionalImage(AirlayTemplateProcessor $templateProcessor, string $name, string $record) : void
Parameters
-
$templateProcessor
: AirlayTemplateProcessor
-
-
$name
: string
-
-
$record
: string
-
Return values
void
—
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
—