I can edit a PHP Class template through 'Tools' > 'Template Manager', and then 'PHP Class' > 'Edit'. My project's framework supports autoloading using namespaces, so i want to automatically add a namespace to the top of the file whenever i create a new 'PHP Class'. How can i do that?
And as a side, how can i find out what variables are available to me in a template?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With