Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: [2.05] PluginEvents and ModelEvents

[2.05] PluginEvents and ModelEvents 1 Jahr 3 Monate her #98666

  • kfegert
  • kfegerts 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.
Letzte Änderung: 1 Jahr 3 Monate her von kfegert.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

[2.05] PluginEvents and ModelEvents 1 Jahr 3 Monate her #98773

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6561
  • Dank erhalten: 872
  • Karma: 257
kfegert schrieb:
Now I am wondering if this is by Design or just work in progress.
WIP.

Patch / github pull request accepted :)
Der Administrator hat öffentliche Schreibrechte deaktiviert.

[2.05] PluginEvents and ModelEvents 1 Jahr 3 Monate her #99052

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

its my first one so i feel quite excited :woohoo:
Der Administrator hat öffentliche Schreibrechte deaktiviert.

[2.05] PluginEvents and ModelEvents 1 Jahr 3 Monate her #99082

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5426
  • Dank erhalten: 307
  • Karma: 252
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)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.128 Sekunden
Donation Image