Functions
Search API
Primary tabs
Name |
Location![]() |
Description |
---|---|---|
system_get_available_themes |
modules/ |
Returns back an array (suitable for FAPI) of the available themes in the system. |
system_get_user_whitelist |
modules/ |
Returns the "whitelist" or "allow list" (from system settings) as an array. If empty, it will return FALSE |
system_settings_form |
modules/ |
This is the "system settings" form. |
system_settings_form_submit |
modules/ |
Extra submit handler for the system_settings_form |
system_cron |
modules/ |
Implementation of hook_cron |
system_handle_form_submit |
modules/ |
Intercepts form submissions from forms built with the form API. |
system_handle_logout |
modules/ |
|
system_perform_clear_cache |
modules/ |
This function will clear our various caches by calling on the hook_clear_cache in each module. |
system_perform_run_cron |
modules/ |
Called from menu, will run hook_cron() for all modules. |
system_display_status_page |
modules/ |
This page displayes the results of each module's hook_status. |
system_status |
modules/ |
Implementation of hook_status Expected return is array( "severity" => "normal" or "warning" or "alert", "status" => "A message to display to the user.", ); |
system_clear_cache |
modules/ |
Implements hook_clear_cache Take care of clearing caches managed by this module |
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_perform_clear_menu_cache |
modules/ |
Clears only the menu cache |
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_login_form |
modules/ |
This draws the form which facilitates logins. |
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_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_display_dashboard_page |
modules/ |
This is the "dashboard" page for FlightPath, which replaces the "main" page from FP 5. |
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. |
system_init |
modules/ |
Called on every page load. |
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_handle_uninstall_module |
modules/ |
Called from the menu (ie, a URL) this function will uninstall a module. |
system_enable_module |
modules/ |
Handles the enabling (and possible installation) of module. |
system_disable_module |
modules/ |
Handles the disabling of the module in question. |
system_finished_db_updates_finished |
modules/ |
|
system_perform_db_updates_perform_batch_operation |
modules/ |
Performs db updates ONE module at a time. |
system_mfa_login_form |
modules/ |
|
system_mfa_login_form_validate |
modules/ |
|
system_mfa_login_form_submit |
modules/ |
|
system_perform_user_login |
modules/ |
Actually performs the logging in of a user with user_id. |
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_check_course_inventory_should_be_reloaded |
modules/ |
Should the course inventory get reloaded from file? If so, return TRUE. |
system_perm |
modules/ |
Implementation of hook_perm(). Expects to return an array of permissions recognized by this module. |
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_roles_for_user |
modules/ |
Return an array containing the roles which have been assigned to a specific user. |
system_check_clean_urls |
modules/ |
This function will attempt to confirm that "clean URLs" is functioning, and allowed on this server. |
system_block_regions |
modules/ |
Hook block regions. |
system_menu |
modules/ |
|
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_can_access_student |
modules/ |
Used by the menu to determine if the user can access some basic information about the student (like Profile page, etc) |
system_display_disable_login_page |
modules/ |
|
system_execute_php_form |
modules/ |
|
system_execute_php_form_submit |
modules/ |
|
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. |
tinymce_install |
modules/ |
Implementation of hook_install |
tinymce_init |
modules/ |