Posted by rain_c1 on 05/04/06 15:11
hi! is there a way to access a static member of a class, if the classname is a variable? this does not work: $classname::$member for methods there is a solution: call_user_func(array($classname, 'method')); for constants, too: constant($classname.'::CONSTANT'); is there any similar way for members? thanks, - rainer
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming