11 Jun
2007
11 Jun
'07
4:13 a.m.
I ran into this issue in the context of "which file do we need to include so that this function becomes available". The file was module-dependent. The function then did not exist yet, so module_implements() and function_exists() won't work.
many keep saying that, but there is an easy fix. just use module_invoke('og', 'vocab') if thats what is meant. then module_invoke can do the needed includes. module invoke makes explicit the module that owns the function.