method_exists

(PHP 4 , PHP 5)

method_exists -- Zis»uje, či metóda triedy existuje

Popis

bool method_exists ( object object, string method_name)

Táto funkcia vracia TRUE ake metóda udaná ako method_name bola definovaná pre daný object, inak FALSE.