Properties

$applyFlush

$applyFlush : 

ReportGenerator

Type

$headers

$headers : 

Type

$columns

$columns : 

Type

$query

$query : 

Type

$limit

$limit : 

Type

$groupByArr

$groupByArr : 

Type

$paper

$paper : 

Type

$orientation

$orientation : 

Type

$editColumns

$editColumns : 

Type

$showNumColumn

$showNumColumn : 

Type

$showTotalColumns

$showTotalColumns : 

Type

$styles

$styles : 

Type

$simpleVersion

$simpleVersion : 

Type

$withoutManipulation

$withoutManipulation : 

Type

$showMeta

$showMeta : 

Type

$showHeader

$showHeader : 

Type

$collection

$collection : 

Custom

Type

$view

$view : 

Type

$userOS

$userOS : 

Type

$format

$format : 

ReportMedia\ExcelReport

Type

$total

$total : 

Type

Methods

__construct()

__construct(  $fromDate,   $toDate) 

Parameters

$fromDate
$toDate

beforeExport()

beforeExport() 

Event gets raised at the start of the process.

beforeWriting()

beforeWriting() 

Event gets raised before the download/store starts.

beforeSheet()

beforeSheet() 

Event gets raised just after the sheet is created.

afterSheet()

afterSheet() 

Event gets raised at the end of the sheet process.

download()

download(String  $filename) : \App\Reports\[type]

Export spreadsheet via loadView()

Parameters

String $filename

Name of file without extension

Returns

\App\Reports\[type] —

[description]

view()

view() : \Illuminate\Contracts\View\View

Render regular view of spreadsheet

Returns

\Illuminate\Contracts\View\View —

HTML used to populate spreadsheet via loadView()

store()

store(\App\Reports\[type]  $path = null) : \App\Reports\[type]

Store on server By default the file will be stored inside the storage/exports folder, which has been defined in the export.php config file.

Parameters

\App\Reports\[type] $path

[description]

Returns

\App\Reports\[type] —

[description]