47 calls to db_result()

admin_edit_degree_form_submit in modules/admin/admin.degrees.inc
alerts_get_alert_count_by_type in modules/alerts/alerts.module
Implements hook_get_count_for_alert_type
calendar_find_and_remind_notify_upcoming_appointments in modules/calendar/calendar.module
This function will find appointments approaching within X number of minutes, and send out notifications to all involved.
content_add_new_uploaded_file in modules/content/content.module
bool_replace_existing means should we replace an existing file (based on filename) with this new one? Instead of creating an INSERT, that is.
content_get_last_access in modules/content/content.module
Returns the timestamp of last access, or ZERO if never accessed
course_search_get_course_capacity in modules/course_search/course_search.module
DatabaseHandler::get_school_id_for_course_id in classes/DatabaseHandler.php
DatabaseHandler::get_school_id_for_degree_id in classes/DatabaseHandler.php
DatabaseHandler::get_school_id_for_faculty_id in classes/DatabaseHandler.php
DatabaseHandler::get_school_id_for_group_id in classes/DatabaseHandler.php
DatabaseHandler::get_school_id_for_student_id in classes/DatabaseHandler.php
DatabaseHandler::get_school_id_for_transfer_course_id in classes/DatabaseHandler.php
DatabaseHandler::get_school_id_for_user_id in classes/DatabaseHandler.php
db_get_cwid_from_user_id in includes/db.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_get_user_id_from_email in includes/db.inc
db_get_user_id_from_user_name in includes/db.inc
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
engagements_can_send_sms_to_number in modules/engagements/engagements.module
engagements_display_main in modules/engagements/engagements.module
displays the main Engagements tab, which shows the history of past engagements.
engagements_get_alert_count_by_type in modules/engagements/engagements.module
Implements hook_get_count_for_alert_type
engagements_handle_incoming_sms in modules/engagements/engagements.module
This catches incoming sms messages from POST, but can also be used by our "sms_get_all_messages" function, but it is also used by the sms_get_all_messages to save/update information.
engagements_handle_sms_stop in modules/engagements/engagements.module
This function is called by engagements_handle_incoming_sms, when we receive 'STOP' from the user. We must add them to our "sms_do_not_txt" table, and send a reply letting them know how to re-subscribe in the future.
engagements_handle_sms_unstop in modules/engagements/engagements.module
User opted-IN to receiving txt messages.
engagements_mass_sms_perform_batch_operation in modules/engagements/engagements.module
engagements_sms_get_all_messages in modules/engagements/engagements.module
Retrieve all messages, update the ones which don't have prices associated with them yet.
fp_get_faculty_email in includes/db.inc
fp_get_student_email in includes/db.inc
hook_get_alert_count_by_type in includes/hook.api.php
This will allow modules to add to the "count" for alerts, that generally would trigger a notification badge on the bell at the top-right of the screen.
pager_query in includes/db.inc
Code adapted from Drupal 6: https://api.drupal.org/api/drupal/includes%21pager.inc/function/pager_qu...
prereqs_form_alter in modules/prereqs/prereqs.module
Implements hook_form_alter
prereqs_get_prereq_string_for_course in modules/prereqs/prereqs.module
Just gets whatever is in the database for this course.
schools_check_access in modules/schools/schools.module
this is our custom access callback.
schools_get_school_id_for_user in modules/schools/schools.module
schools_get_school_id_from_school_code in modules/schools/schools.module
Student::__construct in classes/Student.php
student_priority_get_academic_priority_value in modules/student_priority/student_priority.module
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.
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…
user_edit_student_user_form_validate in modules/user/user.student.inc
Validate handler for editing student users.
user_edit_user_form_validate in modules/user/user.module
Validate handler for editing faculty users.
user_get_attribute in modules/user/user.module
Very similar to variable_get
user_get_role_name in modules/user/user.module
Simple function to return the human-readable name for a role, by rid.
user_get_setting in modules/user/user.module
Very similar to variable_get
user_user_settings_form_submit in modules/user/user.module
Save values from our settings form into the user_settings table (or other tables), as appropriate.
variable_exists in includes/db.inc
Returns TRUE or FALSE if the variable exists in the variables table.
z__admin_display_watchdog in modules/admin/admin.module
Displays recent watchdog entries, from the watchdog table