method_exists
Checks if the class method exists
&reftitle.description;
boolmethod_exists
objectstringobject_or_class
stringmethod
Checks if the class method exists in the given
object_or_class.
&reftitle.parameters;
object_or_class
An object instance or a class name
method
The method name
&reftitle.returnvalues;
Returns &true; if the method given by method
has been defined for the given object_or_class, &false;
otherwise.
&reftitle.examples;
method_exists example
]]>
&example.outputs;
Static method_exists example
]]>
&example.outputs;
&reftitle.notes;
¬e.uses-autoload;
&reftitle.seealso;
function_exists
is_callable
class_exists