Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: [2.05] PluginEvents and ModelEvents

[2.05] PluginEvents and ModelEvents 3 years 4 months ago #98666

  • kfegert
  • kfegert's Avatar
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 4 months ago by kfegert.
The administrator has disabled public write access.

[2.05] PluginEvents and ModelEvents 3 years 4 months ago #98773

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.

[2.05] PluginEvents and ModelEvents 3 years 3 months ago #99052

  • kfegert
  • kfegert's Avatar
As suggested i made a pull-request.

its my first one so i feel quite excited :woohoo:
The administrator has disabled public write access.

[2.05] PluginEvents and ModelEvents 3 years 3 months ago #99082

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
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'"
The administrator has disabled public write access.
Time to create page: 0.231 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form