Functions

Primary tabs

Contains filters are case sensitive
Namesort ascending Location Description
stats_draw_majors_with_options_pulldown modules/stats/stats.module Display a major selection pulldown, used by other reports.
stats_draw_date_range_form modules/stats/stats.module Displays the HTML for the date range form used by several reports. $path is what is the form's ACTION sending to.
stats_display_main modules/stats/stats.module Main menu screen for this module.
st includes/misc.inc Provides translation functionality when database is not available.
pretty_print includes/theme.inc
modules_implement_hook includes/misc.inc Return an array of enabled modules which implement the provided hook. Do not include the preceeding "_" on the hook name!
menu_rebuild_cache includes/menu.inc Go through all installed modules and rebuild the menu_router table, based on each module's hook_menu function.
menu_get_module_path includes/menu.inc
menu_get_menu_router_item_from_db includes/menu.inc Return array from menu_router for this item. *
menu_get_items_in_tab_family includes/menu.inc
menu_get_items_beginning_with includes/menu.inc Return menu_items whose path begins with the menu_root. Ex: "tools" would return tools/fun and tools/here/there
menu_get_item includes/menu.inc Figure out which menu_router path matches the supplied path and return it.
menu_execute_page_request includes/menu.inc
menu_convert_replacement_pattern includes/menu.inc Look for modules implementing hook_menu_handle_replacement_pattern, and apply to str.
menu_check_user_access includes/menu.inc Looks at the router item's details (from menu_get_item) and returns TRUE or FALSE if the user can access this item.
l includes/misc.inc This 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…
invoke_hook includes/misc.inc Invoke all module hooks for the supplied hook.
install_perform_install ./install.php Actually performs the installation of FlightPath
install_get_settings_file_template ./install.php Returns a template for a new settings file.
install_display_requirements ./install.php Displays the requirements on screen for the user.
install_display_lang_selection ./install.php
install_display_db_form ./install.php Displays the form to let a user set up a new database
install_check_requirements ./install.php Check for missing requirements of the system.
include_module_install includes/misc.inc Find and include the module's .install file, if it exists. Returns TRUE or FALSE if it was able to find & include the file.
include_module includes/misc.inc This will find and include the module in question, calling it's hook_init() function if it has one.
hook_validate includes/hook.api.php Validates form submissions from the Form API
hook_user_login includes/hook.api.php Perform actions when the user logs in successfully.
hook_update includes/hook.api.php Handle needed database updates when user updates a module.
hook_uninstall includes/hook.api.php This hook will be executed when a module is "uninstalled" in the system. Once a module is disabled, an "uninstall" link will appear.
hook_submit includes/hook.api.php Handle submissions from the Form API
hook_student_load includes/hook.api.php Allows modules to hook in after a new student object is created.
hook_status includes/hook.api.php Reports status information which each module is aware of, visible on admin/config/status.
hook_save_advising_session includes/hook.api.php This hook allows modules to perform extra functions just after an advising session is saved by the system.
hook_render_block modules/blocks/blocks.module Example of hook_render_block
hook_perm includes/hook.api.php This hook defines available permissions for a module. These perms are used with hook_menu() and the function user_has_permission()
hook_menu_handle_replacement_pattern includes/hook.api.php This hook is called by the menu system. It allows each module the change to replace string patterns in its menu items (defined in hook_menu).
hook_menu includes/hook.api.php Allows modules to specify valid URLs in FlightPath, and define what function to call when the user visits that URL.
hook_install includes/hook.api.php This hook will be executed the first time a module is enabled in the system.
hook_init includes/hook.api.php Allows each module to execute code when the module is first loaded.
hook_form_alter includes/hook.api.php Alter forms which are created using the Form API
hook_exit includes/hook.api.php Allows each module to execute code when the FlightPath page is completely finished.
hook_enable includes/hook.api.php This hook will be executed when a module is enabled in the system. It will be executed AFTER hook_install.
hook_disable includes/hook.api.php This hook will be executed when a module is disabled in the system.
hook_cron includes/hook.api.php This hook is called every time the system cron is run.
hook_content_register_content_type modules/content/content.module Sample hook other modules implement to register a content type.
hook_content_load modules/content/content.module Sample hook for hook_content_load
hook_clear_cache includes/hook.api.php Allows each module to perform actions when the cache is cleared.
hook_blocks modules/blocks/blocks.module Example of hook_blocks.
hook_advise_build_screen_elements modules/advise/advise.module This is a hook which developers may use to add custom blocks (or perform other operations) onto the advising View or What If screen.
get_term_structures includes/misc.inc Return an array version of the term_id_structure field from the admin settings

Pages