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 25
bool
isShowExporter()
是否显示导出按钮
at line 36
HasExport
disableExporter(bool $disable = true)
Disable export.
at line 46
string
renderExportButton()
Render export button.
at line 59
HasExport
exporter($exporter)
Set exporter driver for Grid to export.
at line 74
string
getExportUrl(int $scope = 1, null $args = null)
Get the export url.
at line 90
protected
handleExportRequest(bool $forceExport = false)
Handle export request.
at line 113
protected AbstractExporter
getExporter(string $scope)
No description