I wonder if there is any method to obtain all available options for
theme() function in Drupal installation? (I mean those one that are declared through
HOOK_theme()). Or at least a resource where the most common uses are noted.
P.S. This is not trivial question for me, because almost every module introduces its own hooks for theming and if I don't know about them I can not leverage from theming opportunities. For example if I don't know about
theme('table', ....) or
theme('fieldset', ....) I have to write my own hooks that, e.g., another developer in his turn will not be heard of, etc.