This class can load classes when a function is called.
It handles calls to non-existent functions by checking the name of the called function and loading a class with the same name including a script with derived name.
The name of the directory from where the class files are included is configurable.
If the called function includes an underscore character, the class also calls the class function with the name that follows the underscore character. Otherwise, the class calls the constructor function with the same name of the class. |