You are here: how to use function_exists within a class « All PHP « IT news, forums, messages
how to use function_exists within a class

Posted by Jonas on 10/08/21 11:35

hio. i have the following problem:

class dummyclass
{
function foo()
{ return true; }
}

init class with
$dc = new dummyclass;

doing things like "function_exists('$dc->foo')" result unsuccessfully
I also tried to declare a function "fn_exists" inside the class and
checked the existence with '$this->foo', but unfortunately same result
occurred.

does anybody know what to do?

 

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

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