Functions
Search API
Primary tabs
| 
            Name | 
                  Location | Description | 
|---|---|---|
| stats_report_student_course_list | 
            modules/ | 
                  This report shows a list of all of a student's courses which FlightPath is aware of. | 
| stats_select_school_form | 
            modules/ | 
                  |
| stats_select_school_form_submit | 
            modules/ | 
                  |
| student_files_content_alter | 
            modules/ | 
                  Implememnt hook_content_alter | 
| student_files_get_files_for_student | 
            modules/ | 
                  Return an array of the files which belong to this student. | 
| student_files_handle_delete | 
            modules/ | 
                  |
| student_files_handle_download | 
            modules/ | 
                  This actually finds and downloads the file for the user, decrypting if necessary. | 
| student_files_handle_upload | 
            modules/ | 
                  Handles the upload of a file which we assume is located at $_FILES["student_file_upload_file"], or the provided $file array. | 
| student_files_install | 
            modules/ | 
                  Implementation of hook_install | 
| student_files_little_upload_form | 
            modules/ | 
                  |
| student_files_little_upload_form_submit | 
            modules/ | 
                  |
| student_files_menu | 
            modules/ | 
                  Implementation of hook_menu | 
| student_files_perm | 
            modules/ | 
                  Implements hook_perm | 
| student_files_settings_form | 
            modules/ | 
                  |
| student_files_settings_form_validate | 
            modules/ | 
                  We mainly want to make sure nothing got entered in an incorrect format here. | 
| student_files_update | 
            modules/ | 
                  |
| student_files_upload_any_student_files_form | 
            modules/ | 
                  This is where we can upload (en masse?) to any arbitrary student. | 
| student_files_upload_any_student_files_form_submit | 
            modules/ | 
                  We can assume at this point that eveything is peachy, so let's get to uploading! | 
| student_files_upload_any_student_files_form_validate | 
            modules/ | 
                  Validate function. | 
| student_files_user_may_delete_student_file | 
            modules/ | 
                  Returns TRUE or FALSE if the current user is allowed to delete the file. | 
| student_files_user_may_download_student_file | 
            modules/ | 
                  Returns TRUE or FALSE if the user has access to download this particular student's file. | 
| 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_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_priority_get_student_academic_priority_label | 
            modules/ | 
                  Returns 'normal', 'medium', or 'high' based on values. | 
| student_priority_menu | 
            modules/ | 
                  |
| student_profile_display_student_profile_page | 
            modules/ | 
                  |
| 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_menu | 
            modules/ | 
                  Implements hook_menu | 
| 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 | 
| 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_advisees | 
            modules/ | 
                  Displays this user's advisees, if there are any assigned. | 
| student_search_display_my_majors | 
            modules/ | 
                  Displays students belonging to the current user's major code. | 
| student_search_get_advanced_search_tips | 
            modules/ | 
                  Simply returns the HTML to display the "advanced search tips" collapsible fieldset and instructions. | 
| student_search_get_advisee_table_headers | 
            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_get_school_ids_user_is_allowed_to_search | 
            modules/ | 
                  |
| student_search_menu | 
            modules/ | 
                  |
| student_search_perm | 
            modules/ | 
                  Implementation of hook_perm | 
| 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_render_advisees | 
            modules/ | 
                  |
| 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_search_form | 
            modules/ | 
                  |
| student_search_search_form_submit | 
            modules/ | 
                  |
| student_search_settings_form | 
            modules/ | 
                  This is a system_settings form for configuring our module. | 
| 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_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. | 
| system_block_regions | 
            modules/ | 
                  Hook block regions. | 
| 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_check_clean_urls | 
            modules/ | 
                  This function will attempt to confirm that "clean URLs" is functioning, and allowed on this server. | 
