Functions
Search API
Primary tabs
Name | Location | Description |
---|---|---|
clear_session_form_values |
includes/ |
Clear the form submissions variable from the SESSION for this callback. |
form_basic_validate |
includes/ |
This is a very basic validator 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/ |
Register a form_error in the SESSION. |
form_has_errors |
includes/ |
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/ |
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,… |
theme_table_header_sortable |
includes/ |
Given an array of table headers (in the format listed below), returns back the HTML to draw it to the screen. This makes them clickable, to make the table header sortable. This is meant to be used with queries, by adding in an "ORDER BY"… |
theme_table_header_sortable_set_initial_sort |
includes/ |
Sets our initial sort, if there isn't already one set. |
theme_table_header_sortable_order_by |
includes/ |
Used with the theme_table_header_sortable function (meant to be called AFTER headers have been created.) |
theme_pager |
includes/ |
Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/theme_pa... |
pager_get_querystring |
includes/ |
Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/pager_ge... |
theme_pager_link |
includes/ |
Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/theme_pa... |
theme_pager_first |
includes/ |
Adapted from: https://api.drupal.org/api/drupal/includes%21pager.inc/function/theme_pa... |
theme_pager_last |
includes/ |
Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/theme_pa... |
theme_pager_next |
includes/ |
Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/theme_pa... |
theme_pager_previous |
includes/ |
Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/theme_pa... |
pager_load_array |
includes/ |
Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/pager_lo... |
format_date |
includes/ |
Format a timestamp using the date command. TODO: Make the formats something which can be controlled through the settings. |
fp_render_menu_block |
includes/ |
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" or… |
fp_display_page |
includes/ |
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_render_student_profile_header |
includes/ |
Returns the HTML for the "profile" header html for a student |
fp_render_breadcrumbs |
includes/ |
Return the HTML for breadcrumbs for the current page we are on. Will skip any breadcrumbs we do not have permission to access. |
fp_render_sidebar_left_content |
includes/ |
Returns the HTML for the left sidebar content. |
fp_render_mobile_hamburger_menu |
includes/ |
This will create the HTML content for the "mobile hamburger" menu, which appears when we press the 3 lines icon or "hamburger" icon on a mobile device. |
fp_render_top_nav_content |
includes/ |
Returns the HTML for the top navigation content of the screen itself. |
fp_show_title |
includes/ |
Sets whether the title should be shown on the page or not. |
fp_render_c_fieldset |
includes/ |
This function will return the HTML to contruct a collapsible fieldset, complete with javascript and style tags. |
fp_build_sub_tab_array |
includes/ |
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/ |
Looks at the current page array and returns a valid $tab_array Meant for the top of the screen. |
fp_render_sub_tab_array |
includes/ |
Similar to render_tab_array. |
fp_render_button |
includes/ |
Returns the HTML to draw a pretty button. |
fp_render_mobile_tab_array |
includes/ |
|
fp_render_tab_array |
includes/ |
Given a propperly formatted tab_array, this will return the HTML to draw it on a page. |
display_not_found |
includes/ |
|
display_access_denied |
includes/ |
|
fp_theme_location |
includes/ |
Return the theme location |
fp_render_curved_line |
includes/ |
Will draw a string in a pretty curved box. Used for displaying semester titles. |
fp_render_section_title |
includes/ |
|
fp_render_square_line |
includes/ |
Will draw a string in a pretty square box. Used for displaying semester titles. |
fp_render_menu_item |
includes/ |
|
ppm |
includes/ |
Alias of pretty_print($var) |
pretty_print |
includes/ |
|
fp_push_and_balance_profile_items |
includes/ |
This function accepts a "profile items" array by reference, which is presumed to have a "left_side" and a "right_side" already defined. We can "push" items onto it, and the item will automatically go to the… |
install_perform_install |
./ |
Actually performs the installation of FlightPath |
install_get_settings_file_template |
./ |
Returns a template for a new settings file. |
install_display_db_form |
./ |
Displays the form to let a user set up a new database |
install_check_requirements |
./ |
Check for missing requirements of the system. |
install_display_requirements |
./ |
Displays the requirements on screen for the user. |
install_display_lang_selection |
./ |
|
install_output_to_browser |
./ |
|
install_get_random_string |
./ |