[RSS Feed/News] Obtaining Thread ID in Custom Class?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I'm trying to figure out how I can obtain the thread ID from a custom class. This is something that is likely fairly easy, but I'm still very new to Xenforo and am learning. I searched around Google and the forums here and haven't been able to find anything useful. I see a lot of how to reference it in templates, but I need the ID in the class.

I have this in my templates
<xf:callback class="\CTM\Misc\MyTags" method="getTags"></xf:callback>

And here's my class
Code:

Code:
<?php
namespace...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom