Code Generation: JPClassCreator
Jon Pulice (contact me)
This class can be used to generate class files from definitions of variables and functions specified dynamically at run time.
The class provides means to add variables and functions to a class.
The definition of variables takes the variable name, default value and a description comment. The definition of functions takes the function name, arguments list, the function code and the description comment.
The generated class code can be returned as a text string and optionally stored in a given file.
Click here for detailed information about this class on phpclasses.org