Functions

Primary tabs

Contains filters are case sensitive
Namesort ascending Location Description
fp_debug_ct includes/misc.inc Shortcut to fp_debug_current_time_millis()
fp_clear_cache includes/misc.inc Call all modules which implement hook_clear_cache
fp_build_tab_array includes/theme.inc Looks at the current page array and returns a valid $tab_array Meant for the top of the screen.
fp_build_sub_tab_array includes/theme.inc Create a "sub-tab" array, which looks like a standard tab_array, but it contains only this page's sub-tab siblings.
fp_add_message includes/misc.inc Add a "message" to the top of the screen. Useful for short messages like "You have been logged out" or "Form submitted successfully."
fp_add_js includes/misc.inc Add extra javascript to the page.
fp_add_css includes/misc.inc Add an extra CSS file to the page with this function. Ex: fp_add_css(fp_get_module_path("admin") . '/css/admin.css');
fp_add_body_class includes/misc.inc Add a CSS class to the body tag of the page. Useful for themeing later on.
fpm includes/misc.inc Uses fp_add_message, but in this case, it also adds in the filename and line number which the message came from!
form_has_errors includes/forms.inc Returns TRUE or FALSE if there have been errors for this form submission (We will just look in the SESSION to find out).
form_field_sort_compare_by_weight includes/forms.inc This function is meant to be used by the uasort command, to help re-order a form array based on each element's weight value. If weight is blank, it is assumed to be 0 (zero).
form_error includes/forms.inc Register a form_error in the SESSION.
form_basic_validate includes/forms.inc This is a very basic valiator for form API submission. All I really care about is making sure required fields have a value in them. If they do not, we will file a form_error.
format_date includes/theme.inc Format a timestamp using the date command. TODO: Make the formats something which can be controlled through the settings.
filter_xss_split includes/misc.inc Like the filter_xss function, this is taken from D7's _filter_xss_split function
filter_xss_bad_protocol includes/misc.inc
filter_xss_attributes includes/misc.inc
filter_xss includes/misc.inc This function is taken almost directly from Drupal 7's core code. It is used to help us filter out dangerous HTML which the user might type. From the D7 documentation:
filter_markup includes/misc.inc Filter HTML, allowing only certain tags, and removing dangerous attributes.
example_helper_menu custom/modules/example_helper/example_helper.module Implementation of hook_menu
example_helper_init custom/modules/example_helper/example_helper.module Implementation of "hook_init".
example_helper_display_hello_world_page custom/modules/example_helper/example_helper.module Display our Hello World page to the user.
display_not_found includes/theme.inc
display_access_denied includes/theme.inc
depricated_message includes/misc.inc Displays a depricated message on screen. Useful for tracking down when depricated functions are being used.
db_table_exists includes/db.inc Returns TRUE if the table specified exists or not.
db_set_user_setting includes/db.inc
db_result includes/db.inc Returns back the first result from a resource_handler.
db_query includes/db.inc
db_num_rows includes/db.inc
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_get_user_id_from_cwid includes/db.inc
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_fetch_object includes/db.inc
db_fetch_array includes/db.inc
db_affected_rows includes/db.inc
csv_to_array includes/misc.inc Simple function to split a basic CSV string, trim all elements, then return the resulting array.
course_search_upload_attachment modules/course_search/course_search.edit.inc
course_search_settings_form modules/course_search/course_search.module The system settins form for course_search settings.
course_search_perm modules/course_search/course_search.module
course_search_menu modules/course_search/course_search.module
course_search_install modules/course_search/course_search.install Implementation of hook_install
course_search_get_offering_csv modules/course_search/course_search.edit.inc
course_search_get_course_syllabus_details modules/course_search/course_search.module
course_search_get_course_rotation_schedule_not_anticipated modules/course_search/course_search.module
course_search_get_course_rotation_schedule modules/course_search/course_search.module
course_search_edit_course_details_form_submit modules/course_search/course_search.edit.inc
course_search_edit_course_details_form modules/course_search/course_search.edit.inc This form lets the user edit the course's syllabus or rotation schedule

Pages