We have done a lot of development using the Events API, and I now see that the Moodle Docs for this has it flagged as "obsolete" (http://docs.moodle.org/en/Development:Events).
Can we count on this remaining in core?
mike
Done: Development:Events
Ah-ha, this is the same as Drupal's hooks system. I was hoping something like this would appear.
Is there any spec for the way it will be expanded in future? I'm thinking that it would be great to have it as part of the forms API so that fields could be added and removed by modules e.g. adding a new admin setting or user profile field. It would make core hacking a lot cleaner.
Is there any spec for the way it will be expanded in future? I'm thinking that it would be great to have it as part of the forms API so that fields could be added and removed by modules e.g. adding a new admin setting or user profile field. It would make core hacking a lot cleaner.
It seems all events are fired AFTER (post) the action was complleted (course created,...)
Is there a way to create some kind of pre-event-hook.. some stuff that will be done before the action starts?
Some weeks ago i was looking for something like that... no success. Solved the problem another way... .. .anyway.
S.
Is there a way to create some kind of pre-event-hook.. some stuff that will be done before the action starts?
Some weeks ago i was looking for something like that... no success. Solved the problem another way... .. .anyway.
S.