Backend\Behaviors\ImportExportController\ActionExport
Overview
ActionExport contains logic for exports
Public Properties
public Model $exportModel
public array $exportColumns
exportColumns configuration.
Protected Properties
protected string $exportFileName
exportFileName used for export output.
protected Backend\Classes\WidgetBase $exportFormatFormWidget
exportFormatFormWidget reference to the widget used for standard export options.
protected Backend\Classes\WidgetBase $exportOptionsFormWidget
exportOptionsFormWidget reference to the widget used for custom export options.
Public Methods
public exportGetModel()
public exportGetModel(): void
public exportRender()
public exportRender(): void
public prepareExportVars()
public prepareExportVars(): void
prepareExportVars for the view data.
Protected Methods
protected actionExport()
protected actionExport(): void
actionExport handles the export action logic
protected getExportColumns()
protected getExportColumns(): void
protected makeExportFileName()
protected makeExportFileName($mode = 'json'): void
protected makeExportFormatFormWidget()
protected makeExportFormatFormWidget(): void
protected makeExportOptionsFormWidget()
protected makeExportOptionsFormWidget(): void
protected processExportColumnsFromPost()
protected processExportColumnsFromPost(): void