ilbronza/filecabinet 问题修复 & 功能扩展

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

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

ilbronza/filecabinet

Composer 安装命令:

composer require ilbronza/filecabinet

包简介

:package_description

README 文档

README

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require ilbronza/filecabinet

Usage

Form options

automatically_creatable: 
    if true, the form will be automatically created when the dossier is created in bulk from category
automatic_creation_checker_method: 
    if set, the form will check the target if the form is automatically creatable. 
    Ex. if you populate this parameter with 'isBornInEu' and you try to attach automatically this form to an Operator, 
    the operatro will call 'isBornInEu' method to check if the form is automatically creatable

Datatable Fields

        //link to dossiers by form. If the datatable row is a form, omit the form parameter
		'mySelfDossiers' => [
			'type' => 'filecabinet::dossiers.dossiersByForm',
			//ONLY IF row value is not a Form
			'form' => Form::getProjectClassName()::findCachedField('name', 'Patente')
		],

        //filecabinets list with populate/show link
        'rootFilecabinets' => 'filecabinet::filecabinets.filecabinetsStatus',

        //create a button to add filecabinets based on defined category
        'mySelfAddTest' => [
            'type' => 'filecabinet::attachForm.attachFormByCategory',
            'category' => Category::getProjectClassName()::findCachedField('name', 'Collaudo')
        ],

        //create a button to add filecabinets based on root filecabinets categories
        'mySelfAddTests' => 'filecabinet::attachForm.attachFormByRoots',

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-13