Posted by Andy Hassall on 08/29/05 14:51
On 29 Aug 2005 04:17:38 -0700, "http://www.douglassdavis.com"
<doug@douglassdavis.com> wrote:
>A better question is, does any one know how to call a static function
>on a class that you only have the name of in a variable?
>
>Since this $classname::astaticfunc() doesn't work.
http://uk2.php.net/call_user_func
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|