function fp_get_module_path

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

50 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_edit_degree in modules/admin/admin.degrees.inc
This screen displays the form which allows the user to actually edit a degree.
admin_display_groups in modules/admin/admin.groups.inc
This function will display a list of all our groups.

... See full list

File

includes/misc.inc, line 759
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_base_path) {
    $p = $GLOBALS ["fp_system_settings"]["base_path"] . "/" . $p;
  }

  return $p;
}