Functions

Primary tabs

Contains filters are case sensitive
Name Locationsort descending Description
_password_generate_salt includes/password.inc Generates a random base 64-encoded salt prefixed with settings for the hash.
fp_random_bytes includes/password.inc
_password_enforce_log2_boundaries includes/password.inc Ensures that $count_log2 is within set bounds.
_password_crypt includes/password.inc Hash a password using a secure stretched hash.
_password_get_count_log2 includes/password.inc Parse the log2 iteration count from a stored hash or setting string.
user_hash_password includes/password.inc Hash a password using a secure hash.
user_check_password includes/password.inc Check whether a plain text password matches a stored hashed password.
user_needs_new_hash includes/password.inc
fp_render_content includes/render.inc This is very similar to fp_get_form / fp_render_form, except in this case we are being passed the completed "render_array", which already contains all of our elements. We will call hooks on it, sort by weights, and then return the rendered…
fp_render_array includes/render.inc This takes a render_array and generates the HTML for it. This usually is not called directly, but instead you should call fp_render_content() or fp_render_form()
fp_get_form includes/render.inc This function gets the form array, where the callback is the same as form_id. It will also look for modules which may want to alter the form, using hook_form_alter, and go ahead and apply that.
fp_render_form includes/render.inc Render the form array from the callback to the screen, and set the form to save itself in our default submit handler. Valid form_types are: "system_settings" => values automatically saved to variables table. "normal" or BLANK…
clear_session_form_values includes/render.inc Clear the form submissions variable from the SESSION for this callback.
form_basic_validate includes/render.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.
form_error includes/render.inc Register a form_error in the SESSION.
form_has_errors includes/render.inc Returns TRUE or FALSE if there have been errors for this form submission (We will just look in the SESSION to find out).
fp_render_element includes/render.inc Returns the HTML to render this form (or content) element to the screen. $name is the HTML machine name. $element is an array containing all we need to render it. If you want default values to be taken from the SESSION (because we had form_errors,…
convert_html_to_bbcode includes/theme.inc
convert_bbcode_to_html includes/theme.inc
format_date includes/theme.inc Format a timestamp using the date command. TODO: Make the formats something which can be controlled through the settings.
fp_render_menu_block includes/theme.inc Render a "menu" block of menu items which are all rooted at the menu_root. So if the menu root is tools, it might return items whose paths look like: tools/fun tools/here/there So long as the menu type is "MENU_TYPE_NORMAL_ITEM". …
fp_display_page includes/theme.inc Output the contents of the $page variable to the screen. $page is an array containing details about the page, as well as its original menu item (router_item) definition.
fp_show_title includes/theme.inc Sets whether the title should be shown on the page or not.
fp_render_c_fieldset includes/theme.inc This function will return the HTML to contruct a collapsible fieldset, complete with javascript and style tags.
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_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_render_currently_advising_box includes/theme.inc Draws the CurrentlyAdvisingBox which appears at the top of the screen, containing the student's information like name, major, etc.
fp_render_greeting includes/theme.inc This displays a friendly message to the user, and provides a logout link at the top.
fp_render_sub_tab_array includes/theme.inc Similar to render_tab_array.
fp_render_button includes/theme.inc Returns the HTML to draw a pretty button.
fp_render_mobile_tab_array includes/theme.inc
fp_render_tab_array includes/theme.inc Given a propperly formatted tab_array, this will return the HTML to draw it on a page.
display_not_found includes/theme.inc
display_access_denied includes/theme.inc
fp_theme_location includes/theme.inc Return the theme location
fp_render_curved_line includes/theme.inc Will draw a string in a pretty curved box. Used for displaying semester titles.
fp_render_square_line includes/theme.inc Will draw a string in a pretty square box. Used for displaying semester titles.
fp_render_menu_item includes/theme.inc
ppm includes/theme.inc Alias of pretty_print($var)
pretty_print includes/theme.inc
__autoload ./index.php This function makes sure we auto-load our classes, if we need to. Largely used when loading objects our of our SESSION cache.
install_get_settings_file_template ./install.php Returns a template for a new settings file.
install_perform_install ./install.php Actually performs the installation of FlightPath
install_display_lang_selection ./install.php
install_display_requirements ./install.php Displays the requirements on screen for the user.
install_display_db_form ./install.php Displays the form to let a user set up a new database
install_check_requirements ./install.php Check for missing requirements of the system.
admin_edit_course_form_submit modules/admin/admin.courses.inc
admin_edit_course_form modules/admin/admin.courses.inc This form lets the user edit details about a course.
admin_display_courses modules/admin/admin.courses.inc This function displays all of our courses for us to edit.

Pages