Functions

NameLocationDescription
install_display_db_form./install.phpDisplays the form to let a user set up a new database
install_display_lang_selection./install.php
install_display_requirements./install.phpDisplays the requirements on screen for the user.
install_get_settings_file_template./install.phpReturns a template for a new settings file.
install_perform_install./install.phpActually performs the installation of FlightPath
invoke_hookincludes/misc.incInvoke all module hooks for the supplied hook.
lincludes/misc.incThis works like Drupal's l() function for creating links. Ex: l("Click here for course search!", "tools/course-search", "abc=xyz&hello=goodbye", array("class" => "my-class")); Do not…
menu_check_user_accessincludes/menu.incLooks at the router item's details (from menu_get_item) and returns TRUE or FALSE if the user can access this item.
menu_convert_replacement_patternincludes/menu.incLook for modules implementing hook_menu_handle_replacement_pattern, and apply to str.
menu_execute_page_requestincludes/menu.inc
menu_get_itemincludes/menu.incFigure out which menu_router path matches the supplied path and return it.
menu_get_items_beginning_withincludes/menu.incReturn menu_items whose path begins with the menu_root. Ex: "tools" would return tools/fun and tools/here/there
menu_get_items_in_tab_familyincludes/menu.inc
menu_get_menu_router_item_from_dbincludes/menu.incReturn array from menu_router for this item. *
menu_get_module_pathincludes/menu.inc
menu_rebuild_cacheincludes/menu.incGo through all installed modules and rebuild the menu_router table, based on each module's hook_menu function.
modules_implement_hookincludes/misc.incReturn an array of enabled modules which implement the provided hook. Do not include the preceeding "_" on the hook name!
pretty_printincludes/theme.inc
stincludes/misc.incProvides translation functionality when database is not available.
stats_display_mainmodules/stats/stats.moduleMain menu screen for this module.
stats_draw_date_range_formmodules/stats/stats.moduleDisplays the HTML for the date range form used by several reports. $path is what is the form's ACTION sending to.
stats_draw_majors_with_options_pulldownmodules/stats/stats.moduleDisplay a major selection pulldown, used by other reports.
stats_draw_student_cwid_formmodules/stats/stats.moduleDraws a simple form for entering a student's CWID, used by other reports.
stats_get_log_countmodules/stats/stats.moduleUsed by the use_summary report. This function will simply return log counts for the specified parameters in the watchdog table.
stats_menumodules/stats/stats.moduleImplementation of hook_menu
stats_permmodules/stats/stats.moduleImplementation of hook_perm(). Expects to return an array of permissions recognized by this module.
stats_report_access_statsmodules/stats/stats.moduleThis report shows recent activity in FlightPath. It can also be used to see if anyone is "online" in that they would have activity less than 5 minutes old.
stats_report_advisor_usemodules/stats/stats.moduleThis report shows which advisors are using FlightPath most often.
stats_report_flightpath_use_summarymodules/stats/stats.moduleThis report shows common usages in FlightPath by all users.
stats_report_major_countsmodules/stats/stats.moduleThis report shows how many students are in each major.
stats_report_selected_degree_optionsmodules/stats/stats.moduleThis report will show which degree options are being selected for degrees which offer options.
stats_report_student_course_listmodules/stats/stats.moduleThis report shows a list of all of a student's courses which FlightPath is aware of.
student_search_display_majors_searchmodules/student_search/student_search.moduleDisplay the majors search sub-tab, where we can select a major and see the students assigned to it.
student_search_display_my_adviseesmodules/student_search/student_search.moduleDisplays this user's advisees, if there are any assigned.
student_search_display_my_majorsmodules/student_search/student_search.moduleDisplays students belonging to the current user's major code.
student_search_display_searchmodules/student_search/student_search.module
student_search_get_advanced_search_tipsmodules/student_search/student_search.moduleSimply returns the HTML to display the "advanced search tips" collapsible fieldset and instructions.
student_search_menumodules/student_search/student_search.module
student_search_permmodules/student_search/student_search.moduleImplementation of hook_perm
student_search_query_adviseesmodules/student_search/student_search.module
student_search_render_adviseesmodules/student_search/student_search.module
student_search_render_small_searchmodules/student_search/student_search.moduleThis is meant to be called directly from the theme template, to draw the small search box in the corner of the screen.
student_search_settings_formmodules/student_search/student_search.moduleThis is a system_settings form for configuring our module.
student_search_subtab_switchboardmodules/student_search/student_search.moduleThe primary purpose of this function is to decide which "sub tab" function to send the user off to. This is based on whatever their previous selection was.
system_blocksmodules/system/system.module
system_block_regionsmodules/system/system.moduleHook block regions.
system_build_elementmodules/system/system.moduleConstruct an HTML element and return it.
system_clear_cachemodules/system/system.moduleImplements hook_clear_cache Take care of clearing caches managed by this module
system_confirm_db_updates_formmodules/system/system.moduleDisplay a confirmation form before we run the db updates (hook_updates)
system_confirm_db_updates_form_submitmodules/system/system.modulePerform the actual hook_update calls here, send the user to a completed page.

Pages