Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Event Hooks Documentation

I find the documentation of vanilla to be kind of lacking in this department.

I really like how DokuWiki documents their event hooks:

Look at the section "Plugins handling this event":

This makes it very easy for new developers, as working example code is available for every hook.

I think the latter one would be archievable here by downloading the entire addons repo and doing a grep on it, for example.
Some would habe to be filtered out though, like Base_Render_Before or _Create.

Any idea how one could go on about this?


  • Options
    R_JR_J Ex-Fanboy Munich Admin

    You can do a search for "FireEvent" in the source (and also for EventArguments)

  • Options
    LincLinc Detroit Admin

    A good point. I'm still prioritizing our general framework docs over doing event-by-event docs, but I'll at least create a stub / starting point for it.

  • Options

    That is one point in code methods tend to be formally documented and this can be used to generate doc, but maybe the same applies to the fire event locations.

    grep is your friend.

Sign In or Register to comment.