torqit/pimcore-object-deleter-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

torqit/pimcore-object-deleter-bundle

最新稳定版本:v2.0.1

Composer 安装命令:

composer require torqit/pimcore-object-deleter-bundle

包简介

README 文档

README

Delete objects in bulk by class name and root directory

Installing the package via composer

This bundle is easily installed via composer: composer require torqit/pimcore-object-deleter-bundle

Steps to setting up the object deleter:

  1. Make sure you register the ObjectDeleterBundle in your AppKernel.php located at \src\pimcore-root\app\AppKernel.php. Registering the bundle is as easy as adding a line in the registerBundlesToCollection function, like so: $collection->addBundle(new \TorqIT\ObjectDeleterBundle\ObjectDeleterBundle);
  2. Install the bundle, which will add the necessary procedure to your database. Run: bin/console pimcore:bundle:install ObjectDeleterBundle.
  3. Run the bundle, with the command: ./bin/console torq:object-deleter CLASSNAME_TO_DELETE:REQUIRED FOLDER_TO_DELETE_FROM:OPTIONAL.

CLASSNAME_TO_DELETE:REQUIRED => This is the class you are wishing to delete FOLDER_TO_DELETE_FROM:OPTIONAL => This is the directory in the pimcore admin you would like to delete from. Default is root (/)

An example of this command would be: ./bin/console torq:object-deleter Product /MyProducts

Migration changes or new version

If the migration changes you will have to run an uninstall / reinstall the bundle so the procedure in the database update. Uninstall => bin/console pimcore:bundle:uninstall ObjectDeleterBundle Reinstall => bin/console pimcore:bundle:install ObjectDeleterBundle

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2020-11-18