function finder_inc in Finder 6
Same name and namespace in other branches
- 7.2 finder.module \finder_inc()
- 7 finder.module \finder_inc()
Load a module include file according to finder's naming convention.
Finder's naming convention suggests includes be put in a directory called 'includes' within the module's directory, and named like so: module-name.inc-string.inc
Parameters
$inc_string: If the file is finder.foo.inc then the $inc_string to specify is 'foo'.
$module: The name of the module.
2 calls to finder_inc()
- finder_i18nstrings_map_from_form in modules/
finder_i18nstrings/ finder_i18nstrings.module - Get a default map of which fields are translatable from the form.
- finder_view in ./
finder.module - Generate display of a given finder.
File
- ./
finder.module, line 1287 - The finder module.
Code
function finder_inc($inc_string, $module = 'finder') {
return module_load_include('inc', $module, 'includes/' . $module . '.' . $inc_string);
}