[2.05] PluginEvents and ModelEvents

  • kfegert
  • kfegert's Avatar Topic Author
  • Visitor
  • Visitor
4 years 3 months ago - 4 years 3 months ago #98666 by kfegert
kfegert created the topic: [2.05] PluginEvents and ModelEvents
Hello everyone,

I am currently Testing the new Plugin feature which looks quite promising.

After a while of playing around with the Plugin-Events I discovered that only a subset of the Model-Events are handled by the PluginManager. Now I am wondering if this is by Design or just work in progress.

Specifically I´d like to know if the following things are planned/desired for the Final 2.05 release:
- Will all the Events of a Model be relayed to the PluginManager?
- Will all Models relay their Events to the PluginManager

Because currently only Models derived from LSActiveRecord will relay their events to the Plugin manager.
Last Edit: 4 years 3 months ago by kfegert.

Please Log in to join the conversation.

More
4 years 3 months ago #98773 by DenisChenu
DenisChenu replied the topic: [2.05] PluginEvents and ModelEvents

kfegert wrote: Now I am wondering if this is by Design or just work in progress.

WIP.

Patch / github pull request accepted :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

  • kfegert
  • kfegert's Avatar Topic Author
  • Visitor
  • Visitor
4 years 3 months ago #99052 by kfegert
kfegert replied the topic: [2.05] PluginEvents and ModelEvents
As suggested i made a pull-request .

its my first one so i feel quite excited :woohoo:

Please Log in to join the conversation.

More
4 years 3 months ago #99082 by Mazi
Mazi replied the topic: [2.05] PluginEvents and ModelEvents
Thanks for sharing your code!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!