Feature Wiki
Tabs
DataCollection: Adding Plugin-Slot for Field-Types & Event-Hooks
1 Requirements
For more flexibility there should be a new Plugin-Slot for DataCollection-Field-Types (DataCollectionFieldType). This would allow nicly integrated, customer specific Field-Types over a Plugin. With this new modularity, the DataCollection could be used in many more scenarios.
To further impove extensibility there should be events dispatched, when a record is saved, updated or deleted.
2 Additional Information
- Idea / concept: sr.solutions
- Interest in funding: PHBern
- Maintainer: sr.solutions
- Implementation of the feature is done by sr.solutions
- Testcases by: sr.solutions
3 Discussion
JourFixe, ILIAS [jourfixe], Dec 21, 2015: Highly appreciated and schedule for 5.2.
4 Implementation
The new Plugin-Slot allows you to create custom columns for your DataCollections. The developer-doc is available here:
http://www.ilias.de/docu/goto_docu_pg_68695_42.html
Installed and activated Field-Hook-Plugins can be used when a new DataCollection column is created:
On DataCollections there are now three new events which are dispached:
- createRecord
- updateRecord
- deleteRecord
Test Cases
, 02.08.2016: No test cases have been written for this feature, since it requires an installed Plugin.
Approval
Approved in July/August 2016 by PHBern.
Last edited: 15. Dec 2021, 09:09, Schmid, Fabian [fschmid]