function fp_get_module_path
Search API
7.x misc.inc | fp_get_module_path($module, $bool_include_file_system_path = FALSE, $bool_include_base_path = TRUE) |
6.x misc.inc | fp_get_module_path($module, $bool_include_file_system_path = FALSE, $bool_include_base_path = TRUE) |
4.x misc.inc | fp_get_module_path($module, $bool_include_file_system_path = FALSE, $bool_include_base_path = TRUE) |
5.x misc.inc | fp_get_module_path($module, $bool_include_file_system_path = FALSE, $bool_include_base_path = TRUE) |
Return the filepath to the module
Parameters
unknown_type $module:
unknown_type $bool_include_file_system_path:
unknown_type $bool_include_base_path:
Return value
unknown
117 calls to fp_get_module_path()
- admin_display_courses in modules/
admin/ admin.courses.inc - This function displays all of our courses for us to edit.
- admin_display_degrees in modules/
admin/ admin.degrees.inc - admin_display_degrees_popup_add_group2 in modules/
admin/ admin.degrees.inc - admin_display_groups in modules/
admin/ admin.groups.inc - This function will display a list of all our groups.
- admin_display_groups_popup_edit_definition in modules/
admin/ admin.groups.inc
File
- includes/
misc.inc, line 1926 - This file contains misc functions for FlightPath
Code
function fp_get_module_path($module, $bool_include_file_system_path = FALSE, $bool_include_base_path = TRUE) {
$p = menu_get_module_path($module, $bool_include_file_system_path);
if ($bool_include_file_system_path == FALSE && $bool_include_base_path == TRUE) {
$p = base_path() . "/" . $p;
}
return $p;
}