method_exists

(PHP 4 >= 4.0b2)

method_exists -- Checks if the class method exists

Description

bool method_exists (object object, string method_name)

This function returns true if the method given by method_name has been defined for the given object, false otherwise.