Welcome Guest, Not a member yet? Register   Sign In
using a variable to represent a class? Can anyone help
#2

[eluser]WanWizard[/eluser]
How about
Code:
$class = $this->router->class;
$this->$class->property = 'xyz';


Messages In This Thread
using a variable to represent a class? Can anyone help - by El Forum - 08-15-2010, 03:01 PM
using a variable to represent a class? Can anyone help - by El Forum - 08-15-2010, 03:40 PM
using a variable to represent a class? Can anyone help - by El Forum - 08-16-2010, 12:09 AM
using a variable to represent a class? Can anyone help - by El Forum - 08-16-2010, 05:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB