Logidav Docs

LogScanAsirService
in package

Class LogScanAsirService `

Table of Contents

Properties

$container  : ContainerInterface
$entityManager  : EntityManagerInterface
$header  : mixed

Methods

__construct()  : mixed
export()  : StreamedResponse
Exporting sales
exportXls()  : mixed
Exporting as Xls
getRepo()  : LogScanAsirRepository
log()  : LogScanAsir
save()  : mixed
Save LogScanAsir
exportCsv()  : mixed
Exporting as csv
exportPDF()  : mixed
Exporting as csv

Properties

$header

private mixed $header = ['action' => 'Action', 'code' => 'code', 'user' => "Nom d'utilisateur", 'createdAt' => 'date']

Methods

__construct()

public __construct(ContainerInterface $container, EntityManagerInterface $entityManager) : mixed
Parameters
$container : ContainerInterface
$entityManager : EntityManagerInterface

export()

Exporting sales

public export(mixed $title, mixed $data, mixed $columns, mixed $format[, array<string|int, mixed> $customHeader = [] ]) : StreamedResponse
Parameters
$title : mixed
$data : mixed
$columns : mixed
$format : mixed
$customHeader : array<string|int, mixed> = []
Return values
StreamedResponse

exportXls()

Exporting as Xls

public exportXls(mixed $data, mixed $columns, mixed $title[, bool $toFile = false ]) : mixed
Parameters
$data : mixed
$columns : mixed
$title : mixed
$toFile : bool = false

exportCsv()

Exporting as csv

private exportCsv(mixed $data, mixed $columns, mixed $title) : mixed
Parameters
$data : mixed
$columns : mixed
$title : mixed

exportPDF()

Exporting as csv

private exportPDF(mixed $data, mixed $columns, mixed $title) : mixed
Parameters
$data : mixed
$columns : mixed
$title : mixed

        
On this page

Search results