138 calls to db_query()

admin_add_degree_form_submit in modules/admin/admin.degrees.inc
Submit handler for the add_degree_form.
admin_apply_draft_changes_form_submit in modules/admin/admin.module
Handles the actual moving of draft courses into production.
admin_copy_degree_form_submit in modules/admin/admin.degrees.inc
admin_copy_degree_form_validate in modules/admin/admin.degrees.inc
Validate handler. Make sure our allow_overwrite setting is working. Check for existing major code.
admin_display_courses in modules/admin/admin.courses.inc
This function displays all of our courses for us to edit.
admin_display_degrees in modules/admin/admin.degrees.inc
admin_display_degrees_popup_add_group in modules/admin/admin.degrees.inc
admin_display_degrees_popup_add_group2 in modules/admin/admin.degrees.inc
admin_display_groups in modules/admin/admin.groups.inc
This function will display a list of all our groups.
admin_display_groups_popup_show_group_use in modules/admin/admin.groups.inc
Displays a popup showing where a particular group is being used in FlightPath.
admin_display_main in modules/admin/admin.module
This is the "main" page for the admin module. It's what the user first sees when the click to go to the Admin page.
admin_display_watchdog in modules/admin/admin.module
Displays recent watchdog entries, from the watchdog table
admin_display_watchdog_entry in modules/admin/admin.module
Display the details of a particular watchdog entry, specified by its table id.
admin_duplicate_year_form_submit in modules/admin/admin.module
This function should perform the actual copy of data!
admin_edit_course_form_submit in modules/admin/admin.courses.inc
admin_edit_degree_form_submit in modules/admin/admin.degrees.inc
admin_edit_group_form_submit in modules/admin/admin.groups.inc
admin_edit_group_form_validate in modules/admin/admin.groups.inc
Validate handler for edit group form.
admin_get_course_array_from_definition_data in modules/admin/admin.groups.inc
admin_process_all_definitions_perform_batch_operation in modules/admin/admin.groups.inc
This actually is the batch operation for processing all of our group definitions.
advise_display_history in modules/advise/advise.history.inc
Displays the history tab on screen.
advise_get_advisees in modules/advise/advise.module
advise_popup_display_summary in modules/advise/advise.history.inc
Displays the printable advising summary.
advise_user_can_view_advising_session_access_callback in modules/advise/advise.module
This is an access callback. Can the user view the advising session specified in the REQUEST?
announcements_install in modules/announcements/announcements.install
Hook install. Called when the module is installed on the admin modules page.
announcements_render_announcements in modules/announcements/announcements.module
Return the HTML rendering the announcements we have in the database.
batch_ajax_callback in modules/batch/batch.module
This function is called by ajax, and will trigger each run of the batch operation function, then return appropriate results back to our javascript.
batch_cron in modules/batch/batch.module
Implementation of hook_cron
batch_get in modules/batch/batch.module
Return the batch_data array for this batch_id, or FALSE if it doesn't exist or can't be unserialized.
batch_install in modules/batch/batch.install
Implementation of hook_install.
batch_set in modules/batch/batch.module
Create a new batch process.
batch_start_batch_from_form_submit in modules/batch/batch.module
A batch process is being initiated from a form submission.
blocks_blocks in modules/blocks/blocks.module
Implementation of hook_blocks
blocks_manage_blocks_form in modules/blocks/blocks.module
This form lets the user manage the various blocks in the system.
blocks_manage_blocks_form_submit in modules/blocks/blocks.module
Submit handler for the manage blocks form.
blocks_render_blocks in modules/blocks/blocks.module
This function will actually render the HTML for the blocks requested for a particular section and region.
comments_comment_form_submit in modules/comments/comments.module
comments_get_comment in modules/comments/comments.module
comments_get_comments in modules/comments/comments.module
Returns an array of comments for this student, sorted most recent first.
comments_perform_delete_comment in modules/comments/comments.module
"delete" a comment (actually, all we do is flag it as deleted)
content_content_load in modules/content/content.module
Implementation of content's hook_content_load
content_display_content_admin_list in modules/content/content.module
Display a list of content for the administrator
content_edit_content_form_submit in modules/content/content.module
Submit handler for the edit content form.
content_handle_delete_content in modules/content/content.module
content_install in modules/content/content.install
Hook install. Called when the module is installed on the admin modules page.
content_render_content in modules/content/content.module
Return the HTML rendering the content we have in the database.
course_search_display_courses in modules/course_search/course_search.module
Show the user their select of courses.
course_search_display_edit_courses in modules/course_search/course_search.edit.inc
Display a plain list of courses, making it easier for admins to edit schedules and details in one spot.
course_search_display_search in modules/course_search/course_search.module
Displays the search pulldown for the user to use to find courses.
course_search_download_syllabus in modules/course_search/course_search.module
This function will actually deliver a syllabus to the user's browser for download.
course_search_edit_course_details_form in modules/course_search/course_search.edit.inc
This form lets the user edit the course's syllabus or rotation schedule
course_search_edit_course_details_form_submit in modules/course_search/course_search.edit.inc
course_search_get_course_rotation_schedule in modules/course_search/course_search.module
course_search_get_course_rotation_schedule_not_anticipated in modules/course_search/course_search.module
course_search_get_course_syllabus_details in modules/course_search/course_search.module
course_search_get_offering_csv in modules/course_search/course_search.edit.inc
course_search_install in modules/course_search/course_search.install
Implementation of hook_install
course_search_upload_attachment in modules/course_search/course_search.edit.inc
db_get_user_id in includes/db.inc
Look up the user_id based on the the user_name. Returns FALSE if it cannot find it.
db_get_user_id_from_cwid in includes/db.inc
db_set_user_setting in includes/db.inc
db_table_exists in includes/db.inc
Returns TRUE if the table specified exists or not.
fp_get_degree_advising_weight in includes/db.inc
fp_get_degree_major_code in includes/db.inc
Returns the major code for a given degree_id
fp_get_degree_title in includes/db.inc
Quick method to look up title for a degree.
fp_get_max_catalog_repeats_for_course in includes/db.inc
Figure out the maximum number of times this course can be repeated for credit, based on what is stored in the course catalog.
fp_get_module_details in includes/misc.inc
Simply returns the module's row from the modules table, if it exists.
fp_get_permissions_for_role in includes/db.inc
fp_get_system_settings in includes/db.inc
fp_load_user in includes/db.inc
Returns back a user object for this user_id. If the user is not found in the users table, it will return NULL. If the user_id requested is 0, the anonymous user object is returned.
fp_rebuild_modules_list in includes/db.inc
Re-query the modules table and re-add to our global array.
hook_apply_draft_changes in includes/hook.api.php
Allows modules to execute code when the admin user has chose to "apply draft changes".
hook_clear_cache in includes/hook.api.php
Allows each module to perform actions when the cache is cleared.
hook_install in includes/hook.api.php
This hook will be executed the first time a module is enabled in the system.
hook_submit in includes/hook.api.php
Handle submissions from the Form API
hook_uninstall in 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_update in includes/hook.api.php
Handle needed database updates when user updates a module.
install_perform_install in ./install.php
Actually performs the installation of FlightPath
menu_get_item in includes/menu.inc
Figure out which menu_router path matches the supplied path and return it.
menu_get_items_beginning_with in 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_items_in_tab_family in includes/menu.inc
menu_get_menu_router_item_from_db in includes/menu.inc
Return array from menu_router for this item. *
menu_rebuild_cache in includes/menu.inc
Go through all installed modules and rebuild the menu_router table, based on each module's hook_menu function.
stats_draw_catalog_year_pulldown in modules/stats/stats.module
Return the HTML for a pulldown containing the catalog years available for selection.
stats_draw_majors_pulldown in modules/stats/stats.module
Display a major selection pulldown, used by other reports.
stats_get_log_count in modules/stats/stats.module
Used by the use_summary report. This function will simply return log counts for the specified parameters in the watchdog table.
stats_report_access_stats in modules/stats/stats.module
This report shows recent activity in FlightPath. It can also be used to see if anyone is "online" in that they would have activity less than 5 minutes old.
stats_report_advisor_use in modules/stats/stats.module
This report shows which advisors are using FlightPath most often.
stats_report_course_use_summary in modules/stats/stats.module
This report will display everywhere a particular course is used in FlightPath (groups and degrees)
stats_report_major_counts in modules/stats/stats.module
This report shows how many students are in each major.
student_search_display_majors_search in modules/student_search/student_search.module
Display the majors search sub-tab, where we can select a major and see the students assigned to it.
student_search_query_advisees in modules/student_search/student_search.module
Accepts the SQL, plus an array of parameters compatible with our PDO set up. ex: $params[":name"] = "Bob" and $sql = " SELECT * where name = :name";
system_confirm_db_updates_form_submit in modules/system/system.module
Perform the actual hook_update calls here, send the user to a completed page.
system_cron in modules/system/system.module
Implementation of hook_cron
system_disable_module in modules/system/system.module
Handles the disabling of the module in question.
system_enable in modules/system/system.install
Implementation of hook_enable.
system_enable_module in modules/system/system.module
Handles the enabling (and possible installation) of module.
system_get_roles_for_user in modules/system/system.module
Return an array containing the roles which have been assigned to a specific user.
system_handle_uninstall_module in modules/system/system.module
Called from the menu (ie, a URL) this function will uninstall a module.
system_install in modules/system/system.install
Implementation of hook_install.
system_login_form_validate in modules/system/system.module
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_modules_form in modules/system/system.module
This is the form which an admin may use to manage the modules in the system.
system_school_data_form in modules/system/system.module
This form is for the school-data, like subject code descriptions, colleges, etc.
system_school_data_form_validate in modules/system/system.module
Validate handler for the school_data_form.
system_update in modules/system/system.install
user_display_student_users in modules/user/user.module
Similar to user_display_users, except only for student users.
user_display_users in modules/user/user.module
Display our list of faculty/staff users in the system.
user_edit_student_user_form in modules/user/user.student.inc
Let the user edit a studentuser's information.
user_edit_student_user_form_submit in modules/user/user.student.inc
Submit handler for editing student users.
user_edit_student_user_form_validate in modules/user/user.student.inc
Validate handler for editing student users.
user_edit_user_advisees_form in modules/user/user.module
This form lets us populate the advisor_student table
user_edit_user_advisees_form_submit in modules/user/user.module
Save to the advisor_student table
user_edit_user_form in modules/user/user.module
Let the user edit a user's roles and other information.
user_edit_user_form_submit in modules/user/user.module
Submit handler for our edit faculty form
user_edit_user_form_validate in modules/user/user.module
Validate handler for editing faculty users.
user_get_role_name in modules/user/user.module
Simple function to return the human-readable name for a role, by rid.
user_permissions_form in modules/user/user.module
This is the permissions form, where users can set which roles have which permissions.
user_permissions_form_submit in modules/user/user.module
Submit handler for the permissions form.
user_student_edit_student_courses_form in modules/user/user.student.inc
This is the form which we will use to manage a student's courses they've taken.
user_student_edit_student_courses_form_submit in modules/user/user.student.inc
user_student_edit_student_courses_form_validate in modules/user/user.student.inc
user_user_roles_form in modules/user/user.module
This form allows the user to manage the roles in the system.
user_user_roles_form_submit in modules/user/user.module
variable_get in includes/db.inc
Get a variable from the database. We will first look in our GLOBALS array, to see that it hasn't already been retrieved this page load.
variable_set in includes/db.inc
Set a variable value, so we can retrieve it later on.
watchdog in includes/db.inc
Add a log entry to the watchdog (log) table.
z__stats_report_selected_degree_options in modules/stats/stats.module
This report will show which degree options are being selected for degrees which offer options.
z___admin_handle_edit_degree_submit in modules/admin/admin.degrees.inc
_DatabaseHandler::duplicate_advising_session in classes/_DatabaseHandler.php
Given an advising_session_id, create a duplicate of it as a new session_id (and return the new session_id).
_DegreePlan::get_available_tracks in classes/_DegreePlan.php
Returns a simple array with values seperated by " ~~ " in this order: track_code ~~ track_title ~~ trackDesc ~~ track's degree id
_DegreePlan::load_degree_plan_ancillary in classes/_DegreePlan.php
Loads the "ancillary" information about our degree plan, including advising weight, track selection config, etc.
_FlightPath::load_advising_session_from_database in classes/_FlightPath.php
_FlightPath::save_advising_session_from_post in classes/_FlightPath.php
_Group::load_descriptive_data in classes/_Group.php
_Group::load_group in classes/_Group.php
_Group::replace_missing_course in classes/_Group.php
_Student::load_test_scores in classes/_Student.php
_Student::load_unassignments in classes/_Student.php