If you don't want to instantiate your model and run it's constructor/deconstructor you can do this:
$isPremium = false;
// check that the class exists
// create a reflection class to examine the class
$reflection = new...
Last week Kier posted a video entitled What variables do I have to work with in the templates? showing how you can use PHP debugging tools to find out the values that are being sent to templates.
This inspired me to write this simple addon to automate the whole process for you.
I was really meaning from a reader's point of view. XenForo, Zend and many other frameworks that follow the class -> file convention also follow a naming standard. The class name is in the form:
This is useful because I can then learn things about the structure of the...
I'd also suggest renaming LimitSig_ControllerPublic_Listener to something else, such as LimitSig_Listener, or even better LimitSig_AddOn as it's not a ControllerPublic and naming it as such infers a relationship/requirement/convention that doesn't exist.
The LimitSig_AddOn class...
I'm skilled in understanding such things and I do not concur.
The code for XenForo and vBulletin are from two completely different planets. Any suggestion that any of the code in XenForo originated in vBulletin would be laughable if it were not so sad.
I'm hoping for sales tomorrow, I have a...