PHP: List methods/functions in a class or object

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.

 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog