Docs Goabase

MsgExport
in package
uses TraitUser

Table of Contents

Properties

$input  : Input
$msgList  : MsgList

Methods

__construct()  : mixed
getUserInstance()  : User
handleExport()  : void
generateExportFileName()  : string
Generate the export file name based on parameters.
getExportName()  : string
Get the export name based on weeks and parameters.
handleLoopExport()  : string
Handle the loop export scenario.
handleSingleExport()  : string
Handle the single export scenario.

Properties

Methods

handleExport()

public handleExport(array<string|int, mixed> $getParas) : void
Parameters
$getParas : array<string|int, mixed>
Tags
throws
Exception
Attributes
#[NoReturn]

generateExportFileName()

Generate the export file name based on parameters.

private generateExportFileName(string $exportName) : string
Parameters
$exportName : string
Return values
string

getExportName()

Get the export name based on weeks and parameters.

private getExportName(int $numberOfWeeks, array<string|int, mixed> $getParas) : string
Parameters
$numberOfWeeks : int
$getParas : array<string|int, mixed>
Return values
string

handleLoopExport()

Handle the loop export scenario.

private handleLoopExport() : string
Tags
throws
Exception
Return values
string

handleSingleExport()

Handle the single export scenario.

private handleSingleExport(array<string|int, mixed> $getParas) : string
Parameters
$getParas : array<string|int, mixed>
Tags
throws
Exception
Return values
string

        
On this page

Search results