iliain/silverstripe-queuedexport
最新稳定版本:1.1.1
Composer 安装命令:
composer require iliain/silverstripe-queuedexport
包简介
Provides a GridField button to queue the export to a CSV, good for handling large datasets
README 文档
README
Provides a button that will queue the export to a csv file from a gridfield, which can then be found in the site Assets. Good for exporting large numbers of dataobjects without causing timeouts.
Installation (with composer)
composer require iliain/silverstripe-queuedexport
Usage
$config->addComponent(new GridFieldQueueExportButton('buttons-before-left')
The following config can be used to alter the behaviour of the export:
--- Name: myexportconfig --- Iliain\QueuedExport\Jobs\CSVExportJob: storage_directory: 'CSV Exports' # Set the parent folder location where CSV files will be exported to increase_memory_limit: true # Enable or disable the environment increasing the time and memory limits for the export process. Default: true
A number of extension hooks have been provided to allow further modification of the process if required.
统计信息
- 总下载量: 252
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2022-08-16