Functions

Primary tabs

Contains filters are case sensitive
Name Locationsort descending Description
flightpath_is_cli ./cli.php Returns TRUE or FALSE if we are in CLI mode. Borrowed code from Drupal 7: https://api.drupal.org/api/drupal/includes!bootstrap.inc/function/drupal...
example_helper_init custom/modules/example_helper/example_helper.module Implementation of "hook_init".
example_helper_menu custom/modules/example_helper/example_helper.module Implementation of hook_menu
example_helper_display_hello_world_page custom/modules/example_helper/example_helper.module Display our Hello World page to the user.
watchdog includes/db.inc Add a log entry to the watchdog (log) table.
fp_get_max_catalog_repeats_for_course 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.
pager_query includes/db.inc Code adapted from Drupal 6: https://api.drupal.org/api/drupal/includes%21pager.inc/function/pager_qu...
db_query_range includes/db.inc Adds a simple LIMIT statement to a query. Adapted from Drupal 6: https://api.drupal.org/api/drupal/includes%21database.mysql.inc/function...
fp_get_degree_major_code includes/db.inc Returns the major code for a given degree_id
fp_get_degree_advising_weight includes/db.inc
fp_get_degree_title includes/db.inc Quick method to look up title for a degree.
fp_get_faculty_name includes/db.inc Returns the faculty member's name based on the ID provided.
fp_load_user 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_get_user_timezone includes/db.inc Returns back the timezone for this user, if selected. If not, we return back the system timezone.
db_get_user_id 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 includes/db.inc
db_get_user_id_from_email includes/db.inc
fp_get_student_majors includes/db.inc Return back the codes or records for a student's degrees, based on what is in the student_degrees table (thanks to system.module), as well as what we get from hooks.
fp_get_student_name includes/db.inc
fp_get_student_email includes/db.inc
fp_get_permissions_for_role includes/db.inc
db_result includes/db.inc Returns back the first result from a resource_handler.
db_insert_id includes/db.inc
db_get_user_settings includes/db.inc Return the array from the user_settings table.
db_get_user_setting includes/db.inc Return a specific setting's value, based on the var_name given.
db_set_user_setting includes/db.inc
db_query includes/db.inc
db_fetch_array includes/db.inc
db_fetch_object includes/db.inc
db_num_rows includes/db.inc
db_affected_rows includes/db.inc
db_table_exists includes/db.inc Returns TRUE if the table specified exists or not.
variable_get 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 includes/db.inc Set a variable value, so we can retrieve it later on.
fp_rebuild_modules_list includes/db.inc Re-query the modules table and re-add to our global array.
db_get_school_id_for_student_id includes/db.inc
variable_exists includes/db.inc Returns TRUE or FALSE if the variable exists in the variables table.
variable_get_for_school includes/db.inc Get a value for a particular school. if bool_ignore_override is TRUE, then we won't worry if it's being overwritten or not.
variable_delete includes/db.inc Remove a variable entirely from the table
z__fp_get_system_settings includes/db.inc
db_get_cwid_from_user_id includes/db.inc
get_global_database_handler includes/db.inc This method will return a globally-set DatabaseHandler object, creating it if it does not already exist. This is for efficiency reasons, so every module or method does not need to keep creating databasehandler objects (and re-connecting to the database).
db_get_user_id_from_user_name includes/db.inc
fp_get_faculty_email includes/db.inc
db_get_school_id_for_user_id includes/db.inc
hook_get_user_image_url includes/hook.api.php This accepts a CWID (student_id or faculty_id), and returns back a URL to the user's image, or FALSE if it cannot find one.
hook_user_menu_links_alter includes/hook.api.php This hook allows you to alter the links which appear under the user menu pulldown, in the top-right of the screen.
hook_form_alter includes/hook.api.php Alter forms which are created using the Form API
fpl_reports_stats_additional_menublocks includes/hook.api.php Used by the stats module, this will ask other modules to return an array of paths suitable for the fp_render_menu_block() function. In other words, the paths should be the **beginning** of the paths of your custom reports or other links which you…
hook_alter_student_profile_items includes/hook.api.php This hook is called before displaying the student profile box (which appears at the top of the screen on the profile page, as well as other tabs. If bool_mini is set to TRUE, then it means we are showing an abbreviated display, like on the Degree…

Pages