S sajal Active member Jan 16, 2018 #1 Seems that following only works in controller. $threadId = $this->_input->filterSingle('thread_id', XenForo_Input::UINT); How to do the same in Helper file or some other file like model?
Seems that following only works in controller. $threadId = $this->_input->filterSingle('thread_id', XenForo_Input::UINT); How to do the same in Helper file or some other file like model?
Jeremy P XenForo developer Staff member Jan 16, 2018 #2 Just add it as an argument to your methods and pass it in instead. Last edited: Jan 16, 2018