1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Extending the XenForo_Controller

Discussion in 'XenForo Development Discussions' started by tenants, Sep 17, 2012.

  1. tenants

    tenants Well-Known Member

    Should I ever want to extend the XenForo_Controller, what code event listener should I use?

    It's clearly not the load_class_controller

    I would like to override _validateField or _getFieldValidationInputParams
  2. Chris D

    Chris D XenForo Developer Staff Member

    Am I reading threads in the wrong order?

    Those classes are normally in the DataWriter so you would use load_class_datawriter

    But I think you made a post after this so I think you know this already... :unsure:
  3. tenants

    tenants Well-Known Member

    yeah, it would be easier if I could override this (I can't see how you can though),

    but I can do what I need to do in the datawriter ...

    Yes, I started looking at the datawriters once I gave up trying to extend XenForo_Controller ;)

Share This Page