I want to create class which will dynamically generate getXXX and setXXX function of all the variable in which this class get extended.
can we use "user call func array" or "user call func"
any example or idea how to do this?
class B extends A
{
var $name;
var $email;
var ....
}
I want some type of coding in class A which will generate get and set method for all the variable in class B in which it is extended.
And also I want to create other methods other than get and set which will use variable name of the extended class
something like this getbyname() or similar function which will use variable of extended class