I downloaded a set of tools that's written in PHP but I can't seem to grasp how they did things.
You include the one class and then:
class::load('plugin')
Without instantiating it or anything
then the next line is something like:
plugin::start()
Also without instantiating it first.
I'm trying to use namespaces on it so that I can use my Autoloader script to include it but it's an uphill battle, because if the autoloader loads it, it can't call as above anymore
http://codecri.me/sources/includes/class-xhttp-php/
You include the one class and then:
class::load('plugin')
Without instantiating it or anything
then the next line is something like:
plugin::start()
Also without instantiating it first.
I'm trying to use namespaces on it so that I can use my Autoloader script to include it but it's an uphill battle, because if the autoloader loads it, it can't call as above anymore
http://codecri.me/sources/includes/class-xhttp-php/