This class is meant to dynamically extend any object of a class with new plug-in functions or collections of functions that are defined in separate files or from variables.
It works by dynamically creating a new sub-class of the class of given object adding the plug-in functions that are specified at runtime.
The name of the loaded plugin functions are stored in the object to prevent loading the same plugin more than once, but you still can force a reload so a new plugin can replace an old one. |