fp_get_module_path

5.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)

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

66 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_group in modules/admin/admin.degrees.inc
admin_display_degrees_popup_add_group2 in modules/admin/admin.degrees.inc
admin_display_edit_degree in modules/admin/admin.degrees.inc
This screen displays the form which allows the user to actually edit a degree.

... See full list

File

includes/misc.inc, line 1174
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;
}