Reply to Re: execute methods dynamically

Your name:

Reply:


Posted by Rainer Hahnekamp on 03/20/05 20:19

Sorry my fault. It's working of course.

Am Sun, 20 Mar 2005 18:47:20 +0100 schrieb Rainer Hahnekamp:
> Hello everybody,
>
> I want to write a method in version 4 that executes a method of an object.
> As parameter the classname and the methodname is passed:
>
> function executeMethod($classname, $methodname) {
> $object = new $classname();
> $object->$methodname();
> }
>
> This does not work. What am I doing wrong?
>
> Greetings,
> -Rainer Hahnekamp

[Back to original 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

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