[development] Module naming conventions (was Re: Naming the CVS abstraction module)
Moshe Weitzman
weitzman at tejasa.com
Mon Jun 11 02:13:04 UTC 2007
> 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.
More information about the development
mailing list