Use the built-in function get_class_methods() which returns an array of method names. It'll take a class or object as the first argument.
PHP: List methods/functions in a class or object

Posted by
twig
at
9:06 AM
Friday, July 2, 2010
Mainly notes to future-Twig (and for anyone else who may find them useful)
If you've found one or more of my blog posts helpful, why not say thanks by buying me a coffee or beer?
Use the built-in function get_class_methods() which returns an array of method names. It'll take a class or object as the first argument.