Welcome Guest, Not a member yet? Register   Sign In
[solved] How do I create a new instance of self in a function and make it refer to the child when called from the child?
#4

[eluser]Jelmer[/eluser]
Solved it:
Code:
$class = get_class($this);
$output[] = new $class($row);


Messages In This Thread
[solved] How do I create a new instance of self in a function and make it refer to the child when called from the child? - by El Forum - 08-29-2009, 03:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB