ilbronza / filecabinet
:package_description
dev-master
2025-08-21 21:29 UTC
This package is auto-updated.
Last update: 2025-08-21 21:29:58 UTC
README
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.