Functions
Search API
Primary tabs
Name![]() |
Location | Description |
---|---|---|
system_check_course_inventory_should_be_reloaded |
modules/ |
Should the course inventory get reloaded from file? If so, return TRUE. |
system_clear_cache |
modules/ |
Implements hook_clear_cache Take care of clearing caches managed by this module |
system_confirm_db_updates_form |
modules/ |
Display a confirmation form before we run the db updates (hook_updates) |
system_confirm_db_updates_form_submit |
modules/ |
Perform the actual hook_update calls here, send the user to a completed page. |
system_cron |
modules/ |
Implementation of hook_cron |
system_disable_module |
modules/ |
Handles the disabling of the module in question. |
system_display_completed_db_updates |
modules/ |
Once db updates are run, display contents of this page. |
system_display_dashboard_page |
modules/ |
This is the "dashboard" page for FlightPath, which replaces the "main" page from FP 5. |
system_display_disable_login_page |
modules/ |
|
system_display_install_finished_page |
modules/ |
This page is displayed to the user once FlightPath has been installed. |
system_display_login_help_page |
modules/ |
This page will be shown when the user clicks the "Need Help Logging In?" link on the login page. |
system_display_login_page |
modules/ |
Display the "login" page. This is the default page displayed to the user, at /login, if they have not logged in yet. |
system_display_status_page |
modules/ |
This page displayes the results of each module's hook_status. |
system_enable |
modules/ |
Implementation of hook_enable. |
system_enable_module |
modules/ |
Handles the enabling (and possible installation) of module. |
system_execute_php_form |
modules/ |
|
system_execute_php_form_submit |
modules/ |
|
system_finished_db_updates_finished |
modules/ |
|
system_flightpath_can_assign_course_to_degree_id |
modules/ |
Implements hook flightpath_can_assign_course_to_degree_id |
system_fp_get_student_majors |
modules/ |
Implements hook_fp_get_student_majors. |
system_get_available_themes |
modules/ |
Returns back an array (suitable for FAPI) of the available themes in the system. |
system_get_exclude_degree_ids_from_appears_in_counts |
modules/ |
Uses the "exclude_majors...." setting, but converts them into an array of degree_ids. |
system_get_roles_for_user |
modules/ |
Return an array containing the roles which have been assigned to a specific user. |
system_get_user_whitelist |
modules/ |
Returns the "whitelist" or "allow list" (from system settings) as an array. If empty, it will return FALSE |
system_handle_form_submit |
modules/ |
Intercepts form submissions from forms built with the form API. |
system_handle_logout |
modules/ |
|
system_handle_uninstall_module |
modules/ |
Called from the menu (ie, a URL) this function will uninstall a module. |
system_init |
modules/ |
Called on every page load. |
system_install |
modules/ |
Implementation of hook_install. |
system_login_form |
modules/ |
This draws the form which facilitates logins. |
system_login_form_submit |
modules/ |
Submit handler for login form. If we are here, it probably means we have indeed authenticated. Just in case, we will test the form_state["passed_authentication"] value, which we expect to have been set in our validate handler. |
system_login_form_validate |
modules/ |
Validate function for the login form. This is where we will do all of the lookups to verify username and password. If you want to write your own login handler (like for LDAP) this is the function you would duplicate in a custom module, then use… |
system_menu |
modules/ |
|
system_mfa_login_form |
modules/ |
|
system_mfa_login_form_submit |
modules/ |
|
system_mfa_login_form_validate |
modules/ |
|
system_modules_form |
modules/ |
This is the form which an admin may use to manage the modules in the system. |
system_modules_form_submit |
modules/ |
Submit handler for the modules form. |
system_perform_clear_cache |
modules/ |
This function will clear our various caches by calling on the hook_clear_cache in each module. |
system_perform_clear_menu_cache |
modules/ |
Clears only the menu cache |
system_perform_db_updates_perform_batch_operation |
modules/ |
Performs db updates ONE module at a time. |
system_perform_run_cron |
modules/ |
Called from menu, will run hook_cron() for all modules. |
system_perform_user_login |
modules/ |
Actually performs the logging in of a user with user_id. |
system_perm |
modules/ |
Implementation of hook_perm(). Expects to return an array of permissions recognized by this module. |
system_popup_report_contact_form |
modules/ |
This is the form which lets users send an email to the FlightPath production team, |
system_popup_report_contact_form_submit |
modules/ |
|
system_popup_report_contact_thank_you |
modules/ |
This is the thank you page you see after submitting the contact form. |
system_rebuild_css_js_query_string |
modules/ |
This function will recreate the dummy query string we add to the end of css and js files. |
system_reload_and_cache_course_inventory |
modules/ |
Formerly part of the FlightPath class, this function will read in or reload the course inventory into a file, which then goes into the SESSION to make it faster to access. |
system_render_advising_snapshop_for_iframe |
modules/ |
This is meant to be a widget which shows in the dashboard of the advising user, within an iframe, since it can take a while to load. |