[2.05] PluginEvents and ModelEvents

  • kfegert
  • kfegert's Avatar Topic Author
  • Visitor
  • Visitor
3 years 7 months ago - 3 years 7 months ago #98666 by kfegert
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: 3 years 7 months ago by kfegert.

Please Log in to join the conversation.

More
3 years 7 months ago #98773 by DenisChenu

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).

Please Log in to join the conversation.

  • kfegert
  • kfegert's Avatar Topic Author
  • Visitor
  • Visitor
3 years 7 months ago #99052 by kfegert
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
3 years 7 months ago #99082 by Mazi
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.