Thomas Angst wrote:
Hello List,
I would like to create an object inside a function with its classname
and a parameter list submitted by the function call.
function create($class, $parameter) {
$obj = new $class($parameter);
return $obj;
}
This is working very well. But I have not every
Hello List,
I would like to create an object inside a function with its classname
and a parameter list submitted by the function call.
function create($class, $parameter) {
$obj = new $class($parameter);
return $obj;
}
This is working very well. But I have not every time the same count
2 matches
Mail list logo