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

Extending the XenForo_Controller

tenants

Well-known member
#1
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
 

Chris D

XenForo developer
Staff member
#2
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:
 

tenants

Well-known member
#3
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 ;)