XF 2.2 Get User on Custom Field Validator

stavrosst

Member
Hello,
I have created a thread custom field. I have extended the AbstractValidator class ( \XF\Validator\AbstractValidator ) to validate the input of the user.
Part of the validation requires the user id of the creator of the thread.

Is there a way to get the user info of the creator of the thread (id or email) from within my Validator class?
Thanks.
 
Back
Top Bottom