You are here: Re: $classname::a_static_func() won't work!! « All PHP « IT news, forums, messages
Re: $classname::a_static_func() won't work!!

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация