HasExport
trait HasExport
Properties
protected string | $exporter | Export driver. |
Methods
bool
isShowExporter()
是否显示导出按钮
disableExporter(bool $disable = true)
Disable export.
string
renderExportButton()
Render export button.
string
getExportUrl(int $scope = 1, null $args = null)
Get the export url.
handleExportRequest(bool $forceExport = false)
Handle export request.
getExporter(string $scope)
No description
Details
at line 23
bool
isShowExporter()
是否显示导出按钮
at line 34
HasExport
disableExporter(bool $disable = true)
Disable export.
at line 44
string
renderExportButton()
Render export button.
at line 57
HasExport
exporter($exporter)
Set exporter driver for Grid to export.
at line 72
string
getExportUrl(int $scope = 1, null $args = null)
Get the export url.
at line 88
protected
handleExportRequest(bool $forceExport = false)
Handle export request.
at line 111
protected AbstractExporter
getExporter(string $scope)
No description