1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[SchmitzIT] xF Code Events Dictionary

Discussion in 'Tips and Guides [Archive]' started by SchmitzIT, Feb 10, 2011.

  1. SchmitzIT

    SchmitzIT Well-Known Member

    Once you get past the regular AdminCP Options and Style Properties, you might feel inclined to start doing some custom development against XenForo. One of the most useful ways of doing this is by having your code listen to events that are fired by the XenForo classes.

    To enable you to do this, XenForo exposes a number of events, to which you can listen by means of Code Event Listeners. In order to provide you with a quick oversight of the available Code Events, see the attached document. It is currently up to date for XenForo RC2, and will be (attempted to be) kept up-to-date with future releases.

    I added some minor notes on the MVC definition of "Model", "View", and "Controller", but perhaps Mike or Kier will be kind enough to add a few additional comments on some of the other classes that expose events, and their intended use.

    Attached Files:

    Fuhrmann likes this.
  2. ragtek

    ragtek Guest

    Maybe i'm wrong, but AFAIK the models doesn notify anything in xf;)
  3. SchmitzIT

    SchmitzIT Well-Known Member

    I borrowed the description from the Wikipage on the MVC. I figured that's a tad more eloquent and accurate at describing it than I am. I'll have the next update reflect your comment :)
    Fuhrmann and Shelley like this.

Share This Page