[RSS Feed/News] \XF::options() as CONST?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I guess that i need to param options->values to my templates, right?
And i need them in a lot of templates.
So it would be nice to have a const fot the class.

But it seems this is not possible?

class ...
public const XSADB = \XF::eek:ptions()->xsa_db_key;
finctions ...

How can i solve this, please?

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