Functions
Search API
Primary tabs
Name | Location | Description |
---|---|---|
student_files_little_upload_form |
modules/ |
|
student_files_little_upload_form_submit |
modules/ |
|
student_files_get_files_for_student |
modules/ |
Return an array of the files which belong to this student. |
hook_define_calculation_tests |
modules/ |
Lets us modify an array of calculation tests, either adding to it, or altering the existing ones. Notice that $arr is passed by reference. |
example_define_calculation_tests |
modules/ |
Implements hook_define_calculation_tests, "METHOD ONE" from above. Accept an array so we can alter. Then, we are just going to add to array (or modify). |
example__is_student_gpa_above_250 |
modules/ |
|
student_priority_menu |
modules/ |
|
student_priority_display_priority_calculations_page |
modules/ |
Displays the calculations used to get the priority values. Can be displayed in either the dialog or stand-alone. |
student_priority_get_student_academic_priority_label |
modules/ |
Returns 'normal', 'medium', or 'high' based on values. |
student_priority_get_academic_priority_value |
modules/ |
Queries for the academic priority value, and if its older than the set number of seconds, we will re-calculate for this student. Set to zero to force it to recalculate every time. |
student_priority_get_calculations_for_student |
modules/ |
Run all of the calculations for a student, and return back the results in a formatted array. |
student_profile_menu |
modules/ |
Implements hook_menu |
student_profile_get_grade_percentages_for_student |
modules/ |
Returns an array where we show the percentage of grades that the student has, compared to the whole. For example: 50% A's, 10% B's, and so on. |
student_profile_display_student_profile_page |
modules/ |
|
student_search_menu |
modules/ |
|
student_search_student_select_switchboard |
modules/ |
The user has selected a student (clicked on a row) from the Search or My Advisees screen. |
student_search_settings_form |
modules/ |
This is a system_settings form for configuring our module. |
student_search_subtab_switchboard |
modules/ |
The 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. |
student_search_render_small_search |
modules/ |
This is meant to be called directly from the theme template, to draw the small search box in the corner of the screen. |
student_search_display_my_advisees |
modules/ |
Displays this user's advisees, if there are any assigned. |
search_user_can_search_for_some_advisees |
modules/ |
Basically, can the user see the "Advisees" tab at all? The answer is TRUE if they have any of the permissions that let them do so. |
student_search_perm |
modules/ |
Implementation of hook_perm |
student_search_get_school_ids_user_is_allowed_to_search |
modules/ |
|
student_search_get_majors_for_fapi |
modules/ |
Returns an array of majors from the database, suitable for use with our Form API. |
student_search_display_majors_search |
modules/ |
Display the majors search sub-tab, where we can select a major and see the students assigned to it. |
student_search_display_my_majors |
modules/ |
Displays students belonging to the current user's major code. |
student_search_search_form |
modules/ |
|
student_search_search_form_submit |
modules/ |
|
student_search_get_advanced_search_tips |
modules/ |
Simply returns the HTML to display the "advanced search tips" collapsible fieldset and instructions. |
z__student_search_render_advisees |
modules/ |
|
student_search_get_advisee_table_headers |
modules/ |
|
student_search_render_advisees |
modules/ |
|
z______student_search_render_advisees |
modules/ |
|
student_search_query_advisees |
modules/ |
The limit is how many we will query, and also how many will appear on the page at one time. |
student_search_ajax_autocomplete_student |
modules/ |
Meant to return results of the ajax autocomplete field, for selecting a student by name or cwid. Code inspiration from: https://www.drupal.org/node/854216 |
system_enable |
modules/ |
Implementation of hook_enable. |
system_update |
modules/ |
|
system_install |
modules/ |
Implementation of hook_install. |
system_display_completed_db_updates |
modules/ |
Once db updates are run, display contents of this page. |
system_display_install_finished_page |
modules/ |
This page is displayed to the user once FlightPath has been installed. |
system_popup_report_contact_thank_you |
modules/ |
This is the thank you page you see after submitting the contact form. |
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_school_data_form |
modules/ |
This form is for the school-data, like subject code descriptions, colleges, etc. |
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_school_data_form_validate |
modules/ |
Validate handler for the school_data_form. |
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 |