Zend framework modules and Reflection

santanu18

New Member
i'm a bit confused about modules, namespace and reflection.\[code\]$obj = new default_Model_foo();$obj->bar();\[/code\]The code above runs properly, but i need to add reflection;I've got these variables:\[code\]$moduleName = "default";$modelName = "foo";$function = "bar";\[/code\]I would like to instantiate a class at runtime, how can do it?Thank you!Mirco.
 
Back
Top