General developer forum

Events vs. function calls in Moodle Core development

 
 
Picture of Dan Marsden
Re: Events vs. function calls in Moodle Core development
Group Core developersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Plugin developersGroup Plugins guardiansGroup TestersGroup Translators

I'd say event triggers would be ideal - this way we can use those same events for other stuff - looks like the new logging api stuff will be using event style functions too - so I think it makes sense for generic hooks to go in place (using events) rather than specific badge hooks.

 
Average of ratings: -