定制 robingram/silverstripe-unused-file-report 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

robingram/silverstripe-unused-file-report

最新稳定版本:3.0.2

Composer 安装命令:

composer require robingram/silverstripe-unused-file-report

包简介

Generates a report on potentially unused files for CMS users

README 文档

README

This module adds an "Unused Files" report to the CMS. Because generating the list of potentially unused files could take a long time on even a reasonably small site the report does not work from live data. Instead, a task has been created that will populate a table in the DB with the list of files that may not be in use.

In addition, if the Queued Jobs module is installed a job will be created that will allow the task to be scheduled at a convenient time.

Versions

This version requires Silverstripe 5.

For Silverstripe 3 use the 1.x releases. For Silverstripe 4 use the 2.x releases.

Installation

composer require robingram/silverstripe-unused-file-report

Running the task

Through a browser

The report builder task will appear under /dev/tasks/ as "Build table for Unused File Reports". Click on the task title to initiate it.

From the command line

The task can be run from the command line using sake:

sake dev/tasks/UnusedFileReportBuildTask

Viewing the report

The report will appear under the Reports tab as "Unused Files Report". If the builder task has not been run the report will contain no data.

Running/scheduling the job

If the Queued Jobs module is installed then the report builder job will appear in the "Create job of type" drop-down list in the Jobs tab as UnusedFileReportJob.

Credits

Thanks to Christchurch City Council, New Zealand, for enabling the development of this module.

统计信息

  • 总下载量: 231
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2021-05-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固