Hello,
I’ve been toying with the idea of having a custom plugin for my PHP framework. The most notable changes would be to have certain variables set pre-defined when opening a file inside a certain folder. It’s a simple principle but don’t know where to start although I have a basic plugin created and am comfortable building the plugin using IDEA.
To start with, can someone point me in the right direction?
Thanks
p.s. if you can build the plugin for me I would be open to offers
Hello,
Which variables do you have in mind? Environment variables?
Essentially yes. So in a file named Action.php $this→(‘nameOfVar’, true) would make $nameOfVar true in Template.php. Also, this would need be reflected in the Junie implementation which currently complains of unset var.
Just to say, my experience on the Junie implementation conforming to changes I make, it is very savvy. I auto-connect to a local dev server on opening my Terminal, and Junie conforms by setting vars to let me know when it’s being used so can ignore this behaviour. Very cool.
I guess what I am trying to emulate is the ability to set $abc based on Action.php in Template.php. Any starting point would be greatly appreciated. Thank you.